@oiti/rn-liveness3d 1.1.2 → 2.0.0

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.
Files changed (412) hide show
  1. package/README.md +33 -237
  2. package/android/build.gradle +4 -18
  3. package/android/settings.gradle +2 -2
  4. package/android/src/main/AndroidManifest.xml +3 -0
  5. package/android/src/main/java/br/com/oiti/rnliveness3d/RnLiveness3dModule.kt +198 -132
  6. package/android/src/main/java/br/com/oiti/rnliveness3d/theme/Liveness3DFonts.kt +44 -0
  7. package/android/src/main/java/br/com/oiti/rnliveness3d/theme/Liveness3DText.kt +68 -0
  8. package/android/src/main/java/br/com/oiti/rnliveness3d/theme/Liveness3DTheme.kt +147 -0
  9. package/ios/Podfile +2 -1
  10. package/ios/Podfile.lock +39 -0
  11. package/ios/Pods/Manifest.lock +24 -19
  12. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/Info.plist +42 -0
  13. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Headers/OICommons-Swift.h +310 -0
  14. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Headers/OICommons.h +15 -0
  15. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Info.plist +0 -0
  16. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Inter-Bold.otf +0 -0
  17. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Inter-Medium.otf +0 -0
  18. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Inter-Regular.otf +0 -0
  19. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.abi.json +9 -0
  20. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.private.swiftinterface +1865 -0
  21. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  22. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.swiftinterface +1865 -0
  23. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/module.modulemap +11 -0
  24. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/OICommons +0 -0
  25. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Ubuntu-Bold.otf +0 -0
  26. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Ubuntu-Medium.otf +0 -0
  27. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Ubuntu-Regular.otf +0 -0
  28. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/dSYMs/OICommons.framework.dSYM/Contents/Info.plist +20 -0
  29. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/dSYMs/OICommons.framework.dSYM/Contents/Resources/DWARF/OICommons +0 -0
  30. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Headers/OICommons-Swift.h +616 -0
  31. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Headers/OICommons.h +15 -0
  32. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Info.plist +0 -0
  33. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Inter-Bold.otf +0 -0
  34. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Inter-Medium.otf +0 -0
  35. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Inter-Regular.otf +0 -0
  36. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.abi.json +9 -0
  37. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +1865 -0
  38. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  39. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.swiftinterface +1865 -0
  40. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.abi.json +9 -0
  41. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +1865 -0
  42. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  43. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +1865 -0
  44. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/module.modulemap +11 -0
  45. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/OICommons +0 -0
  46. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Ubuntu-Bold.otf +0 -0
  47. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Ubuntu-Medium.otf +0 -0
  48. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Ubuntu-Regular.otf +0 -0
  49. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/_CodeSignature/CodeResources +311 -0
  50. package/ios/Pods/OICommons/README.md +1 -0
  51. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/Info.plist +42 -0
  52. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Assets.car +0 -0
  53. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Headers/OIComponents-Swift.h +406 -0
  54. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Headers/OIComponents.h +18 -0
  55. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Info.plist +0 -0
  56. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.abi.json +9 -0
  57. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.private.swiftinterface +724 -0
  58. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  59. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.swiftinterface +724 -0
  60. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/module.modulemap +11 -0
  61. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/OIComponents +0 -0
  62. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/dSYMs/OIComponents.framework.dSYM/Contents/Info.plist +20 -0
  63. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/dSYMs/OIComponents.framework.dSYM/Contents/Resources/DWARF/OIComponents +0 -0
  64. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/dSYMs/OIComponents.framework.dSYM/Contents/Resources/Swift/aarch64/OICommons.swiftinterface +1865 -0
  65. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Assets.car +0 -0
  66. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Headers/OIComponents-Swift.h +808 -0
  67. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Headers/OIComponents.h +18 -0
  68. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Info.plist +0 -0
  69. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.abi.json +9 -0
  70. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +724 -0
  71. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  72. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.swiftinterface +724 -0
  73. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.abi.json +9 -0
  74. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +724 -0
  75. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  76. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +724 -0
  77. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/module.modulemap +11 -0
  78. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/OIComponents +0 -0
  79. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/_CodeSignature/CodeResources +256 -0
  80. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework.zip +0 -0
  81. package/ios/Pods/OIComponents/README.md +1 -0
  82. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/Info.plist +42 -0
  83. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Assets.car +0 -0
  84. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Headers/OILiveness3D-Swift.h +294 -0
  85. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Headers/OILiveness3D.h +18 -0
  86. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Info.plist +0 -0
  87. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.abi.json +9 -0
  88. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.private.swiftinterface +224 -0
  89. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  90. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.swiftinterface +224 -0
  91. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/module.modulemap +11 -0
  92. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/OILiveness3D +0 -0
  93. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Info.plist +20 -0
  94. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/DWARF/OILiveness3D +0 -0
  95. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OICommons.swiftinterface +1865 -0
  96. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OIComponents.swiftinterface +724 -0
  97. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OINetwork.swiftinterface +150 -0
  98. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OISecurity.swiftinterface +141 -0
  99. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Assets.car +0 -0
  100. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Headers/OILiveness3D-Swift.h +584 -0
  101. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Headers/OILiveness3D.h +18 -0
  102. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Info.plist +0 -0
  103. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.abi.json +9 -0
  104. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +224 -0
  105. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  106. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.swiftinterface +224 -0
  107. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.abi.json +9 -0
  108. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +224 -0
  109. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  110. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +224 -0
  111. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/module.modulemap +11 -0
  112. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/OILiveness3D +0 -0
  113. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/_CodeSignature/CodeResources +256 -0
  114. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework.zip +0 -0
  115. package/ios/Pods/OILiveness3D/README.md +32 -0
  116. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/Info.plist +40 -0
  117. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Assets.car +0 -0
  118. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/FaceTecSDK +0 -0
  119. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/GenericGuidanceContentLayout.nib +0 -0
  120. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecPublicApi.h +1915 -0
  121. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecPublicStringKeys.h +104 -0
  122. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecSDK.h +16 -0
  123. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Info.plist +0 -0
  124. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Modules/module.modulemap +6 -0
  125. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/ReadyScreenGuidanceContentLayout.nib +0 -0
  126. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/RetryScreenGuidanceContentLayout.nib +0 -0
  127. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/SharedGuidanceLayout.nib +0 -0
  128. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/9Uo-4b-JiE-view-Ae0-rb-UqS.nib +0 -0
  129. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/CJ6-MX-bJp-view-8JL-Rc-0g1.nib +0 -0
  130. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceScanViewController.nib +0 -0
  131. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceTecAdditionalReviewViewController.nib +0 -0
  132. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceTecOCRConfirmationViewController.nib +0 -0
  133. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/IDCaptureViewController.nib +0 -0
  134. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/IDSelectionViewController.nib +0 -0
  135. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/Info.plist +0 -0
  136. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/Pyw-6G-JSY-view-Zue-Eo-Q2U.nib +0 -0
  137. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/alz-Ia-X3d-view-IKu-EI-Hug.nib +0 -0
  138. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/l2Q-cc-kD8-view-UUy-6c-meu.nib +0 -0
  139. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/af.lproj/FaceTec.strings +0 -0
  140. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/ar.lproj/FaceTec.strings +0 -0
  141. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/attributions.txt +137 -0
  142. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/1f5b84f51ce0fcfbb76e904b7bcaa7560f601e1394a0b29367a09385312287eb +0 -0
  143. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/2b075ac1a6132b5b8a4c9ef0ba6b0cd84db7838aca9a000e50d907f40770a4ab +0 -0
  144. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/59cc2a9af81aaca2376702c2490650f4da2775fa673274db98aad41b7ef101c0 +0 -0
  145. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/5b63e98b991aedabb60665503384f30bffd939decf9433883b30b78011ee501a +0 -0
  146. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/66388dc76dc16bc6b76b682edd218a575bf45b9b +0 -0
  147. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/6b3133f0f39ff89a2a169d61176ee17cafacc5e288f334e2b64ee82892d11ccd +0 -0
  148. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/9077d16225f9314163ef1e7db6fc7d4088bb903d134bd95f23d5591ca4dfbfca +0 -0
  149. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/a74f2afb9d20f2375ccbd14e67c094b85c89ceb608f7cf8ae04f3f646a6c5672 +0 -0
  150. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/b501893e75f62ee1707643e35b21109927b07ed5b202321c961b424cbc2e4695 +0 -0
  151. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/dbd7a353f0130bb983d6ba05917e9be991d70e8f028df4b74e30bc6497ef7f71 +0 -0
  152. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/f2.xml +0 -0
  153. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/fd6d368a5658496536e2bfae170d1b823a3629b242cafc09784bfba4e56d8c80 +0 -0
  154. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/marker +0 -0
  155. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/vu0ilin6we3lrzo5f83f7qs2jul4aq7v4aoynrmch8zfvpi8ezrfyafa4t0fx87l +0 -0
  156. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/de.lproj/FaceTec.strings +0 -0
  157. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/el.lproj/FaceTec.strings +0 -0
  158. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/en.lproj/FaceTec.strings +0 -0
  159. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/es.lproj/FaceTec.strings +0 -0
  160. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/fr.lproj/FaceTec.strings +0 -0
  161. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/kk.lproj/FaceTec.strings +0 -0
  162. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/nb.lproj/FaceTec.strings +0 -0
  163. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/pt-BR.lproj/FaceTec.strings +0 -0
  164. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/ru.lproj/FaceTec.strings +0 -0
  165. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/strip-unused-architectures-from-target.sh +62 -0
  166. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/FaceTecSDK +0 -0
  167. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecPublicApi.h +1915 -0
  168. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecPublicStringKeys.h +104 -0
  169. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecSDK.h +16 -0
  170. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Info.plist +0 -0
  171. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Modules/module.modulemap +6 -0
  172. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/_CodeSignature/CodeResources +146 -0
  173. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework.zip +0 -0
  174. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/Info.plist +42 -0
  175. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Headers/OINetwork-Swift.h +265 -0
  176. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Headers/OINetwork.h +15 -0
  177. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Info.plist +0 -0
  178. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.abi.json +9 -0
  179. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.private.swiftinterface +150 -0
  180. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  181. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.swiftinterface +150 -0
  182. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/module.modulemap +11 -0
  183. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/OINetwork +0 -0
  184. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/dSYMs/OINetwork.framework.dSYM/Contents/Info.plist +20 -0
  185. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/dSYMs/OINetwork.framework.dSYM/Contents/Resources/DWARF/OINetwork +0 -0
  186. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/dSYMs/OINetwork.framework.dSYM/Contents/Resources/Swift/aarch64/OICommons.swiftinterface +1865 -0
  187. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Headers/OINetwork-Swift.h +526 -0
  188. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Headers/OINetwork.h +15 -0
  189. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Info.plist +0 -0
  190. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.abi.json +9 -0
  191. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +150 -0
  192. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  193. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.swiftinterface +150 -0
  194. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/x86_64-apple-ios-simulator.abi.json +9 -0
  195. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +150 -0
  196. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  197. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +150 -0
  198. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/module.modulemap +11 -0
  199. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/OINetwork +0 -0
  200. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/_CodeSignature/CodeResources +245 -0
  201. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework.zip +0 -0
  202. package/ios/Pods/OINetwork/README.md +1 -0
  203. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/Info.plist +42 -0
  204. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Headers/OISecurity-Swift.h +264 -0
  205. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Headers/OISecurity.h +16 -0
  206. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Info.plist +0 -0
  207. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.abi.json +9 -0
  208. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.private.swiftinterface +141 -0
  209. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  210. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.swiftinterface +141 -0
  211. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/module.modulemap +11 -0
  212. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/OISecurity +0 -0
  213. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/_CodeSignature/CodeResources +190 -0
  214. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/dSYMs/OISecurity.framework.dSYM/Contents/Info.plist +20 -0
  215. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/dSYMs/OISecurity.framework.dSYM/Contents/Resources/DWARF/OISecurity +0 -0
  216. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/dSYMs/OISecurity.framework.dSYM/Contents/Resources/Swift/aarch64/OINetwork.swiftinterface +150 -0
  217. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Headers/OISecurity-Swift.h +524 -0
  218. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Headers/OISecurity.h +16 -0
  219. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Info.plist +0 -0
  220. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.abi.json +9 -0
  221. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +141 -0
  222. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  223. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.swiftinterface +141 -0
  224. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.abi.json +9 -0
  225. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +141 -0
  226. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  227. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +141 -0
  228. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/module.modulemap +11 -0
  229. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/OISecurity +0 -0
  230. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/_CodeSignature/CodeResources +245 -0
  231. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework.zip +0 -0
  232. package/ios/Pods/OISecurity/README.md +1 -0
  233. package/ios/Pods/Pods.xcodeproj/project.pbxproj +1235 -0
  234. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OICommons.xcscheme +58 -0
  235. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OIComponents.xcscheme +58 -0
  236. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OILiveness3D.xcscheme +58 -0
  237. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OILiveness3D_FT.xcscheme +58 -0
  238. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OINetwork.xcscheme +58 -0
  239. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OISecurity.xcscheme +58 -0
  240. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/Pods-RnLiveness3d.xcscheme +58 -0
  241. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/xcschememanagement.plist +46 -0
  242. package/ios/Pods/Target Support Files/OICommons/OICommons-xcframeworks.sh +121 -0
  243. package/ios/Pods/Target Support Files/OICommons/OICommons.debug.xcconfig +15 -0
  244. package/ios/Pods/Target Support Files/OICommons/OICommons.release.xcconfig +15 -0
  245. package/ios/Pods/Target Support Files/OIComponents/OIComponents-xcframeworks.sh +121 -0
  246. package/ios/Pods/Target Support Files/OIComponents/OIComponents.debug.xcconfig +16 -0
  247. package/ios/Pods/Target Support Files/OIComponents/OIComponents.release.xcconfig +16 -0
  248. package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D-xcframeworks.sh +121 -0
  249. package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D.debug.xcconfig +16 -0
  250. package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D.release.xcconfig +16 -0
  251. package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT-xcframeworks.sh +121 -0
  252. package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT.debug.xcconfig +13 -0
  253. package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT.release.xcconfig +13 -0
  254. package/ios/Pods/Target Support Files/OINetwork/OINetwork-xcframeworks.sh +121 -0
  255. package/ios/Pods/Target Support Files/OINetwork/OINetwork.debug.xcconfig +16 -0
  256. package/ios/Pods/Target Support Files/OINetwork/OINetwork.release.xcconfig +16 -0
  257. package/ios/Pods/Target Support Files/OISecurity/OISecurity-xcframeworks.sh +121 -0
  258. package/ios/Pods/Target Support Files/OISecurity/OISecurity.debug.xcconfig +16 -0
  259. package/ios/Pods/Target Support Files/OISecurity/OISecurity.release.xcconfig +16 -0
  260. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-Info.plist +26 -0
  261. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-acknowledgements.markdown +23 -0
  262. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-acknowledgements.plist +79 -0
  263. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-dummy.m +5 -0
  264. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-umbrella.h +16 -0
  265. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.debug.xcconfig +13 -0
  266. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.modulemap +6 -0
  267. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.release.xcconfig +13 -0
  268. package/ios/RnLiveness3d.m +8 -3
  269. package/ios/RnLiveness3d.swift +198 -114
  270. package/ios/RnLiveness3d.xcworkspace/xcuserdata/gabrielcatelligoulart.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  271. package/lib/commonjs/@types/ArgsType.js +4 -0
  272. package/lib/commonjs/@types/FontsType.js +2 -0
  273. package/lib/commonjs/@types/FontsType.js.map +1 -0
  274. package/lib/commonjs/@types/ResultType.js +2 -0
  275. package/lib/commonjs/@types/ResultType.js.map +1 -0
  276. package/lib/commonjs/@types/ResultTypes.js +6 -0
  277. package/lib/commonjs/@types/ResultTypes.js.map +1 -0
  278. package/lib/commonjs/@types/TextsType.js +2 -0
  279. package/lib/commonjs/@types/TextsType.js.map +1 -0
  280. package/lib/commonjs/@types/ThemeType.js +2 -0
  281. package/lib/commonjs/@types/ThemeType.js.map +1 -0
  282. package/lib/commonjs/actions/BackButton.js +35 -0
  283. package/lib/commonjs/actions/BackButton.js.map +1 -0
  284. package/lib/commonjs/actions/ContinueButton.js +43 -0
  285. package/lib/commonjs/actions/ContinueButton.js.map +1 -0
  286. package/lib/commonjs/actions/PermissionButton.js +35 -0
  287. package/lib/commonjs/actions/PermissionButton.js.map +1 -0
  288. package/lib/commonjs/context/Liveness3DContext.js +104 -0
  289. package/lib/commonjs/context/Liveness3DContext.js.map +1 -0
  290. package/lib/commonjs/helpers/Liveness3DHelper.js +34 -0
  291. package/lib/commonjs/helpers/Liveness3DHelper.js.map +1 -0
  292. package/lib/commonjs/index.js +121 -78
  293. package/lib/commonjs/index.js.map +1 -1
  294. package/lib/commonjs/interfaces/Liveness3DHelper.js +6 -0
  295. package/lib/commonjs/interfaces/Liveness3DHelper.js.map +1 -0
  296. package/lib/commonjs/interfaces/OitiBackButtonInterface.js +6 -0
  297. package/lib/commonjs/interfaces/OitiBackButtonInterface.js.map +1 -0
  298. package/lib/commonjs/interfaces/OitiContinueButton.js +6 -0
  299. package/lib/commonjs/interfaces/OitiContinueButton.js.map +1 -0
  300. package/lib/commonjs/interfaces/OitiPermissionButtonInterface.js +6 -0
  301. package/lib/commonjs/interfaces/OitiPermissionButtonInterface.js.map +1 -0
  302. package/lib/commonjs/screens/Liveness3D/InstructionsView.js +4 -4
  303. package/lib/commonjs/screens/Liveness3D/InstructionsView.js.map +1 -1
  304. package/lib/commonjs/utils/continueButton.js +17 -0
  305. package/lib/commonjs/utils/continueButton.js.map +1 -0
  306. package/lib/commonjs/utils/permissions.js +30 -0
  307. package/lib/commonjs/utils/permissions.js.map +1 -0
  308. package/lib/commonjs/utils/screenStore.js +12 -0
  309. package/lib/commonjs/utils/screenStore.js.map +1 -0
  310. package/lib/module/@types/ArgsType.js +1 -1
  311. package/lib/module/@types/FontsType.js +2 -0
  312. package/lib/module/@types/FontsType.js.map +1 -0
  313. package/lib/module/@types/ResultType.js +2 -0
  314. package/lib/module/@types/ResultType.js.map +1 -0
  315. package/lib/module/@types/ResultTypes.js +2 -0
  316. package/lib/module/@types/ResultTypes.js.map +1 -0
  317. package/lib/module/@types/TextsType.js +2 -0
  318. package/lib/module/@types/TextsType.js.map +1 -0
  319. package/lib/module/@types/ThemeType.js +2 -0
  320. package/lib/module/@types/ThemeType.js.map +1 -0
  321. package/lib/module/actions/BackButton.js +26 -0
  322. package/lib/module/actions/BackButton.js.map +1 -0
  323. package/lib/module/actions/ContinueButton.js +34 -0
  324. package/lib/module/actions/ContinueButton.js.map +1 -0
  325. package/lib/module/actions/PermissionButton.js +26 -0
  326. package/lib/module/actions/PermissionButton.js.map +1 -0
  327. package/lib/module/context/Liveness3DContext.js +92 -0
  328. package/lib/module/context/Liveness3DContext.js.map +1 -0
  329. package/lib/module/helpers/Liveness3DHelper.js +25 -0
  330. package/lib/module/helpers/Liveness3DHelper.js.map +1 -0
  331. package/lib/module/index.js +97 -75
  332. package/lib/module/index.js.map +1 -1
  333. package/lib/module/interfaces/Liveness3DHelper.js +2 -0
  334. package/lib/module/interfaces/Liveness3DHelper.js.map +1 -0
  335. package/lib/module/interfaces/OitiBackButtonInterface.js +2 -0
  336. package/lib/module/interfaces/OitiBackButtonInterface.js.map +1 -0
  337. package/lib/module/interfaces/OitiContinueButton.js +2 -0
  338. package/lib/module/interfaces/OitiContinueButton.js.map +1 -0
  339. package/lib/module/interfaces/OitiPermissionButtonInterface.js +2 -0
  340. package/lib/module/interfaces/OitiPermissionButtonInterface.js.map +1 -0
  341. package/lib/module/screens/Liveness3D/InstructionsView.js +4 -4
  342. package/lib/module/screens/Liveness3D/InstructionsView.js.map +1 -1
  343. package/lib/module/utils/continueButton.js +10 -0
  344. package/lib/module/utils/continueButton.js.map +1 -0
  345. package/lib/module/utils/permissions.js +21 -0
  346. package/lib/module/utils/permissions.js.map +1 -0
  347. package/lib/module/utils/screenStore.js +5 -0
  348. package/lib/module/utils/screenStore.js.map +1 -0
  349. package/lib/typescript/@types/ArgsType.d.ts +9 -9
  350. package/lib/typescript/@types/ArgsType.d.ts.map +1 -1
  351. package/lib/typescript/@types/FontsType.d.ts +12 -0
  352. package/lib/typescript/@types/FontsType.d.ts.map +1 -0
  353. package/lib/typescript/@types/ResultType.d.ts +13 -0
  354. package/lib/typescript/@types/ResultType.d.ts.map +1 -0
  355. package/lib/typescript/@types/ResultTypes.d.ts +6 -0
  356. package/lib/typescript/@types/ResultTypes.d.ts.map +1 -0
  357. package/lib/typescript/@types/TextsType.d.ts +36 -0
  358. package/lib/typescript/@types/TextsType.d.ts.map +1 -0
  359. package/lib/typescript/@types/ThemeType.d.ts +48 -0
  360. package/lib/typescript/@types/ThemeType.d.ts.map +1 -0
  361. package/lib/typescript/actions/BackButton.d.ts +4 -0
  362. package/lib/typescript/actions/BackButton.d.ts.map +1 -0
  363. package/lib/typescript/actions/ContinueButton.d.ts +4 -0
  364. package/lib/typescript/actions/ContinueButton.d.ts.map +1 -0
  365. package/lib/typescript/actions/PermissionButton.d.ts +4 -0
  366. package/lib/typescript/actions/PermissionButton.d.ts.map +1 -0
  367. package/lib/typescript/context/Liveness3DContext.d.ts +28 -0
  368. package/lib/typescript/context/Liveness3DContext.d.ts.map +1 -0
  369. package/lib/typescript/helpers/Liveness3DHelper.d.ts +4 -0
  370. package/lib/typescript/helpers/Liveness3DHelper.d.ts.map +1 -0
  371. package/lib/typescript/index.d.ts +21 -8
  372. package/lib/typescript/index.d.ts.map +1 -1
  373. package/lib/typescript/interfaces/Liveness3DHelper.d.ts +7 -0
  374. package/lib/typescript/interfaces/Liveness3DHelper.d.ts.map +1 -0
  375. package/lib/typescript/interfaces/OitiBackButtonInterface.d.ts +6 -0
  376. package/lib/typescript/interfaces/OitiBackButtonInterface.d.ts.map +1 -0
  377. package/lib/typescript/interfaces/OitiContinueButton.d.ts +6 -0
  378. package/lib/typescript/interfaces/OitiContinueButton.d.ts.map +1 -0
  379. package/lib/typescript/interfaces/OitiPermissionButtonInterface.d.ts +6 -0
  380. package/lib/typescript/interfaces/OitiPermissionButtonInterface.d.ts.map +1 -0
  381. package/lib/typescript/screens/Liveness3D/InstructionsView.d.ts +1 -0
  382. package/lib/typescript/screens/Liveness3D/InstructionsView.d.ts.map +1 -1
  383. package/lib/typescript/screens/PermissionView.d.ts +1 -0
  384. package/lib/typescript/screens/PermissionView.d.ts.map +1 -1
  385. package/lib/typescript/utils/continueButton.d.ts +2 -0
  386. package/lib/typescript/utils/continueButton.d.ts.map +1 -0
  387. package/lib/typescript/utils/permissions.d.ts +4 -0
  388. package/lib/typescript/utils/permissions.d.ts.map +1 -0
  389. package/lib/typescript/utils/screenStore.d.ts +5 -0
  390. package/lib/typescript/utils/screenStore.d.ts.map +1 -0
  391. package/oiti-rn-liveness3d.podspec +2 -1
  392. package/package.json +3 -6
  393. package/src/@types/ArgsType.ts +10 -10
  394. package/src/@types/FontsType.ts +22 -0
  395. package/src/@types/ResultType.ts +13 -0
  396. package/src/@types/ResultTypes.ts +6 -0
  397. package/src/@types/TextsType.ts +41 -0
  398. package/src/@types/ThemeType.ts +64 -0
  399. package/src/actions/BackButton.tsx +27 -0
  400. package/src/actions/ContinueButton.tsx +35 -0
  401. package/src/actions/PermissionButton.tsx +27 -0
  402. package/src/context/Liveness3DContext.tsx +122 -0
  403. package/src/helpers/Liveness3DHelper.tsx +24 -0
  404. package/src/index.tsx +120 -87
  405. package/src/interfaces/Liveness3DHelper.tsx +7 -0
  406. package/src/interfaces/OitiBackButtonInterface.tsx +6 -0
  407. package/src/interfaces/OitiContinueButton.tsx +6 -0
  408. package/src/interfaces/OitiPermissionButtonInterface.tsx +6 -0
  409. package/src/screens/Liveness3D/InstructionsView.tsx +8 -8
  410. package/src/utils/continueButton.tsx +12 -0
  411. package/src/utils/permissions.tsx +30 -0
  412. package/src/utils/screenStore.tsx +4 -0
