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.
@@ -123,10 +123,10 @@ class AccurascanKyc: NSObject {
123
123
  var results:[String: Any] = [:]
124
124
  results["isValid"] = false
125
125
  accuraCameraWrapper = AccuraCameraWrapper.init()
126
- // DispatchQueue.main.async {
127
- // self.accuraCameraWrapper?.setDefaultDialogs(true)
128
- // self.accuraCameraWrapper?.showLogFile(true) // Set true to print log from KYC SDK
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
- if accuraconfigs["enableLogs"] != nil {
277
- if accuraconfigs["enableLogs"] as? Int == 1 {
278
- accuraCameraWrapper?.showLogFile(true)
279
- } else{
280
- accuraCameraWrapper?.showLogFile(false)
281
- }
282
- } else{
283
- accuraCameraWrapper?.showLogFile(false)
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
  // }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "accurascan_kyc",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "Accura Scan",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",