react-native-hyperkyc-sdk 2.8.0 → 2.9.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,7 +56,7 @@ repositories {
|
|
|
56
56
|
dependencies {
|
|
57
57
|
//noinspection GradleDynamicVersion
|
|
58
58
|
implementation "com.facebook.react:react-native:+" // From node_modules
|
|
59
|
-
implementation('co.hyperverge:hyperkyc:2.
|
|
59
|
+
implementation('co.hyperverge:hyperkyc:2.8.0@aar', {
|
|
60
60
|
transitive = true
|
|
61
61
|
exclude group: 'co.hyperverge', module: 'hyperdocdetect'
|
|
62
62
|
exclude group: 'co.hyperverge', module: 'hypersnap-pdf'
|
|
@@ -206,7 +206,7 @@ public class HyperkycSdkModule extends ReactContextBaseJavaModule {
|
|
|
206
206
|
Boolean useLocation = kycConfig.hasKey("useLocation") ? kycConfig.getBoolean("useLocation") : null;
|
|
207
207
|
String uniqueId = kycConfig.hasKey("uniqueId") ? kycConfig.getString("uniqueId") : null;
|
|
208
208
|
Map<String, String> metadata = new HashMap<>();
|
|
209
|
-
metadata.put("sdk-version", "2.
|
|
209
|
+
metadata.put("sdk-version", "2.9.0");
|
|
210
210
|
metadata.put("sdk-type", "React Native");
|
|
211
211
|
if (accessToken == null) {
|
|
212
212
|
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": "2.
|
|
48
|
+
"sdk-version": "2.9.0",
|
|
49
49
|
"sdk-type": "React Native"
|
|
50
50
|
]
|
|
51
51
|
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
|
|
|
17
17
|
s.static_framework = true
|
|
18
18
|
|
|
19
19
|
s.dependency "React-Core"
|
|
20
|
-
s.dependency "HyperKYC", "1.
|
|
20
|
+
s.dependency "HyperKYC", "1.4.1"
|
|
21
21
|
# Need these lines to support HyperKYC framework
|
|
22
22
|
s.preserve_paths = 'HyperKYC.framework'
|
|
23
23
|
s.xcconfig = { 'OTHER_LDFLAGS' => '-framework HyperKYC' }
|