@@ -2,54 +2,65 @@ import OILiveness3D
2
2
  import OIComponents
3
3
  import OICommons
4
4
  import AVFoundation
5
+ import OISecurity
6
+ import UIKit
5
7
 
6
8
  @objc(RnLiveness3d)
7
9
  class RnLiveness3d: NSObject, Liveness3DDelegate {
8
- func handleLiveness3DValidation(validateModel: Liveness3DSuccess) {
9
- resolve("RESULT_OK")
10
- }
11
-
12
- func handleLiveness3DError(error: OILiveness3D.Liveness3DError) {
13
- resolve(error.message)
14
- }
15
10
 
11
+ var securityManager: SecurityManager?
16
12
  var resolve:RCTPromiseResolveBlock!
17
13
  var reject:RCTPromiseRejectBlock!
18
14
 
19
- @objc(logevent:withResolver:withRejecter:)
20
- func logevent(args: Dictionary<String,Any>?, resolve:@escaping RCTPromiseResolveBlock, reject:RCTPromiseRejectBlock) -> Void {
21
- let event = args?["event"] as? String ?? ""
22
- print(event)
15
+ func handleLiveness3DValidation(validateModel: Liveness3DSuccess) {
16
+ let response: Dictionary<String, Any> = [
17
+ "cause": validateModel.cause ?? "",
18
+ "codId": String(validateModel.codID ?? 0.0),
19
+ "protocol": validateModel.protocolo ?? "",
20
+ "blob": validateModel.scanResultBlob ?? "",
21
+ "valid": validateModel.valid ?? false
22
+ ]
23
+
24
+ resolve(response)
25
+ }
26
+
27
+ func handleLiveness3DError(error: OILiveness3D.Liveness3DError) {
28
+ reject("\(error.code)", "\(error.message)", error.type as Error)
23
29
  }
24
30
 
25
31
  @objc(checkiospermission:withResolver:withRejecter:)
26
- func checkiospermission(args: Dictionary<String,Any>?, resolve:@escaping RCTPromiseResolveBlock, reject:RCTPromiseRejectBlock) -> Void {
27
- AVCaptureDevice.requestAccess(for: AVMediaType.video) { response in
28
- if response {
29
- resolve("true")
30
-
31
- } else {
32
- resolve("false")
32
+ func checkiospermission(args: Dictionary<String,Any>?, resolve:@escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) -> Void {
33
+ AVCaptureDevice.requestAccess(for: .video) { granted in
34
+ DispatchQueue.main.async {
35
+ if granted {
36
+ resolve(true)
37
+ } else {
38
+ if let settingsURL = URL(string: UIApplication.openSettingsURLString) {
39
+ UIApplication.shared.open(settingsURL, options: [:]) { _ in }
40
+ }
41
+ resolve(false)
42
+ }
33
43
  }
34
44
  }
35
45
  }
36
46
 
37
47
  @objc(checkpermissiongranted:withResolver:withRejecter:)
38
- func checkpermissiongranted(args: Dictionary<String,Any>?, resolve:@escaping RCTPromiseResolveBlock, reject:RCTPromiseRejectBlock) -> Void {
48
+ func checkpermissiongranted(args: Dictionary<String,Any>?, resolve:@escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) -> Void {
39
49
  if AVCaptureDevice.authorizationStatus(for: AVMediaType.video) == AVAuthorizationStatus.authorized {
40
- resolve("true")
50
+ resolve(true)
41
51
  } else {
42
- resolve("false")
52
+ resolve(false)
43
53
  }
44
54
  }
45
55
 
46
56
  @objc(startliveness3d:withResolver:withRejecter:)
47
- func startliveness3D(args: Dictionary<String,Any>?, resolve:@escaping RCTPromiseResolveBlock, reject:RCTPromiseRejectBlock) -> Void {
57
+ func startliveness3D(args: Dictionary<String,Any>?, resolve:@escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) -> Void {
48
58
  self.resolve = resolve
59
+ self.reject = reject
49
60
 
50
61
  let appKey = args?["appkey"] as? String ?? ""
62
+ let ticket = args?["ticket"] as? String ?? nil
51
63
  let env = args?["environment"] as? String ?? "HML"
52
- let apparence = args?["apparence"] as? Dictionary<String,Any> ?? nil
53
64
 
54
65
  let loading = args?["loading"] as? Dictionary<String,Any> ?? nil
55
66
 
@@ -58,98 +69,17 @@ class RnLiveness3d: NSObject, Liveness3DDelegate {
58
69
  let backgroundColor = loading?["backgroundColor"] as? String ?? "#FFFFFF"
59
70
  let loadingColor = loading?["loadingColor"] as? String ?? "#000000"
60
71
 
61
- //Map Texts
62
- let liveness3Dtext = args?["liveness3Dtext"] as? Dictionary<String,Any> ?? nil
63
-
64
- // Ready Screen
65
- let READY_HEADER_1 = liveness3Dtext?["READY_HEADER_1"] as? String ?? ""
66
- let READY_HEADER_2 = liveness3Dtext?["READY_HEADER_2"] as? String ?? ""
67
- let READY_MESSAGE_1 = liveness3Dtext?["READY_MESSAGE_1"] as? String ?? ""
68
- let READY_MESSAGE_2 = liveness3Dtext?["READY_MESSAGE_2"] as? String ?? ""
69
- let READY_BUTTON = liveness3Dtext?["READY_BUTTON"] as? String ?? ""
70
-
71
- // Feedback Screen
72
- let FEEDBACK_CENTER_FACE = liveness3Dtext?["FEEDBACK_CENTER_FACE"] as? String ?? ""
73
- let FEEDBACK_FACE_NOT_FOUND = liveness3Dtext?["FEEDBACK_FACE_NOT_FOUND"] as? String ?? ""
74
- let FEEDBACK_FACE_NOT_LOOKING_STRAIGHT_AHEAD = liveness3Dtext?["FEEDBACK_FACE_NOT_LOOKING_STRAIGHT_AHEAD"] as? String ?? ""
75
- let FEEDBACK_FACE_NOT_UPRIGHT = liveness3Dtext?["FEEDBACK_FACE_NOT_UPRIGHT"] as? String ?? ""
76
- let FEEDBACK_HOLD_STEADY = liveness3Dtext?["FEEDBACK_HOLD_STEADY"] as? String ?? ""
77
- let FEEDBACK_MOVE_PHONE_AWAY = liveness3Dtext?["FEEDBACK_MOVE_PHONE_AWAY"] as? String ?? ""
78
- let FEEDBACK_MOVE_PHONE_CLOSER = liveness3Dtext?["FEEDBACK_MOVE_PHONE_CLOSER"] as? String ?? ""
79
- let FEEDBACK_MOVE_PHONE_TO_EYE_LEVEL = liveness3Dtext?["FEEDBACK_MOVE_PHONE_TO_EYE_LEVEL"] as? String ?? ""
80
- let FEEDBACK_USE_EVEN_LIGHTING = liveness3Dtext?["FEEDBACK_USE_EVEN_LIGHTING"] as? String ?? ""
81
- let FEEDBACK_FRAME_YOUR_FACE = liveness3Dtext?["FEEDBACK_FRAME_YOUR_FACE"] as? String ?? ""
82
- let FEEDBACK_POSITION_FACE_STRAIGHT_IN_OVAL = liveness3Dtext?["FEEDBACK_POSITION_FACE_STRAIGHT_IN_OVAL"] as? String ?? ""
83
- let FEEDBACK_HOLD_STEADY_1 = liveness3Dtext?["FEEDBACK_HOLD_STEADY_1"] as? String ?? ""
84
- let FEEDBACK_HOLD_STEADY_2 = liveness3Dtext?["FEEDBACK_HOLD_STEADY_2"] as? String ?? ""
85
- let FEEDBACK_HOLD_STEADY_3 = liveness3Dtext?["FEEDBACK_HOLD_STEADY_3"] as? String ?? ""
86
- let FEEDBACK_REMOVE_DARK_GLASSES = liveness3Dtext?["FEEDBACK_REMOVE_DARK_GLASSES"] as? String ?? ""
87
- let FEEDBACK_NEUTRAL_EXPRESSION = liveness3Dtext?["FEEDBACK_NEUTRAL_EXPRESSION"] as? String ?? ""
88
- let FEEDBACK_CONDITIONS_TOO_BRIGHT = liveness3Dtext?["FEEDBACK_CONDITIONS_TOO_BRIGHT"] as? String ?? ""
89
- let FEEDBACK_BRIGHTEN_YOUR_ENVIRONMENT = liveness3Dtext?["FEEDBACK_BRIGHTEN_YOUR_ENVIRONMENT"] as? String ?? ""
90
-
91
- // Result Screen
92
- let RESULT_UPLOAD_MESSAGE = liveness3Dtext?["RESULT_UPLOAD_MESSAGE"] as? String ?? ""
93
- let RESULT_SUCCESS_MESSAGE = liveness3Dtext?["RESULT_SUCCESS_MESSAGE"] as? String ?? ""
94
-
95
- // Retry Screen
96
- let RETRY_HEADER = liveness3Dtext?["RETRY_HEADER"] as? String ?? "Vamos tentar novamente?"
97
- let RETRY_SUBHEADER = liveness3Dtext?["RETRY_SUBHEADER"] as? String ?? "Siga o exemplo de foto ideal abaixo:"
98
- let RETRY_YOUR_PICTURE = liveness3Dtext?["RETRY_YOUR_PICTURE"] as? String ?? "Sua foto"
99
- let RETRY_IDEAL_PICTURE = liveness3Dtext?["RETRY_IDEAL_PICTURE"] as? String ?? "Não sorria"
100
- let RETRY_MESSAGE_SMILE = liveness3Dtext?["RETRY_MESSAGE_SMILE"] as? String ?? "Expressão Neutra, Sem Sorrir"
101
- let RETRY_MESSAGE_LIGHTING = liveness3Dtext?["RETRY_MESSAGE_LIGHTING"] as? String ?? "Evite reflexos e iluminação extrema."
102
- let RETRY_MESSAGE_CONTRAST = liveness3Dtext?["RETRY_MESSAGE_CONTRAST"] as? String ?? "Limpe Sua Câmera"
103
- let RETRY_BUTTON = liveness3Dtext?["READY_BUTTON"] as? String ?? "Tentar novamente"
104
-
105
- //Liveness3D Texts
106
- let liveness3DTexts: [Liveness3DTextKey: String] = [
107
- // Ready Screen
108
- .readyHeader1: READY_HEADER_1,
109
- .readyHeader2: READY_HEADER_2,
110
- .readyMessage1: READY_MESSAGE_1,
111
- .readyMessage2: READY_MESSAGE_2,
112
- .readyButton: READY_BUTTON,
113
-
114
- // Feedback Screen
115
- .feedbackCenterFace: FEEDBACK_CENTER_FACE,
116
- .feedbackFaceNotFound: FEEDBACK_FACE_NOT_FOUND,
117
- .feedbackFaceNotLookingStraightAhead: FEEDBACK_FACE_NOT_LOOKING_STRAIGHT_AHEAD,
118
- .feedbackFaceNotUpright: FEEDBACK_FACE_NOT_UPRIGHT,
119
- .feedbackHoldSteady: FEEDBACK_HOLD_STEADY,
120
- .feedbackMovePhoneAway: FEEDBACK_MOVE_PHONE_AWAY,
121
- .feedbackMovePhoneCloser: FEEDBACK_MOVE_PHONE_CLOSER,
122
- .feedbackMovePhoneToEyeLevel: FEEDBACK_MOVE_PHONE_TO_EYE_LEVEL,
123
- .feedbackUseEvenLighting: FEEDBACK_USE_EVEN_LIGHTING,
124
- .feedbackFrameYourFace: FEEDBACK_FRAME_YOUR_FACE,
125
- .feedbackPositionFaceStraightInOval: FEEDBACK_POSITION_FACE_STRAIGHT_IN_OVAL,
126
- .feedbackHoldSteady1: FEEDBACK_HOLD_STEADY_1,
127
- .feedbackHoldSteady2: FEEDBACK_HOLD_STEADY_2,
128
- .feedbackHoldSteady3: FEEDBACK_HOLD_STEADY_3,
129
- .feedbackRemoveDarkGlasses: FEEDBACK_REMOVE_DARK_GLASSES,
130
- .feedbackNeutralExpression: FEEDBACK_NEUTRAL_EXPRESSION,
131
- .feedbackConditionsTooBright: FEEDBACK_CONDITIONS_TOO_BRIGHT,
132
- .feedbackBrightenYourEnvironment: FEEDBACK_BRIGHTEN_YOUR_ENVIRONMENT,
133
-
134
- // Result Screen
135
- .resultUploadMessage: RESULT_UPLOAD_MESSAGE,
136
- .resultSuccessMessage: RESULT_SUCCESS_MESSAGE,
137
-
138
- // Retry Screen
139
- .retryHeader: RETRY_HEADER,
140
- .retrySubheader: RETRY_SUBHEADER,
141
- .retryYourPicture: RETRY_YOUR_PICTURE,
142
- .retryIdealPicture: RETRY_IDEAL_PICTURE,
143
- .retryMessageSmile: RETRY_MESSAGE_SMILE,
144
- .retryMessageLightning: RETRY_MESSAGE_LIGHTING,
145
- .retryMessageContrast: RETRY_MESSAGE_CONTRAST,
146
- .retryButton: RETRY_BUTTON
147
- ]
72
+ //Customization
73
+ let texts = liveness3DTexts(from: args?["liveness3Dtext"])
74
+ let theme = liveness3DTheme(theme: args?["theme"],fonts: args?["fonts"])
148
75
 
149
76
  let liveness3DUser = Liveness3DUser(
150
77
  appKey: appKey,
78
+ ticket: ticket,
151
79
  environment: env == "PRD" ? Environment.PRD : Environment.HML,
152
- texts: liveness3DTexts
80
+ defaultTheme: theme,
81
+ lowLightTheme: theme,
82
+ texts: texts
153
83
  )
154
84
 
155
85
  AVCaptureDevice.requestAccess(for: AVMediaType.video) { response in
@@ -169,23 +99,177 @@ class RnLiveness3d: NSObject, Liveness3DDelegate {
169
99
  )
170
100
 
171
101
  DispatchQueue.main.async {
172
-
173
102
  let liveness3DViewController = HybridLiveness3DViewController(
174
103
  liveness3DUser: liveness3DUser,
175
104
  delegate: self,
176
105
  customAppearance: typeLoading == "spinner" ? .init(configuration: spinnerLoading) : .init(configuration: defaultLoading)
177
106
  )
178
-
179
107
  liveness3DViewController.modalPresentationStyle = .fullScreen
180
108
  RCTPresentedViewController()?.present(liveness3DViewController, animated: true)
181
109
  }
182
110
 
183
111
  } else {
184
- resolve("RESULT_CANCELED")
112
+ let error = NSError(domain: "br.com.oiti.rnliveness3d", code: -1, userInfo: [NSLocalizedDescriptionKey: "RESULT_CANCELED"])
113
+ reject("RESULT_CANCELED", "RESULT_CANCELED", error)
185
114
  }
186
115
  }
187
116
 
188
117
  }
118
+
119
+ func textKey(from identifier: String) -> Liveness3DTextKey? {
120
+ switch identifier {
121
+ case "READY_HEADER_1": return .readyHeader1
122
+ case "READY_HEADER_2": return .readyHeader2
123
+ case "READY_MESSAGE_1": return .readyMessage1
124
+ case "READY_MESSAGE_2": return .readyMessage2
125
+ case "READY_BUTTON": return .readyButton
126
+ case "RETRY_HEADER": return .retryHeader
127
+ case "RETRY_SUBHEADER": return .retrySubheader
128
+ case "RETRY_YOUR_PICTURE": return .retryYourPicture
129
+ case "RETRY_IDEAL_PICTURE": return .retryIdealPicture
130
+ case "RETRY_MESSAGE_SMILE": return .retryMessageSmile
131
+ case "RETRY_MESSAGE_LIGHTING": return .retryMessageLightning
132
+ case "RETRY_MESSAGE_CONTRAST": return .retryMessageContrast
133
+ case "RETRY_BUTTON": return .retryButton
134
+ case "RESULT_UPLOAD_MESSAGE": return .resultUploadMessage
135
+ case "RESULT_SUCCESS_MESSAGE": return .resultSuccessMessage
136
+ case "FEEDBACK_CENTER_FACE": return .feedbackCenterFace
137
+ case "FEEDBACK_FACE_NOT_FOUND": return .feedbackFaceNotFound
138
+ case "FEEDBACK_FACE_NOT_LOOKING_STRAIGHT_AHEAD": return .feedbackFaceNotLookingStraightAhead
139
+ case "FEEDBACK_FACE_NOT_UPRIGHT": return .feedbackFaceNotUpright
140
+ case "FEEDBACK_HOLD_STEADY": return .feedbackHoldSteady
141
+ case "FEEDBACK_HOLD_STEADY_1": return .feedbackHoldSteady1
142
+ case "FEEDBACK_HOLD_STEADY_2": return .feedbackHoldSteady2
143
+ case "FEEDBACK_HOLD_STEADY_3": return .feedbackHoldSteady3
144
+ case "FEEDBACK_MOVE_PHONE_AWAY": return .feedbackMovePhoneAway
145
+ case "FEEDBACK_MOVE_PHONE_CLOSER": return .feedbackMovePhoneCloser
146
+ case "FEEDBACK_MOVE_PHONE_TO_EYE_LEVEL": return .feedbackMovePhoneToEyeLevel
147
+ case "FEEDBACK_USE_EVEN_LIGHTING": return .feedbackUseEvenLighting
148
+ case "FEEDBACK_FRAME_YOUR_FACE": return .feedbackFrameYourFace
149
+ case "FEEDBACK_POSITION_FACE_STRAIGHT_IN_OVAL": return .feedbackPositionFaceStraightInOval
150
+ case "FEEDBACK_REMOVE_DARK_GLASSES": return .feedbackRemoveDarkGlasses
151
+ case "FEEDBACK_NEUTRAL_EXPRESSION": return .feedbackNeutralExpression
152
+ case "FEEDBACK_CONDITIONS_TOO_BRIGHT": return .feedbackConditionsTooBright
153
+ case "FEEDBACK_BRIGHTEN_YOUR_ENVIRONMENT": return .feedbackBrightenYourEnvironment
154
+ default: return nil
155
+ }
156
+ }
157
+
158
+ func liveness3DTexts(from arguments: Any?) -> [Liveness3DTextKey : String] {
159
+ guard let textsDictionary = arguments as? Dictionary<String, String> else {
160
+ return [:]
161
+ }
162
+
163
+ let sequence: [(Liveness3DTextKey, String)] = textsDictionary
164
+ .compactMap {
165
+ guard let key = self.textKey(from: $0.key) else {
166
+ return nil
167
+ }
168
+ return (key, $0.value)
169
+ }
170
+ .filter { !$0.1.isEmpty }
171
+
172
+ return Dictionary(uniqueKeysWithValues: sequence)
173
+ }
174
+
175
+ func liveness3DTheme(theme: Any?, fonts: Any?) -> Liveness3DTheme {
176
+ let themeDictionary = theme as? Dictionary<String, Any>
177
+ let fontsDictionary = fonts as? Dictionary<String, Any>
178
+ print(fontsDictionary as Any)
179
+
180
+ var theme = Liveness3DTheme(.light)
181
+
182
+ let guidanceCustomizationHeaderFont = fontsDictionary?["guidanceCustomizationHeaderFont"] as? String ?? ""
183
+ let guidanceCustomizationSubtextFont = fontsDictionary?["guidanceCustomizationSubtextFont"] as? String ?? ""
184
+ let guidanceCustomizationButtonFont = fontsDictionary?["guidanceCustomizationButtonFont"] as? String ?? ""
185
+
186
+ let readyScreenCustomizationSubtextFont = fontsDictionary?["readyScreenCustomizationSubtextFont"] as? String ?? ""
187
+ let readyScreenCustomizationHeaderFont = fontsDictionary?["readyScreenCustomizationHeaderFont"] as? String ?? ""
188
+
189
+ let retryScreenCustomizationHeaderFont = fontsDictionary?["retryScreenCustomizationHeaderFont"] as? String ?? ""
190
+ let retryScreenCustomizationSubtextFont = fontsDictionary?["retryScreenCustomizationSubtextFont"] as? String ?? ""
191
+
192
+ let resultScreenCustomizationMessageFont = fontsDictionary?["resultScreenCustomizationMessageFont"] as? String ?? ""
193
+
194
+ let feedbackCustomizationTextFont = fontsDictionary?["feedbackCustomizationTextFont"] as? String ?? ""
195
+
196
+ theme.readyScreenCustomizationHeaderFont = UIFont(name: readyScreenCustomizationSubtextFont, size: 14)
197
+ theme.readyScreenCustomizationHeaderTextColor = .init(hex: themeDictionary?["guidanceCustomizationReadyScreenHeaderTextColor"] as? String ?? "#000000")
198
+ theme.readyScreenCustomizationSubtextFont = UIFont(name: readyScreenCustomizationHeaderFont, size: 14)
199
+ theme.readyScreenCustomizationSubtextTextColor = .init(hex: themeDictionary?["guidanceCustomizationReadyScreenSubtextTextColor"] as? String ?? "#333333")
200
+ theme.readyScreenCustomizationTextBackgroundColor = .init(hex: themeDictionary?["guidanceCustomizationTextBackgroundColor"] as? String ?? "")
201
+ theme.readyScreenCustomizationTextBackgroundCornerRadius = themeDictionary?["guidanceCustomizationTextBackgroundColorRadius"] as? Int32 ?? 0
202
+
203
+ theme.retryScreenCustomizationHeaderFont = UIFont(name: retryScreenCustomizationHeaderFont, size: 14)
204
+ theme.retryScreenCustomizationHeaderTextColor = .init(hex: themeDictionary?["guidanceCustomizationRetryScreenHeaderTextColor"] as? String ?? "#000000")
205
+ theme.retryScreenCustomizationSubtextFont = UIFont(name: retryScreenCustomizationSubtextFont, size: 14)
206
+ theme.retryScreenCustomizationSubtextTextColor = .init(hex: themeDictionary?["guidanceCustomizationRetryScreenSubtextTextColor"] as? String ?? "#333333")
207
+ theme.retryScreenCustomizationImageBorderColor = .init(hex: themeDictionary?["guidanceCustomizationRetryScreenImageBorderColor"] as? String ?? "#4bb75f")
208
+ theme.retryScreenCustomizationImageBorderWidth = themeDictionary?["guidanceCustomizationRetryScreenImageBorderWidth"] as? Int32 ?? 0
209
+ theme.retryScreenCustomizationImageCornerRadius = themeDictionary?["guidanceCustomizationRetryScreenImageCornerRadius"] as? Int32 ?? 0
210
+
211
+ theme.resultScreenCustomizationAnimationRelativeScale = 1.5
212
+ theme.resultScreenCustomizationTextColor = .init(hex: themeDictionary?["resultScreenCustomizationTextColor"] as? String ?? "#000000")
213
+ theme.resultScreenCustomizationShowUploadProgressBar = true
214
+ theme.resultScreenCustomizationUploadProgressFillColor = .init(hex: themeDictionary?["resultScreenCustomizationUploadProgressFillColor"] as? String ?? "#4bb75f")
215
+ theme.resultScreenCustomizationUploadProgressTrackColor = .init(hex: themeDictionary?["resultScreenCustomizationUploadProgressTrackColor"] as? String ?? "#333333")
216
+ theme.resultScreenCustomizationMessageFont = UIFont(name: resultScreenCustomizationMessageFont, size: 15.0)
217
+ theme.resultScreenCustomizationAnimationStyle = .blob(appearance: BlobAnimationAppearance(
218
+ blobColor: .blue,
219
+ checkmarkForegroundColor: .purple,
220
+ checkmarkBackgroundColor: .yellow
221
+ ))
222
+
223
+ theme.guidanceCustomizationHeaderFont = UIFont(name: guidanceCustomizationHeaderFont, size: 14)
224
+ theme.guidanceCustomizationSubtextFont = UIFont(name: guidanceCustomizationSubtextFont, size: 14)
225
+ theme.guidanceCustomizationButtonFont = UIFont(name: guidanceCustomizationButtonFont, size: 14)
226
+
227
+ theme.guidanceCustomizationButtonTextNormalColor = .init(hex: themeDictionary?["guidanceCustomizationButtonTextNormalColor"] as? String ?? "#000000")
228
+ theme.guidanceCustomizationButtonBackgroundNormalColor = .init(hex: themeDictionary?["guidanceCustomizationButtonBackgroundNormalColor"] as? String ?? "#4bb75f")
229
+ theme.guidanceCustomizationButtonTextHighlightColor = .init(hex: themeDictionary?["guidanceCustomizationButtonTextHighlightColor"] as? String ?? "#000000")
230
+ theme.guidanceCustomizationButtonBackgroundHighlightColor = .init(hex: themeDictionary?["guidanceCustomizationButtonBackgroundHighlightColor"] as? String ?? "#000000")
231
+ theme.guidanceCustomizationButtonTextDisabledColor = .init(hex: themeDictionary?["guidanceCustomizationButtonTextDisabledColor"] as? String ?? "#333333")
232
+ theme.guidanceCustomizationButtonBackgroundDisabledColor = .init(hex: themeDictionary?["guidanceCustomizationButtonBackgroundDisabledColor"] as? String ?? "#333333")
233
+ theme.guidanceCustomizationButtonBorderColor = .init(hex: themeDictionary?["guidanceCustomizationButtonBorderColor"] as? String ?? "#000000")
234
+ theme.guidanceCustomizationButtonBorderWidth = themeDictionary?["guidanceCustomizationButtonBorderWidth"] as? Int32 ?? 0
235
+ theme.guidanceCustomizationButtonCornerRadius = themeDictionary?["guidanceCustomizationButtonCornerRadius"] as? Int32 ?? 25
236
+
237
+ theme.frameCustomizationBorderWidth = themeDictionary?["frameCustomizationBorderWidth"] as? Int32 ?? 0
238
+ theme.frameCustomizationCornerRadius = themeDictionary?["frameCustomizationCornerRadius"] as? Int32 ?? 0
239
+ theme.frameCustomizationBorderColor = .init(hex: themeDictionary?["frameCustomizationBorderColor"] as? String ?? "#4bb75f")
240
+ theme.frameCustomizationBackgroundColor = .init(hex: themeDictionary?["frameCustomizationBackgroundColor"] as? String ?? "#FFFFFF")
241
+ theme.frameCustomizationShadow = Liveness3DShadow(
242
+ color: .red, opacity: 0.8,
243
+ radius: 1.0, offset: .zero,
244
+ insets: .init(top: 1.0, left: 0.5, bottom: 0.7, right: 0.5)
245
+ )
246
+
247
+ theme.ovalCustomizationStrokeWidth = themeDictionary?["ovalCustomizationStrokeWidth"] as? Int32 ?? 3
248
+ theme.ovalCustomizationStrokeColor = .init(hex: themeDictionary?["ovalCustomizationStrokeColor"] as? String ?? "#4bb75f")
249
+ theme.ovalCustomizationProgressStrokeWidth = themeDictionary?["ovalCustomizationProgressStrokeWidth"] as? Int32 ?? 2
250
+ theme.ovalCustomizationProgressColor1 = .init(hex: themeDictionary?["ovalCustomizationProgressColor1"] as? String ?? "#4bb75f")
251
+ theme.ovalCustomizationProgressColor2 = .init(hex: themeDictionary?["ovalCustomizationProgressColor2"] as? String ?? "#4bb75f")
252
+ theme.ovalCustomizationProgressRadialOffset = themeDictionary?["ovalCustomizationProgressRadialOffset"] as? Int32 ?? 2
253
+
254
+ theme.overlayCustomizationBackgroundColor = .init(hex: themeDictionary?["overlayCustomizationBackgroundColor"] as? String ?? "#FFFFFF")
255
+ theme.overlayCustomizationBrandingImage = UIImage(named: "")
256
+ theme.overlayCustomizationShowBrandingImage = false
257
+
258
+ theme.feedbackCustomizationTextColor = .init(hex: themeDictionary?["feedbackCustomizationTextColor"] as? String ?? "#FFFFFF")
259
+ theme.feedbackCustomizationTextFont = UIFont(name: "", size: 14)
260
+ theme.feedbackCustomizationShadow = Liveness3DShadow(
261
+ color: .purple, opacity: 0.5,
262
+ radius: 3.0, offset: .init(width: 2.0, height: 5.0),
263
+ insets: .init(top: 3.0, left: 1.5, bottom: 3.7, right: 7.5)
264
+ )
265
+ theme.feedbackCustomizationCornerRadius = themeDictionary?["feedbackCustomizationCornerRadius"] as? Int32 ?? 2
266
+ theme.feedbackCustomizationBackgroundColor = .init(hex: themeDictionary?["feedbackCustomizationBackgroundColors"] as? String ?? "#666666")
267
+
268
+ theme.cancelButtonCustomizationCustomImage = UIImage(named: "")
269
+ theme.cancelButtonCustomizationLocation = .topLeft
270
+
271
+ return theme
272
+ }
189
273
  }
190
274
 
191
275
  public extension UIColor {
@@ -1,2 +1,6 @@
1
1
  "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
2
6
  //# sourceMappingURL=ArgsType.js.map
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=FontsType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/FontsType.ts"],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=ResultType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/ResultType.ts"],"mappings":""}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=ResultTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/ResultTypes.ts"],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=TextsType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/TextsType.ts"],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=ThemeType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/ThemeType.ts"],"mappings":""}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.BackButton = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _Liveness3DContext = require("../context/Liveness3DContext");
10
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
11
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
12
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
13
+ const BackButton = _ref => {
14
+ let {
15
+ children,
16
+ ...props
17
+ } = _ref;
18
+ const touchableOpacityRef = (0, _react.useRef)(null);
19
+ const {
20
+ onBack
21
+ } = (0, _Liveness3DContext.useLiveness3DContext)();
22
+ const handlePress = () => {
23
+ onBack();
24
+ };
25
+ return (
26
+ /*#__PURE__*/
27
+ //@ts-ignore
28
+ _react.default.createElement(_reactNative.TouchableOpacity, _extends({
29
+ ref: touchableOpacityRef,
30
+ onPress: handlePress
31
+ }, props), children)
32
+ );
33
+ };
34
+ exports.BackButton = BackButton;
35
+ //# sourceMappingURL=BackButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_Liveness3DContext","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_extends","assign","bind","target","i","arguments","length","source","apply","BackButton","_ref","children","props","touchableOpacityRef","useRef","onBack","useLiveness3DContext","handlePress","createElement","TouchableOpacity","ref","onPress","exports"],"sourceRoot":"../../../src","sources":["actions/BackButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,kBAAA,GAAAF,OAAA;AAAoE,SAAAG,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAL,wBAAAS,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAd,GAAA,EAAAW,GAAA,SAAAI,IAAA,GAAAR,qBAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAV,GAAA,EAAAW,GAAA,cAAAI,IAAA,KAAAA,IAAA,CAAAV,GAAA,IAAAU,IAAA,CAAAC,GAAA,KAAAR,MAAA,CAAAC,cAAA,CAAAH,MAAA,EAAAK,GAAA,EAAAI,IAAA,YAAAT,MAAA,CAAAK,GAAA,IAAAX,GAAA,CAAAW,GAAA,SAAAL,MAAA,CAAAJ,OAAA,GAAAF,GAAA,MAAAG,KAAA,IAAAA,KAAA,CAAAa,GAAA,CAAAhB,GAAA,EAAAM,MAAA,YAAAA,MAAA;AAAA,SAAAW,SAAA,IAAAA,QAAA,GAAAT,MAAA,CAAAU,MAAA,GAAAV,MAAA,CAAAU,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAF,CAAA,UAAAG,MAAA,GAAAF,SAAA,CAAAD,CAAA,YAAAV,GAAA,IAAAa,MAAA,QAAAhB,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAU,MAAA,EAAAb,GAAA,KAAAS,MAAA,CAAAT,GAAA,IAAAa,MAAA,CAAAb,GAAA,gBAAAS,MAAA,YAAAH,QAAA,CAAAQ,KAAA,OAAAH,SAAA;AAG7D,MAAMI,UAA6C,GAAGC,IAAA,IAGvD;EAAA,IAHwD;IAC5DC,QAAQ;IACR,GAAGC;EACL,CAAC,GAAAF,IAAA;EACC,MAAMG,mBAAmB,GAAG,IAAAC,aAAM,EAAC,IAAI,CAAC;EACxC,MAAM;IAAEC;EAAO,CAAC,GAAG,IAAAC,uCAAoB,GAAE;EAEzC,MAAMC,WAAW,GAAGA,CAAA,KAAM;IACxBF,MAAM,EAAE;EACV,CAAC;EAED;IAAA;IACE;IACA1C,MAAA,CAAAY,OAAA,CAAAiC,aAAA,CAAC1C,YAAA,CAAA2C,gBAAgB,EAAAnB,QAAA;MACfoB,GAAG,EAAEP,mBAAoB;MACzBQ,OAAO,EAAEJ;IAAY,GACjBL,KAAK,GAERD,QAAQ;EACQ;AAEvB,CAAC;AAACW,OAAA,CAAAb,UAAA,GAAAA,UAAA"}
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ContinueButton = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _Liveness3DContext = require("../context/Liveness3DContext");
10
+ var _continueButton = require("../utils/continueButton");
11
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
12
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
13
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
14
+ const ContinueButton = _ref => {
15
+ let {
16
+ children,
17
+ ...props
18
+ } = _ref;
19
+ const touchableOpacityRef = (0, _react.useRef)(null);
20
+ const {
21
+ setScreen,
22
+ startLiveness
23
+ } = (0, _Liveness3DContext.useLiveness3DContext)();
24
+ function onContinue() {
25
+ (0, _continueButton.continueButton)().then(result => {
26
+ result === true && startLiveness();
27
+ result === false && setScreen(2);
28
+ });
29
+ }
30
+ const handlePress = () => {
31
+ onContinue();
32
+ };
33
+ return (
34
+ /*#__PURE__*/
35
+ //@ts-ignore
36
+ _react.default.createElement(_reactNative.TouchableOpacity, _extends({
37
+ ref: touchableOpacityRef,
38
+ onPress: handlePress
39
+ }, props), children)
40
+ );
41
+ };
42
+ exports.ContinueButton = ContinueButton;
43
+ //# sourceMappingURL=ContinueButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_Liveness3DContext","_continueButton","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_extends","assign","bind","target","i","arguments","length","source","apply","ContinueButton","_ref","children","props","touchableOpacityRef","useRef","setScreen","startLiveness","useLiveness3DContext","onContinue","continueButton","then","result","handlePress","createElement","TouchableOpacity","ref","onPress","exports"],"sourceRoot":"../../../src","sources":["actions/ContinueButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,kBAAA,GAAAF,OAAA;AACA,IAAAG,eAAA,GAAAH,OAAA;AAAyD,SAAAI,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAN,wBAAAU,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAd,GAAA,EAAAW,GAAA,SAAAI,IAAA,GAAAR,qBAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAV,GAAA,EAAAW,GAAA,cAAAI,IAAA,KAAAA,IAAA,CAAAV,GAAA,IAAAU,IAAA,CAAAC,GAAA,KAAAR,MAAA,CAAAC,cAAA,CAAAH,MAAA,EAAAK,GAAA,EAAAI,IAAA,YAAAT,MAAA,CAAAK,GAAA,IAAAX,GAAA,CAAAW,GAAA,SAAAL,MAAA,CAAAJ,OAAA,GAAAF,GAAA,MAAAG,KAAA,IAAAA,KAAA,CAAAa,GAAA,CAAAhB,GAAA,EAAAM,MAAA,YAAAA,MAAA;AAAA,SAAAW,SAAA,IAAAA,QAAA,GAAAT,MAAA,CAAAU,MAAA,GAAAV,MAAA,CAAAU,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAF,CAAA,UAAAG,MAAA,GAAAF,SAAA,CAAAD,CAAA,YAAAV,GAAA,IAAAa,MAAA,QAAAhB,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAU,MAAA,EAAAb,GAAA,KAAAS,MAAA,CAAAT,GAAA,IAAAa,MAAA,CAAAb,GAAA,gBAAAS,MAAA,YAAAH,QAAA,CAAAQ,KAAA,OAAAH,SAAA;AAGlD,MAAMI,cAAqD,GAAGC,IAAA,IAG/D;EAAA,IAHgE;IACpEC,QAAQ;IACR,GAAGC;EACL,CAAC,GAAAF,IAAA;EACC,MAAMG,mBAAmB,GAAG,IAAAC,aAAM,EAAC,IAAI,CAAC;EACxC,MAAM;IAAEC,SAAS;IAAEC;EAAc,CAAC,GAAG,IAAAC,uCAAoB,GAAE;EAE3D,SAASC,UAAUA,CAAA,EAAG;IACpB,IAAAC,8BAAc,GAAE,CAACC,IAAI,CAAEC,MAAM,IAAK;MAChCA,MAAM,KAAK,IAAI,IAAIL,aAAa,EAAE;MAClCK,MAAM,KAAK,KAAK,IAAIN,SAAS,CAAC,CAAC,CAAC;IAClC,CAAC,CAAC;EACJ;EAEA,MAAMO,WAAW,GAAGA,CAAA,KAAM;IACxBJ,UAAU,EAAE;EACd,CAAC;EAED;IAAA;IACE;IACA9C,MAAA,CAAAa,OAAA,CAAAsC,aAAA,CAAChD,YAAA,CAAAiD,gBAAgB,EAAAxB,QAAA;MACfyB,GAAG,EAAEZ,mBAAoB;MACzBa,OAAO,EAAEJ;IAAY,GACjBV,KAAK,GAERD,QAAQ;EACQ;AAEvB,CAAC;AAACgB,OAAA,CAAAlB,cAAA,GAAAA,cAAA"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.PermissionButton = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _Liveness3DContext = require("../context/Liveness3DContext");
10
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
11
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
12
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
13
+ const PermissionButton = _ref => {
14
+ let {
15
+ children,
16
+ ...props
17
+ } = _ref;
18
+ const touchableOpacityRef = (0, _react.useRef)(null);
19
+ const {
20
+ onAskPermission
21
+ } = (0, _Liveness3DContext.useLiveness3DContext)();
22
+ const handlePress = () => {
23
+ onAskPermission();
24
+ };
25
+ return (
26
+ /*#__PURE__*/
27
+ //@ts-ignore
28
+ _react.default.createElement(_reactNative.TouchableOpacity, _extends({
29
+ ref: touchableOpacityRef,
30
+ onPress: handlePress
31
+ }, props), children)
32
+ );
33
+ };
34
+ exports.PermissionButton = PermissionButton;
35
+ //# sourceMappingURL=PermissionButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_Liveness3DContext","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_extends","assign","bind","target","i","arguments","length","source","apply","PermissionButton","_ref","children","props","touchableOpacityRef","useRef","onAskPermission","useLiveness3DContext","handlePress","createElement","TouchableOpacity","ref","onPress","exports"],"sourceRoot":"../../../src","sources":["actions/PermissionButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,kBAAA,GAAAF,OAAA;AAAoE,SAAAG,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAL,wBAAAS,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAd,GAAA,EAAAW,GAAA,SAAAI,IAAA,GAAAR,qBAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAV,GAAA,EAAAW,GAAA,cAAAI,IAAA,KAAAA,IAAA,CAAAV,GAAA,IAAAU,IAAA,CAAAC,GAAA,KAAAR,MAAA,CAAAC,cAAA,CAAAH,MAAA,EAAAK,GAAA,EAAAI,IAAA,YAAAT,MAAA,CAAAK,GAAA,IAAAX,GAAA,CAAAW,GAAA,SAAAL,MAAA,CAAAJ,OAAA,GAAAF,GAAA,MAAAG,KAAA,IAAAA,KAAA,CAAAa,GAAA,CAAAhB,GAAA,EAAAM,MAAA,YAAAA,MAAA;AAAA,SAAAW,SAAA,IAAAA,QAAA,GAAAT,MAAA,CAAAU,MAAA,GAAAV,MAAA,CAAAU,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAF,CAAA,UAAAG,MAAA,GAAAF,SAAA,CAAAD,CAAA,YAAAV,GAAA,IAAAa,MAAA,QAAAhB,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAU,MAAA,EAAAb,GAAA,KAAAS,MAAA,CAAAT,GAAA,IAAAa,MAAA,CAAAb,GAAA,gBAAAS,MAAA,YAAAH,QAAA,CAAAQ,KAAA,OAAAH,SAAA;AAG7D,MAAMI,gBAAyD,GAAGC,IAAA,IAGnE;EAAA,IAHoE;IACxEC,QAAQ;IACR,GAAGC;EACL,CAAC,GAAAF,IAAA;EACC,MAAMG,mBAAmB,GAAG,IAAAC,aAAM,EAAC,IAAI,CAAC;EACxC,MAAM;IAAEC;EAAgB,CAAC,GAAG,IAAAC,uCAAoB,GAAE;EAElD,MAAMC,WAAW,GAAGA,CAAA,KAAM;IACxBF,eAAe,EAAE;EACnB,CAAC;EAED;IAAA;IACE;IACA1C,MAAA,CAAAY,OAAA,CAAAiC,aAAA,CAAC1C,YAAA,CAAA2C,gBAAgB,EAAAnB,QAAA;MACfoB,GAAG,EAAEP,mBAAoB;MACzBQ,OAAO,EAAEJ;IAAY,GACjBL,KAAK,GAERD,QAAQ;EACQ;AAEvB,CAAC;AAACW,OAAA,CAAAb,gBAAA,GAAAA,gBAAA"}