//
//  RNNotificationHandler.h
//  RNInsider
//
//  Created by Insider on 21.02.2019.
//  Copyright © 2019 Facebook. All rights reserved.
//

#if __has_include(<React/RCTBridgeModule.h>)
#import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>
#elif __has_include("RCTBridgeModule.h")
#import "RCTBridgeModule.h"
#import "RCTEventEmitter.h"
#endif

@interface RNNotificationHandler : RCTEventEmitter<RCTBridgeModule>

extern NSString * const NOTIFICATION_OPEN;
extern NSString * const INAPP_BUTTON_CLICK;
extern NSString * const TEMP_STORE_PURCHASE;
extern NSString * const TEMP_STORE_ADDED_TO_CART;
extern NSString * const TEMP_STORE_CUSTOM_ACTION;
extern NSString * const INAPP_SEEN;
extern NSString * const FOREGROUND_PUSH;
extern NSString * const INSIDER_ID_LISTENER;
extern NSString * const SESSION_STARTED;
extern NSString * const INSIDER_EVENT_RECORDED;

- (void)sendDataToJS:(NSString *)eventName data:(NSDictionary *)data;

@end
