accurascan_kyc 1.1.7 → 1.1.8

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.
@@ -13,7 +13,7 @@ Pod::Spec.new do |s|
13
13
 
14
14
  s.platforms = { :ios => "12.0" }
15
15
  s.ios.deployment_target = '12.0'
16
- s.source = { :git => "https://git.accurascan.com/Mahdi/hybrid-react-kyc.git, :tag => "#{s.version}"
16
+ s.source = { :git => "https://git.accurascan.com/mahdi/hybrid-react-kyc.git, :tag => "#{s.version}"
17
17
  }
18
18
 
19
19
  s.source_files = "ios/**/*.{h,m,mm,swift}"
@@ -23,7 +23,6 @@ Pod::Spec.new do |s|
23
23
  s.static_framework = true
24
24
  # s.dependency "AccuraKYC","4.0.2"
25
25
  s.dependency "AccuraKYC_Sim","4.0.3"
26
- s.dependency "ProgressHUD"
27
26
  # Don't install the dependencies when we run `pod install` in the old architecture.
28
27
  if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
29
28
  s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
@@ -3,7 +3,7 @@ import AccuraOCR
3
3
  import Photos
4
4
  import PhotosUI
5
5
  //import SVProgressHUD
6
- import ProgressHUD
6
+ //import ProgressHUD
7
7
 
8
8
  //View controller for face match.
9
9
  class FMController: UIViewController, UIImagePickerControllerDelegate, UINavigationControllerDelegate,PHPickerViewControllerDelegate, UIAdaptivePresentationControllerDelegate {
@@ -412,7 +412,7 @@ class FMController: UIViewController, UIImagePickerControllerDelegate, UINavigat
412
412
 
413
413
 
414
414
  dismiss(animated: true, completion: nil)
415
- ProgressHUD.show("Loading...")
415
+ // ProgressHUD.show("Loading...")
416
416
  // SVProgressHUD.show(withStatus: "Loading...")
417
417
  DispatchQueue.global(qos: .background).async {
418
418
  guard var originalImage = info[convertFromUIImagePickerControllerInfoKey(UIImagePickerController.InfoKey.originalImage)] as? UIImage else { return }
@@ -426,7 +426,7 @@ class FMController: UIViewController, UIImagePickerControllerDelegate, UINavigat
426
426
  DispatchQueue.main.asyncAfter(deadline: .now(), execute: {
427
427
  // self.setFaceRegion(compressData!)//Set FaceMatch score
428
428
  // SVProgressHUD.dismiss()
429
- ProgressHUD.dismiss()
429
+ // ProgressHUD.dismiss()
430
430
  })
431
431
  }
432
432
 
@@ -455,7 +455,7 @@ class FMController: UIViewController, UIImagePickerControllerDelegate, UINavigat
455
455
 
456
456
  // self.setFaceRegion(compressData!)//Set FaceMatch score
457
457
  // SVProgressHUD.dismiss()
458
- ProgressHUD.dismiss()
458
+ // ProgressHUD.dismiss()
459
459
 
460
460
  var result:[String:Any] = [:]
461
461
  result["Image"] = compressData
@@ -510,7 +510,7 @@ class FMController: UIViewController, UIImagePickerControllerDelegate, UINavigat
510
510
 
511
511
  func facematchData(_ FaceImage: UIImage!) {
512
512
  // SVProgressHUD.show(withStatus: "Loading...")
513
- ProgressHUD.show("Loading...")
513
+ // ProgressHUD.show("Loading...")
514
514
  DispatchQueue.global(qos: .background).async { [self] in
515
515
  var originalImage = FaceImage
516
516
 
@@ -523,7 +523,7 @@ class FMController: UIViewController, UIImagePickerControllerDelegate, UINavigat
523
523
  // self.setFaceRegion(compressData!)//Set FaceMatch score
524
524
  // gl.face1Detect = EngineWrapper.detectSourceFaces(compressData)
525
525
  // SVProgressHUD.dismiss()
526
- ProgressHUD.dismiss()
526
+ // ProgressHUD.dismiss()
527
527
 
528
528
  // })
529
529
  let img1 = AccurascanKyc.getImageUri(img: compressData!, name: nil)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "accurascan_kyc",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "Accura Scan",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",