// Copyright 2018-present 650 Industries. All rights reserved. #import #import #import #import #import NS_ASSUME_NONNULL_BEGIN @protocol EXNotificationCenterDelegate - (void)addDelegate:(id)delegate; - (void)removeDelegate:(id)delegate; - (nullable UNNotificationResponse *)lastNotificationResponse; - (void)setLastNotificationResponse:(nullable UNNotificationResponse *)response; @end @interface EXNotificationCenterDelegate : EXSingletonModule - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions; - (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler; - (void)userNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(UNNotificationPresentationOptions))completionHandler; - (void)userNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(void (^)(void))completionHandler; - (void)userNotificationCenter:(UNUserNotificationCenter *)center openSettingsForNotification:(nullable UNNotification *)notification; @property (nonatomic, strong, nullable) UNNotificationResponse *lastNotificationResponse; @end NS_ASSUME_NONNULL_END