Skip to content

Commit

Permalink
Merge pull request #1002 from OneSignal/react_native_release_3.8.0
Browse files Browse the repository at this point in the history
Release commit for React-Native 3.8.0
  • Loading branch information
mikechoch authored Jun 12, 2020
2 parents 7313795 + 29e1897 commit f7aa090
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies {

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

testImplementation 'junit:junit:4.12'
}
Expand Down
10 changes: 7 additions & 3 deletions ios/OneSignal.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ typedef NS_ENUM(NSUInteger, OSNotificationDisplayType) {
/*Notification is silent, or app is in focus but InAppAlertNotifications are disabled*/
OSNotificationDisplayTypeNone,

/*Default UIAlertView display*/
/*Default UIAlertController display*/
OSNotificationDisplayTypeInAppAlert,

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

/* OneSignal Session Types */
/* OneSignal Influence Types */
typedef NS_ENUM(NSUInteger, Session) {
DIRECT,
INDIRECT,
UNATTRIBUTED,
DISABLED
};
/* OneSignal Influence Channels */
typedef NS_ENUM(NSUInteger, OSInfluenceChannel) {
IN_APP_MESSAGE,
NOTIFICATION,
};

@interface OSOutcomeEvent : NSObject

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


/*Dictionary of keys to pass alongside the init settings*/

/*Let OneSignal directly prompt for push notifications on init*/
Expand Down
Binary file modified ios/libOneSignal.a
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-onesignal",
"version": "3.7.3",
"version": "3.8.0",
"description": "React Native OneSignal SDK",
"main": "index",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion react-native-onesignal.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ Pod::Spec.new do |s|
# pod 'React', :path => '../node_modules/react-native/'

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

0 comments on commit f7aa090

Please sign in to comment.