@identomat-inc/react-native-identomat 1.1.13 → 1.1.14
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/android/build.gradle +1 -1
- package/ios/Identomat.swift +4 -3
- package/package.json +1 -1
- package/react-native-identomat.podspec +1 -1
- package/src/index.tsx +3 -3
package/android/build.gradle
CHANGED
|
@@ -99,6 +99,6 @@ dependencies {
|
|
|
99
99
|
//noinspection GradleDynamicVersion
|
|
100
100
|
implementation "com.facebook.react:react-native:+"
|
|
101
101
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
102
|
-
implementation 'com.identomat:identomat-sdk:1.1.
|
|
102
|
+
implementation 'com.identomat:identomat-sdk:1.1.125'
|
|
103
103
|
}
|
|
104
104
|
|
package/ios/Identomat.swift
CHANGED
|
@@ -15,7 +15,8 @@ class Identomat: NSObject, RCTBridgeModule{
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
var successCallback: RCTResponseSenderBlock? = nil;
|
|
18
|
-
|
|
18
|
+
var backButtonCallback: RCTResponseSenderBlock? = nil;
|
|
19
|
+
|
|
19
20
|
@objc
|
|
20
21
|
func start(_ sessionId : String) -> Void {
|
|
21
22
|
DispatchQueue.main.async {
|
|
@@ -61,9 +62,9 @@ class Identomat: NSObject, RCTBridgeModule{
|
|
|
61
62
|
}
|
|
62
63
|
@objc
|
|
63
64
|
func setBackButtonCallback(_ successCallback: @escaping RCTResponseSenderBlock){
|
|
64
|
-
self.
|
|
65
|
+
self.backButtonCallback = successCallback;
|
|
65
66
|
IdentomatManager.getInstance().backButtonCallBack {
|
|
66
|
-
self.
|
|
67
|
+
self.backButtonCallback!([NSNull(),"done"])
|
|
67
68
|
}
|
|
68
69
|
}
|
|
69
70
|
}
|
package/package.json
CHANGED
package/src/index.tsx
CHANGED
|
@@ -42,13 +42,13 @@ class Identomat {
|
|
|
42
42
|
if (baseUrl) IdentomatNative.setBaseUrl(baseUrl);
|
|
43
43
|
|
|
44
44
|
}
|
|
45
|
-
async setColors(colors:
|
|
45
|
+
async setColors(colors: Object) {
|
|
46
46
|
IdentomatNative.setColors(JSON.stringify(colors));
|
|
47
47
|
|
|
48
48
|
}
|
|
49
|
-
async setVariables(variables:
|
|
49
|
+
async setVariables(variables: Object) {
|
|
50
50
|
IdentomatNative.setVariables(JSON.stringify(variables));
|
|
51
|
-
}
|
|
51
|
+
}
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
|