accurascan_kyc 1.2.7 → 1.2.9
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/accurascan-kyc.podspec
CHANGED
|
@@ -22,7 +22,8 @@ Pod::Spec.new do |s|
|
|
|
22
22
|
s.dependency "React-Core"
|
|
23
23
|
s.static_framework = true
|
|
24
24
|
# s.dependency "AccuraKYC","4.0.2"
|
|
25
|
-
s.dependency "
|
|
25
|
+
# s.dependency "AccuraKYC","4.0.4"
|
|
26
|
+
s.dependency 'AccuraKYC_Sim', '4.0.9'
|
|
26
27
|
# Don't install the dependencies when we run `pod install` in the old architecture.
|
|
27
28
|
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
|
|
28
29
|
s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
|
package/android/build.gradle
CHANGED
|
@@ -61,19 +61,19 @@ android {
|
|
|
61
61
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
64
|
+
packagingOptions {
|
|
65
|
+
pickFirst 'lib/arm64-v8a/libcrypto.so'
|
|
66
|
+
pickFirst 'lib/arm64-v8a/libssl.so'
|
|
67
|
+
|
|
68
|
+
pickFirst 'lib/armeabi-v7a/libcrypto.so'
|
|
69
|
+
pickFirst 'lib/armeabi-v7a/libssl.so'
|
|
70
|
+
|
|
71
|
+
pickFirst 'lib/x86/libcrypto.so'
|
|
72
|
+
pickFirst 'lib/x86/libssl.so'
|
|
73
|
+
|
|
74
|
+
pickFirst 'lib/x86_64/libcrypto.so'
|
|
75
|
+
pickFirst 'lib/x86_64/libssl.so'
|
|
76
|
+
}
|
|
77
77
|
splits {
|
|
78
78
|
abi {
|
|
79
79
|
reset()
|
|
@@ -97,14 +97,14 @@ dependencies {
|
|
|
97
97
|
//noinspection GradleDynamicVersion
|
|
98
98
|
implementation "com.facebook.react:react-native:+"
|
|
99
99
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
100
|
+
implementation 'androidx.appcompat:appcompat:1.6.0'
|
|
101
|
+
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
102
|
+
// Update OCR
|
|
103
|
+
implementation 'com.github.accurascan:AccuraOCR:6.1.3'
|
|
104
|
+
// FaceMatch has no issue
|
|
105
|
+
implementation 'com.github.accurascan:AccuraFaceMatch:3.2.5'
|
|
106
|
+
// Update Liveness
|
|
107
|
+
implementation 'com.github.accurascan:Liveness-Android:3.3.1.1'
|
|
108
108
|
implementation 'com.squareup.picasso:picasso:2.71828'
|
|
109
109
|
}
|
|
110
110
|
|
package/ios/AccurascanKyc.swift
CHANGED
|
@@ -147,6 +147,7 @@ class AccurascanKyc: NSObject {
|
|
|
147
147
|
func getMetaData(_ callback: @escaping RCTResponseSenderBlock) {
|
|
148
148
|
self.goNativeCallBack = callback
|
|
149
149
|
var results:[String: Any] = [:]
|
|
150
|
+
isDynamic = false
|
|
150
151
|
results["isValid"] = false
|
|
151
152
|
accuraCameraWrapper = AccuraCameraWrapper.init()
|
|
152
153
|
// DispatchQueue.main.async {
|
|
@@ -230,8 +231,8 @@ class AccurascanKyc: NSObject {
|
|
|
230
231
|
self.goNativeCallBack?([ AccurascanKyc.convertJSONString(results: results),NSNull()])
|
|
231
232
|
return
|
|
232
233
|
}
|
|
233
|
-
LicenseAbsoultPath = configs["licensePath"] as
|
|
234
|
-
FaceLicenseAbsoultPath = configs["faceLicensePath"] as
|
|
234
|
+
LicenseAbsoultPath = configs["licensePath"] as? String ?? ""
|
|
235
|
+
FaceLicenseAbsoultPath = configs["faceLicensePath"] as? String ?? ""
|
|
235
236
|
|
|
236
237
|
accuraCameraWrapper = AccuraCameraWrapper.init()
|
|
237
238
|
// DispatchQueue.main.async {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "accurascan_kyc",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.9",
|
|
4
4
|
"description": "Accura Scan",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -84,7 +84,6 @@
|
|
|
84
84
|
"engines": {
|
|
85
85
|
"node": ">= 10.0.0"
|
|
86
86
|
},
|
|
87
|
-
"packageManager": "^yarn@1.22.15",
|
|
88
87
|
"jest": {
|
|
89
88
|
"preset": "react-native",
|
|
90
89
|
"modulePathIgnorePatterns": [
|
|
@@ -157,5 +156,6 @@
|
|
|
157
156
|
}
|
|
158
157
|
]
|
|
159
158
|
]
|
|
160
|
-
}
|
|
159
|
+
},
|
|
160
|
+
"dependencies": {}
|
|
161
161
|
}
|