Skip to content

Commit f7aa090

Browse files
authored
Merge pull request #1002 from OneSignal/react_native_release_3.8.0
Release commit for React-Native 3.8.0
2 parents 7313795 + 29e1897 commit f7aa090

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies {
2424

2525
// api is used instead of implementation so the parent :app project can access any of the OneSignal Java
2626
// classes if needed. Such as com.onesignal.NotificationExtenderService
27-
api 'com.onesignal:OneSignal:3.13.2'
27+
api 'com.onesignal:OneSignal:3.14.1'
2828

2929
testImplementation 'junit:junit:4.12'
3030
}

ios/OneSignal.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ typedef NS_ENUM(NSUInteger, OSNotificationDisplayType) {
5959
/*Notification is silent, or app is in focus but InAppAlertNotifications are disabled*/
6060
OSNotificationDisplayTypeNone,
6161

62-
/*Default UIAlertView display*/
62+
/*Default UIAlertController display*/
6363
OSNotificationDisplayTypeInAppAlert,
6464

6565
/*iOS native notification display*/
@@ -210,13 +210,18 @@ typedef NS_ENUM(NSUInteger, OSNotificationDisplayType) {
210210
- (void)handleMessageAction:(OSInAppMessageAction * _Nonnull)action NS_SWIFT_NAME(handleMessageAction(action:));
211211
@end
212212

213-
/* OneSignal Session Types */
213+
/* OneSignal Influence Types */
214214
typedef NS_ENUM(NSUInteger, Session) {
215215
DIRECT,
216216
INDIRECT,
217217
UNATTRIBUTED,
218218
DISABLED
219219
};
220+
/* OneSignal Influence Channels */
221+
typedef NS_ENUM(NSUInteger, OSInfluenceChannel) {
222+
IN_APP_MESSAGE,
223+
NOTIFICATION,
224+
};
220225

221226
@interface OSOutcomeEvent : NSObject
222227

@@ -352,7 +357,6 @@ typedef void (^OSHandleInAppMessageActionClickBlock)(OSInAppMessageAction* actio
352357
/*Block for handling outcome event being sent successfully*/
353358
typedef void (^OSSendOutcomeSuccess)(OSOutcomeEvent* outcome);
354359

355-
356360
/*Dictionary of keys to pass alongside the init settings*/
357361

358362
/*Let OneSignal directly prompt for push notifications on init*/

ios/libOneSignal.a

2.31 MB
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-onesignal",
3-
"version": "3.7.3",
3+
"version": "3.8.0",
44
"description": "React Native OneSignal SDK",
55
"main": "index",
66
"scripts": {

react-native-onesignal.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ Pod::Spec.new do |s|
2222
# pod 'React', :path => '../node_modules/react-native/'
2323

2424
# The Native OneSignal-iOS-SDK from cocoapods.
25-
s.dependency 'OneSignal', '2.13.1'
25+
s.dependency 'OneSignal', '2.14.2'
2626
end

0 commit comments

Comments
 (0)