Files
react-native-notifications/RNNotifications/RNNotificationEventHandler.h
yogevbd 6a3809abec WIP
2019-07-07 15:45:04 +03:00

14 lines
510 B
Objective-C

#import <Foundation/Foundation.h>
@import UserNotifications;
#import "RNNotificationsStore.h"
@interface RNNotificationEventHandler : NSObject
- (instancetype)initWithStore:(RNNotificationsStore *)store;
- (void)didReceiveForegroundPayload:(NSDictionary *)payload;
- (void)didOpenNotificationPayload:(NSDictionary *)payload;
- (void)handleActionWithIdentifier:(NSString *)identifier forPayload:(NSDictionary *)payload withResponse:(NSString *)response completionHandler:(void (^)())completionHandler;
@end