Skip to content

Commit 58f07d9

Browse files
committed
adding back NSE methods to OneSignal header
1 parent c773202 commit 58f07d9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

iOS_SDK/OneSignalSDK/Source/OneSignal.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,14 @@ typedef void (^OSUpdateExternalUserIdSuccessBlock)(NSDictionary *results);
592592
+ (void)sendUniqueOutcome:(NSString * _Nonnull)name onSuccess:(OSSendOutcomeSuccess _Nullable)success;
593593
+ (void)sendOutcomeWithValue:(NSString * _Nonnull)name value:(NSNumber * _Nonnull)value;
594594
+ (void)sendOutcomeWithValue:(NSString * _Nonnull)name value:(NSNumber * _Nonnull)value onSuccess:(OSSendOutcomeSuccess _Nullable)success;
595+
596+
#pragma mark Extension
597+
// iOS 10 only
598+
// Process from Notification Service Extension.
599+
// Used for iOS Media Attachemtns and Action Buttons.
600+
+ (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent __deprecated_msg("Please use didReceiveNotificationExtensionRequest:withMutableNotificationContent:withContentHandler: instead.");
601+
+ (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent withContentHandler:(void (^)(UNNotificationContent *_Nonnull))contentHandler;
602+
+ (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest* _Nonnull)request withMutableNotificationContent:(UNMutableNotificationContent* _Nullable)replacementContent;
595603
@end
596604

597605
#pragma clang diagnostic pop

0 commit comments

Comments
 (0)