RNEventEmitter.h 705 Bytes
Newer Older
yogevbd's avatar
WIP  
yogevbd committed
1
#import <React/RCTEventEmitter.h>
yogevbd's avatar
WIP  
yogevbd committed
2

yogevbd's avatar
WIP  
yogevbd committed
3 4
static NSString* const RNRegistered                     = @"remoteNotificationsRegistered";
static NSString* const RNRegistrationFailed             = @"remoteNotificationsRegistrationFailed";
yogevbd's avatar
WIP  
yogevbd committed
5 6 7
static NSString* const RNPushKitRegistered              = @"pushKitRegistered";
static NSString* const RNNotificationReceivedForeground = @"notificationReceivedForeground";
static NSString* const RNNotificationOpened             = @"notificationOpened";
yogevbd's avatar
yogevbd committed
8
static NSString* const RNPushKitNotificationReceived    = @"pushKitNotificationReceived";
yogevbd's avatar
WIP  
yogevbd committed
9

yogevbd's avatar
WIP  
yogevbd committed
10

yogevbd's avatar
WIP  
yogevbd committed
11
@interface RNEventEmitter : RCTEventEmitter <RCTBridgeModule>
yogevbd's avatar
WIP  
yogevbd committed
12 13 14 15

+ (void)sendEvent:(NSString *)event body:(NSDictionary *)body;

@end