#import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>
#import <RNCAsyncStorage/RNCAsyncStorage.h>


@interface RCT_EXTERN_MODULE(ReadyWallet, RCTEventEmitter)

RCT_EXTERN_METHOD(supportedEvents)

RCT_EXTERN_METHOD(getIsLaunch: (RCTPromiseResolveBlock)resolve
                 withRejecter:(RCTPromiseRejectBlock)reject
)

RCT_EXTERN_METHOD(sendPushDataEvent: (NSDictionary *)params)

RCT_EXPORT_METHOD(sendDeeplinkDataEvent:(NSDictionary *)params) {}

RCT_EXTERN_METHOD(getItem:(NSString *)key withResolve:(RCTPromiseResolveBlock)resolve
    withRejecter:(RCTPromiseRejectBlock)reject)

RCT_EXTERN_METHOD(setItem:(NSString *)key
                  value:(NSString *)value)

RCT_EXTERN_METHOD(openApp: (NSDictionary *)initProps)

RCT_EXTERN_METHOD(closeApp)

+ (BOOL)requiresMainQueueSetup
{
  return NO;
}


@end
