accurascan_kyc 1.2.2 → 1.2.3
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/ios/AccurascanKyc.swift +14 -13
- package/package.json +1 -1
package/ios/AccurascanKyc.swift
CHANGED
|
@@ -123,10 +123,10 @@ class AccurascanKyc: NSObject {
|
|
|
123
123
|
var results:[String: Any] = [:]
|
|
124
124
|
results["isValid"] = false
|
|
125
125
|
accuraCameraWrapper = AccuraCameraWrapper.init()
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
126
|
+
DispatchQueue.main.async {
|
|
127
|
+
self.accuraCameraWrapper?.setDefaultDialogs(true)
|
|
128
|
+
self.accuraCameraWrapper?.showLogFile(true) // Set true to print log from KYC SDK
|
|
129
|
+
}
|
|
130
130
|
|
|
131
131
|
// DispatchQueue.main.async {
|
|
132
132
|
DispatchQueue.main.async {
|
|
@@ -273,15 +273,16 @@ class AccurascanKyc: NSObject {
|
|
|
273
273
|
}else{
|
|
274
274
|
self.accuraCameraWrapper?.setCameraFacing(.CAMERA_FACING_BACK)
|
|
275
275
|
}
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
276
|
+
if accuraconfigs["enableLogs"] != nil {
|
|
277
|
+
if accuraconfigs["enableLogs"] as? Int == 0 {
|
|
278
|
+
accuraCameraWrapper?.showLogFile(true)
|
|
279
|
+
accuraCameraWrapper?.setDefaultDialogs(true)
|
|
280
|
+
} else{
|
|
281
|
+
accuraCameraWrapper?.showLogFile(false)
|
|
282
|
+
}
|
|
283
|
+
} else{
|
|
284
|
+
accuraCameraWrapper?.showLogFile(false)
|
|
285
|
+
}
|
|
285
286
|
// accuraCameraWrapper?.setCheckPhotoCopy(((configs!["isCheckPhotoCopy"] as? Bool)!))
|
|
286
287
|
// self.accuraCameraWrapper?.setCheckPhotoCopy(false, stCheckPhotoMessage: "")
|
|
287
288
|
// }
|