react-native-hyperkyc-sdk 2.4.0 → 2.5.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.5.0@aar', {
|
|
60
60
|
transitive = true
|
|
61
61
|
exclude group: 'co.hyperverge', module: 'hyperdocdetect'
|
|
62
62
|
exclude group: 'co.hyperverge', module: 'hypersnap-pdf'
|
|
@@ -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", "2.
|
|
184
|
+
metadata.put("sdk-version", "2.5.0");
|
|
185
185
|
metadata.put("sdk-type", "React Native");
|
|
186
186
|
if (accessToken == null) {
|
|
187
187
|
assert appId != null;
|
|
@@ -248,4 +248,4 @@ public class HyperkycSdkModule extends ReactContextBaseJavaModule {
|
|
|
248
248
|
// Required for RN built-in EventEmitter support.
|
|
249
249
|
// Can be empty if we don't need per-event management.
|
|
250
250
|
}
|
|
251
|
-
}
|
|
251
|
+
}
|
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.5.0",
|
|
49
49
|
"sdk-type": "React Native"
|
|
50
50
|
]
|
|
51
51
|
|
|
@@ -138,4 +138,4 @@ class Hyperkyc: RCTEventEmitter {
|
|
|
138
138
|
// Can be empty if we don't need per-event management.
|
|
139
139
|
super.removeListeners(count)
|
|
140
140
|
}
|
|
141
|
-
}
|
|
141
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-hyperkyc-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "React Native wrapper for HyperKYC SDK",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -144,4 +144,4 @@
|
|
|
144
144
|
]
|
|
145
145
|
]
|
|
146
146
|
}
|
|
147
|
-
}
|
|
147
|
+
}
|
|
@@ -17,10 +17,10 @@ Pod::Spec.new do |s|
|
|
|
17
17
|
s.static_framework = true
|
|
18
18
|
|
|
19
19
|
s.dependency "React-Core"
|
|
20
|
-
s.dependency "HyperKYC", "0.
|
|
20
|
+
s.dependency "HyperKYC", "1.0.0"
|
|
21
21
|
# Need these lines to support HyperKYC framework
|
|
22
22
|
s.preserve_paths = 'HyperKYC.framework'
|
|
23
23
|
s.xcconfig = { 'OTHER_LDFLAGS' => '-framework HyperKYC' }
|
|
24
24
|
s.vendored_frameworks = 'HyperKYC.framework'
|
|
25
|
-
|
|
25
|
+
|
|
26
26
|
end
|