#import <React/RCTViewManager.h>
#import <React/RCTBridgeModule.h>

@interface RCT_EXTERN_MODULE(LinkReactNativeSdkViewManager, RCTViewManager)

RCT_EXTERN_METHOD(onOpenURL: (NSString*) url)

RCT_EXPORT_VIEW_PROPERTY(sessionKey, NSString)
RCT_EXPORT_VIEW_PROPERTY(environment, NSString)
RCT_EXPORT_VIEW_PROPERTY(redirectUrl, NSString)
RCT_EXPORT_VIEW_PROPERTY(onSuccess, RCTBubblingEventBlock)
RCT_EXPORT_VIEW_PROPERTY(onFailure, RCTBubblingEventBlock)
RCT_EXPORT_VIEW_PROPERTY(onToggleBack, RCTBubblingEventBlock)
RCT_EXPORT_VIEW_PROPERTY(onBack, RCTBubblingEventBlock)

@end

