mirror of
https://github.com/zhigang1992/react-native-notifications.git
synced 2026-06-14 01:54:58 +08:00
17 lines
656 B
Objective-C
17 lines
656 B
Objective-C
#import <Foundation/Foundation.h>
|
|
@import UserNotifications;
|
|
|
|
@interface RNNotificationsStore : NSObject
|
|
|
|
@property (nonatomic, retain) NSDictionary* initialNotification;
|
|
|
|
+ (instancetype)sharedInstance;
|
|
|
|
- (void)completeAction:(NSString *)completionKey;
|
|
- (void)completePresentation:(NSString *)completionKey withPresentationOptions:(UNNotificationPresentationOptions)presentationOptions;
|
|
- (void)setActionCompletionHandler:(void (^)())completionHandler withCompletionKey:(NSString *)completionKey;
|
|
- (void)setPresentationCompletionHandler:(void (^)(UNNotificationPresentationOptions))completionHandler withCompletionKey:(NSString *)completionKey;
|
|
|
|
|
|
@end
|