@@ -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*/
324321typedef 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*/
327324typedef 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
0 commit comments