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

yogevbd's avatar
yogevbd committed
3 4 5 6 7 8
static NSString* const RNRegistered                  = @"remoteNotificationsRegistered";
static NSString* const RNRegistrationFailed          = @"remoteNotificationsRegistrationFailed";
static NSString* const RNPushKitRegistered           = @"pushKitRegistered";
static NSString* const RNNotificationReceived        = @"notificationReceived";
static NSString* const RNNotificationOpened          = @"notificationOpened";
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