/*
 * Copyright © Dynamsoft Corporation. All rights reserved.
 */

#import <React/RCTBridgeModule.h>

@interface RCT_EXTERN_REMAP_MODULE(DynamsoftLicenseModule, RNDynamsoftLicense, NSObject)

RCT_EXTERN_METHOD(initLicense:(NSString *)license
                  resolve:(RCTPromiseResolveBlock)resolve
                  reject:(RCTPromiseRejectBlock)reject)

RCT_EXTERN_METHOD(setDeviceFriendlyName:(NSString *)name)

RCT_EXTERN_METHOD(getDeviceUUID:(RCTPromiseResolveBlock)resolve
                  reject:(RCTPromiseRejectBlock)reject)

@end
