Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release commit for React-Native 3.8.0 #1002

Merged
merged 1 commit into from
Jun 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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