Skip to content

Commit 13b2715

Browse files
committed
Release commit 3.3.2
* Updated to OneSignal-iOS-SDK 2.10.1 * Updated to OneSignal-Android-SDK 3.11.2
1 parent 59925fa commit 13b2715

File tree

7 files changed

+12
-7
lines changed

7 files changed

+12
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ For account issues and support please contact OneSignal support from the [OneSig
2323
To make things easier, we have published demo projects in the `/examples` folder of this repository.
2424

2525
#### Supports:
26-
* Tested from iOS 7 to iOS 12.3
26+
* Tested from iOS 7 to iOS 13
2727
* Tested from Android 4.0.3 (API level 15) to Android 9 (28)

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.11.1'
27+
api 'com.onesignal:OneSignal:3.11.2'
2828

2929
testImplementation 'junit:junit:4.12'
3030
}

examples/CocoapodsDemo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
"expokit": "1.7.1",
1414
"react": "16.3.1",
1515
"react-native": "https://github.com/expo/react-native/archive/sdk-30.0.0.tar.gz",
16-
"react-native-onesignal": "3.3.1"
16+
"react-native-onesignal": "3.3.2"
1717
}
1818
}

examples/RNOneSignal/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"dependencies": {
1010
"react": "16.8.3",
1111
"react-native": "0.59.5",
12-
"react-native-onesignal": "^3.3.1"
12+
"react-native-onesignal": "^3.3.2"
1313
},
1414
"devDependencies": {
1515
"@babel/core": "^7.4.4",

ios/OneSignal.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,11 @@ typedef NS_ENUM(NSUInteger, OSNotificationDisplayType) {
152152
/* iOS 10+ : Groups notifications into threads */
153153
@property(readonly)NSString *threadId;
154154

155+
/* Parses an APS push payload into a OSNotificationPayload object.
156+
Useful to call from your NotificationServiceExtension when the
157+
didReceiveNotificationRequest:withContentHandler: method fires. */
158+
+(instancetype)parseWithApns:(nonnull NSDictionary*)message;
159+
155160
@end
156161

157162
// ## OneSignal OSNotification
@@ -474,4 +479,4 @@ typedef void (^OSEmailSuccessBlock)();
474479

475480
@end
476481

477-
#pragma clang diagnostic pop
482+
#pragma clang diagnostic pop

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.3.1",
3+
"version": "3.3.2",
44
"description": "React Native OneSignal Component",
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.10.0'
25+
s.dependency 'OneSignal', '2.10.1'
2626
end

0 commit comments

Comments
 (0)