Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
rndemo - native bridge implementation
#import <React/RCTBridgeModule.h>
@interface RCT_EXTERN_MODULE(Approov, NSObject)
RCT_EXTERN_METHOD(fetchApproovToken:(NSString *)url
resolver:(RCTPromiseResolveBlock)resolve
rejecter:(RCTPromiseRejectBlock)reject
)
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment