facia-mobilesdk 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ios/MobilesdkModule.m +9 -1
- package/package.json +1 -1
package/ios/MobilesdkModule.m
CHANGED
|
@@ -16,7 +16,7 @@ RCT_EXPORT_METHOD(testMethod:(NSString *)name location:(NSString *)location)
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
// RCT_EXPORT_METHOD(verify:(NSString *)request auth:(NSString *)auth config:(NSString *)config callback: (RCTResponseSenderBlock) callback)
|
|
19
|
-
RCT_EXPORT_METHOD(
|
|
19
|
+
RCT_EXPORT_METHOD(verify:(NSString *)documentType config:(NSString *)config callback: (RCTResponseSenderBlock) callback)
|
|
20
20
|
{
|
|
21
21
|
|
|
22
22
|
Facia *facia = [[Facia alloc] init];
|
|
@@ -43,6 +43,14 @@ RCT_EXPORT_METHOD(verifyWithPrefix:(NSString *)documentType config:(NSString *)c
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
|
|
46
|
+
|
|
47
|
+
RCT_EXPORT_METHOD(verifys:(NSString *)request auth:(NSString *)auth config:(NSString *)config callback: (RCTResponseSenderBlock) callback)
|
|
48
|
+
{
|
|
49
|
+
NSLog(@"Method Check %@");
|
|
50
|
+
printf("helloBoy");
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
|
|
46
54
|
- (NSDictionary *)parseJSONString:(NSString *)jsonString {
|
|
47
55
|
NSData *jsonData = [jsonString dataUsingEncoding:NSUTF8StringEncoding];
|
|
48
56
|
|