react-native-hyperkyc-sdk 0.48.1 → 1.0.0
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
CHANGED
|
@@ -56,8 +56,10 @@ repositories {
|
|
|
56
56
|
dependencies {
|
|
57
57
|
//noinspection GradleDynamicVersion
|
|
58
58
|
implementation "com.facebook.react:react-native:+" // From node_modules
|
|
59
|
-
implementation('co.hyperverge:hyperkyc:0.
|
|
59
|
+
implementation('co.hyperverge:hyperkyc:1.0.0@aar', {
|
|
60
60
|
transitive = true
|
|
61
|
+
exclude group: 'co.hyperverge', module: 'hyperdocdetect'
|
|
62
|
+
exclude group: 'co.hyperverge', module: 'hypersnap-pdf'
|
|
61
63
|
})
|
|
62
64
|
|
|
63
65
|
}
|
|
@@ -181,7 +181,7 @@ public class HyperkycSdkModule extends ReactContextBaseJavaModule {
|
|
|
181
181
|
Boolean useLocation = kycConfig.hasKey("useLocation") ? kycConfig.getBoolean("useLocation") : null;
|
|
182
182
|
String uniqueId = kycConfig.hasKey("uniqueId") ? kycConfig.getString("uniqueId") : null;
|
|
183
183
|
Map<String, String> metadata = new HashMap<>();
|
|
184
|
-
metadata.put("sdk-version", "0.
|
|
184
|
+
metadata.put("sdk-version", "1.0.0");
|
|
185
185
|
metadata.put("sdk-type", "React Native");
|
|
186
186
|
if (accessToken == null) {
|
|
187
187
|
assert appId != null;
|
package/ios/HyperkycSdk.swift
CHANGED
|
@@ -45,7 +45,7 @@ class Hyperkyc: RCTEventEmitter {
|
|
|
45
45
|
let useLocation = _config["useLocation"] as? Bool
|
|
46
46
|
let uniqueId = _config["uniqueId"] as? String
|
|
47
47
|
let metadata: [String: String] = [
|
|
48
|
-
"sdk-version": "0.
|
|
48
|
+
"sdk-version": "1.0.0",
|
|
49
49
|
"sdk-type": "React Native"
|
|
50
50
|
]
|
|
51
51
|
|