Skip to content

Commit 8343b82

Browse files
committed
3.4.2 Release commit
1 parent b30818e commit 8343b82

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

examples/RNOneSignal/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"dependencies": {
1111
"react": "16.8.6",
1212
"react-native": "0.60.5",
13-
"react-native-onesignal": "^3.4.1"
13+
"react-native-onesignal": "^3.4.2"
1414
},
1515
"devDependencies": {
1616
"@babel/core": "^7.5.5",

ios/OneSignal.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ typedef NS_ENUM(NSUInteger, OSNotificationDisplayType) {
148148
@property(readonly)NSString* subtitle;
149149
@property(readonly)NSString* body;
150150

151-
/* Web address to launch within the app via a UIWebView */
151+
/* Web address to launch within the app via a WKWebView */
152152
@property(readonly)NSString* launchURL;
153153

154154
/* Additional key value properties set within the payload */
@@ -170,7 +170,7 @@ typedef NS_ENUM(NSUInteger, OSNotificationDisplayType) {
170170
/* Parses an APS push payload into a OSNotificationPayload object.
171171
Useful to call from your NotificationServiceExtension when the
172172
didReceiveNotificationRequest:withContentHandler: method fires. */
173-
+(instancetype)parseWithApns:(nonnull NSDictionary*)message;
173+
+ (instancetype)parseWithApns:(nonnull NSDictionary*)message;
174174

175175
@end
176176

@@ -230,9 +230,6 @@ typedef NS_ENUM(NSInteger, OSNotificationPermission) {
230230
OSNotificationPermissionProvisional
231231
};
232232

233-
typedef void (^OSNotificationDisplayTypeResponse)(OSNotificationDisplayType displayType);
234-
235-
236233
// Permission Classes
237234
@interface OSPermissionState : NSObject
238235

@@ -323,7 +320,7 @@ typedef void (^OSHandleNotificationReceivedBlock)(OSNotification* notification);
323320
/*Block for handling a user reaction to a notification*/
324321
typedef void (^OSHandleNotificationActionBlock)(OSNotificationOpenedResult * result);
325322

326-
/*Block for hanlding user click on an in app message*/
323+
/*Block for handling user click on an in app message*/
327324
typedef void (^OSHandleInAppMessageActionClickBlock)(OSInAppMessageAction* action);
328325

329326
/*Dictionary of keys to pass alongside the init settings*/
@@ -445,6 +442,7 @@ typedef NS_ENUM(NSUInteger, ONE_S_LOG_LEVEL) {
445442
// - Request and track user's location
446443
+ (void)promptLocation;
447444
+ (void)setLocationShared:(BOOL)enable;
445+
+ (BOOL)isLocationShared;
448446

449447

450448
// Only used for wrapping SDKs, such as Unity, Cordova, Xamarin, etc.
@@ -488,6 +486,7 @@ typedef void (^OSEmailSuccessBlock)();
488486
+ (void)removeTriggersForKeys:(NSArray<NSString *> * _Nonnull)keys;
489487
+ (NSDictionary<NSString *, id> * _Nonnull)getTriggers;
490488
+ (id _Nullable)getTriggerValueForKey:(NSString * _Nonnull)key;
489+
491490
+ (void)setExternalUserId:(NSString * _Nonnull)externalId;
492491
+ (void)removeExternalUserId;
493492

ios/libOneSignal.a

-408 KB
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.4.1",
3+
"version": "3.4.2",
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.11.0'
25+
s.dependency 'OneSignal', '2.11.2'
2626
end

0 commit comments

Comments
 (0)