1 // Copyright 2018-present 650 Industries. All rights reserved. 2 3 #import <Foundation/Foundation.h> 4 #import <UIKit/UIKit.h> 5 #import <UserNotifications/UserNotifications.h> 6 7 NS_ASSUME_NONNULL_BEGIN 8 9 @protocol EXNotificationsDelegate <NSObject> 10 11 @optional 12 13 # pragma mark - UIApplicationDelegate 14 15 - (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler; 16 17 # pragma mark - UNUserNotificationCenterDelegate 18 19 - (void)userNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(UNNotificationPresentationOptions))completionHandler; 20 21 - (void)userNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(void (^)(void))completionHandler; 22 23 - (void)userNotificationCenter:(UNUserNotificationCenter *)center openSettingsForNotification:(UNNotification *)notification; 24 25 @end 26 27 NS_ASSUME_NONNULL_END 28