Skip to content

Commit 1a2b961

Browse files
committed
OneSignalUNUserNotificationCenterHelper warnings
Fix missing selector warns in this file from the last commit since.
1 parent e646a9f commit 1a2b961

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

iOS_SDK/OneSignalSDK/Source/UNUserNotificationCenter+OneSignal.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,19 @@
3636
+ (void)swizzleSelectorsOnDelegate:(id)delegate;
3737
+ (void)registerDelegate;
3838
+ (void)setUseiOS10_2_workaround:(BOOL)enable;
39+
40+
// Our named swizzling methods on UNNotificationCenter
41+
- (void)setOneSignalUNDelegate:(id)delegate;
42+
- (void)onesignalGetNotificationSettingsWithCompletionHandler:(void(^)(UNNotificationSettings *settings))completionHandler;
43+
- (void)onesignalRequestAuthorizationWithOptions:(UNAuthorizationOptions)options completionHandler:(void (^)(BOOL granted, NSError *__nullable error))completionHandler;
44+
45+
// Our named swizzling methods on UNNotificationCenterDelegate
46+
- (void)onesignalUserNotificationCenter:(UNUserNotificationCenter *)center
47+
willPresentNotification:(UNNotification *)notification
48+
withCompletionHandler:(void (^)(UNNotificationPresentationOptions options))completionHandler;
49+
- (void)onesignalUserNotificationCenter:(UNUserNotificationCenter *)center
50+
didReceiveNotificationResponse:(UNNotificationResponse *)response
51+
withCompletionHandler:(void(^)())completionHandler;
3952
@end
4053

4154

0 commit comments

Comments
 (0)