accurascan_kyc 1.3.5 → 1.3.6
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
|
@@ -24,7 +24,7 @@ Pod::Spec.new do |s|
|
|
|
24
24
|
# s.dependency "AccuraKYC","4.0.2"
|
|
25
25
|
# s.dependency "AccuraKYC","4.0.4"
|
|
26
26
|
# s.dependency 'AccuraKYC', '4.1.4'
|
|
27
|
-
s.dependency 'AccuraKYC', '4.2.
|
|
27
|
+
s.dependency 'AccuraKYC', '4.2.7'
|
|
28
28
|
# Don't install the dependencies when we run `pod install` in the old architecture.
|
|
29
29
|
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
|
|
30
30
|
s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
|
package/android/build.gradle
CHANGED
|
@@ -100,11 +100,11 @@ dependencies {
|
|
|
100
100
|
implementation 'androidx.appcompat:appcompat:1.6.0'
|
|
101
101
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
102
102
|
// Update OCR
|
|
103
|
-
implementation 'com.github.accurascan:AccuraOCR:6.1.
|
|
103
|
+
implementation 'com.github.accurascan:AccuraOCR:6.1.14'
|
|
104
104
|
// FaceMatch has no issue
|
|
105
|
-
implementation 'com.github.accurascan:AccuraFaceMatch:3.2.
|
|
105
|
+
implementation 'com.github.accurascan:AccuraFaceMatch:3.2.7'
|
|
106
106
|
// Update Liveness
|
|
107
|
-
implementation 'com.github.accurascan:Liveness-Android:3.4.
|
|
107
|
+
implementation 'com.github.accurascan:Liveness-Android:3.4.5'
|
|
108
108
|
implementation 'com.squareup.picasso:picasso:2.71828'
|
|
109
109
|
}
|
|
110
110
|
|
|
@@ -14,7 +14,7 @@ import android.widget.Toast;
|
|
|
14
14
|
import androidx.annotation.Nullable;
|
|
15
15
|
|
|
16
16
|
import com.accurascan.facedetection.LivenessCustomization;
|
|
17
|
-
import com.accurascan.facedetection.LivenessMode;
|
|
17
|
+
// import com.accurascan.facedetection.LivenessMode;
|
|
18
18
|
import com.accurascan.facedetection.SelfieCameraActivity;
|
|
19
19
|
import com.accurascan.facedetection.model.AccuraVerificationResult;
|
|
20
20
|
import com.accurascan.facematch.util.BitmapHelper;
|
|
@@ -252,30 +252,30 @@ public class OcrResultActivity extends Activity implements FaceCallback {
|
|
|
252
252
|
LivenessCustomization livenessCustomization = new LivenessCustomization();
|
|
253
253
|
|
|
254
254
|
// System.out.println("livenessConfig3: " );
|
|
255
|
-
try {
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
} catch (JSONException e) {
|
|
277
|
-
|
|
278
|
-
}
|
|
255
|
+
// try {
|
|
256
|
+
// boolean enableFaceMovement = false;
|
|
257
|
+
// boolean enableOralVerification = false;
|
|
258
|
+
// if(livenessConfig.has("setEnableFaceMovement") ){
|
|
259
|
+
// enableFaceMovement = livenessConfig.getBoolean("setEnableFaceMovement");
|
|
260
|
+
|
|
261
|
+
// }
|
|
262
|
+
// if(livenessConfig.has("setEnableOralVerification") ){
|
|
263
|
+
// enableOralVerification = livenessConfig.getBoolean("setEnableOralVerification");
|
|
264
|
+
|
|
265
|
+
// }
|
|
266
|
+
|
|
267
|
+
// if(enableFaceMovement && enableOralVerification){
|
|
268
|
+
// livenessCustomization.livenessMode = LivenessMode.ALL;
|
|
269
|
+
// }else if(enableFaceMovement && !enableOralVerification){
|
|
270
|
+
// livenessCustomization.livenessMode = LivenessMode.FACE_3D;
|
|
271
|
+
// }else if(!enableFaceMovement && enableOralVerification){
|
|
272
|
+
// livenessCustomization.livenessMode = LivenessMode.VOICE;
|
|
273
|
+
// }else{
|
|
274
|
+
// livenessCustomization.livenessMode = LivenessMode.DEFAULT;
|
|
275
|
+
// }
|
|
276
|
+
// } catch (JSONException e) {
|
|
277
|
+
// e.printStackTrace();
|
|
278
|
+
// }
|
|
279
279
|
|
|
280
280
|
try {
|
|
281
281
|
if(livenessConfig.has("backGroundColor")){
|
package/ios/LVController.swift
CHANGED
|
@@ -35,19 +35,19 @@ class LVController: UIViewController,LivenessData,FacematchData
|
|
|
35
35
|
|
|
36
36
|
if isLiveness{
|
|
37
37
|
|
|
38
|
-
if livenessConfig["setEnableFaceMovement"] != nil {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}else{
|
|
42
|
-
|
|
43
|
-
}
|
|
38
|
+
// if livenessConfig["setEnableFaceMovement"] != nil {
|
|
39
|
+
// let val = (livenessConfig["setEnableFaceMovement"] as? Bool)!
|
|
40
|
+
// liveness.enableFaceMovement(val)
|
|
41
|
+
// }else{
|
|
42
|
+
// liveness.enableFaceMovement(false)
|
|
43
|
+
// }
|
|
44
44
|
|
|
45
|
-
if livenessConfig["setEnableOralVerification"] != nil {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}else{
|
|
49
|
-
|
|
50
|
-
}
|
|
45
|
+
// if livenessConfig["setEnableOralVerification"] != nil {
|
|
46
|
+
// let val = (livenessConfig["setEnableOralVerification"] as? Bool)!
|
|
47
|
+
// liveness.enableOralVerification(val)
|
|
48
|
+
// }else{
|
|
49
|
+
// liveness.enableOralVerification(false)
|
|
50
|
+
// }
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
if livenessConfig["backGroundColor"] != nil{
|