@oiti/rn-liveness3d 4.0.0 → 5.1.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 (435) hide show
  1. package/android/build.gradle +1 -1
  2. package/android/gradle.properties +5 -5
  3. package/android/src/main/AndroidManifest.xml +1 -8
  4. package/android/src/main/java/br/com/oiti/rnliveness3d/RnLiveness3dModule.kt +218 -192
  5. package/android/src/main/java/br/com/oiti/rnliveness3d/RnLiveness3dPackage.kt +25 -8
  6. package/android/src/main/java/br/com/oiti/rnliveness3d/theme/Liveness3DFonts.kt +32 -38
  7. package/android/src/main/java/br/com/oiti/rnliveness3d/theme/Liveness3DText.kt +5 -3
  8. package/android/src/main/java/br/com/oiti/rnliveness3d/theme/Liveness3DTheme.kt +229 -147
  9. package/android/src/res/font/sixty.ttf +0 -0
  10. package/ios/Podfile +1 -1
  11. package/ios/Pods/Manifest.lock +34 -22
  12. package/ios/RnLiveness3d.h +5 -0
  13. package/ios/RnLiveness3d.mm +72 -0
  14. package/ios/{RnLiveness3d.swift → RnLiveness3dSwiftModule.swift} +131 -132
  15. package/lib/commonjs/@types/ArgsType.js.map +1 -1
  16. package/lib/commonjs/@types/FontsType.js.map +1 -1
  17. package/lib/commonjs/@types/ResultType.js.map +1 -1
  18. package/lib/commonjs/@types/ResultTypes.js.map +1 -1
  19. package/lib/commonjs/@types/TextsType.js.map +1 -1
  20. package/lib/commonjs/@types/ThemeType.js.map +1 -1
  21. package/lib/commonjs/NativeRnLiveness3d.js +9 -0
  22. package/lib/commonjs/NativeRnLiveness3d.js.map +1 -0
  23. package/lib/commonjs/actions/BackButton.js +6 -8
  24. package/lib/commonjs/actions/BackButton.js.map +1 -1
  25. package/lib/commonjs/actions/ContinueButton.js +11 -12
  26. package/lib/commonjs/actions/ContinueButton.js.map +1 -1
  27. package/lib/commonjs/actions/PermissionButton.js +8 -10
  28. package/lib/commonjs/actions/PermissionButton.js.map +1 -1
  29. package/lib/commonjs/context/Liveness3DContext.js +12 -28
  30. package/lib/commonjs/context/Liveness3DContext.js.map +1 -1
  31. package/lib/commonjs/helpers/Liveness3DHelper.js +7 -10
  32. package/lib/commonjs/helpers/Liveness3DHelper.js.map +1 -1
  33. package/lib/commonjs/index.js +37 -132
  34. package/lib/commonjs/index.js.map +1 -1
  35. package/lib/commonjs/interfaces/Liveness3DHelper.js.map +1 -1
  36. package/lib/commonjs/interfaces/OitiBackButtonInterface.js.map +1 -1
  37. package/lib/commonjs/interfaces/OitiContinueButton.js.map +1 -1
  38. package/lib/commonjs/interfaces/OitiPermissionButtonInterface.js.map +1 -1
  39. package/lib/commonjs/screens/Liveness3D/InstructionsView.js +4 -8
  40. package/lib/commonjs/screens/Liveness3D/InstructionsView.js.map +1 -1
  41. package/lib/commonjs/screens/PermissionView.js +4 -8
  42. package/lib/commonjs/screens/PermissionView.js.map +1 -1
  43. package/lib/commonjs/utils/continueButton.js +2 -7
  44. package/lib/commonjs/utils/continueButton.js.map +1 -1
  45. package/lib/commonjs/utils/normalize.js.map +1 -1
  46. package/lib/commonjs/utils/permissions.js +11 -21
  47. package/lib/commonjs/utils/permissions.js.map +1 -1
  48. package/lib/commonjs/utils/screenStore.js +1 -2
  49. package/lib/commonjs/utils/screenStore.js.map +1 -1
  50. package/lib/module/@types/ArgsType.js.map +1 -1
  51. package/lib/module/@types/FontsType.js.map +1 -1
  52. package/lib/module/@types/ResultType.js.map +1 -1
  53. package/lib/module/@types/ResultTypes.js.map +1 -1
  54. package/lib/module/@types/TextsType.js.map +1 -1
  55. package/lib/module/@types/ThemeType.js.map +1 -1
  56. package/lib/module/NativeRnLiveness3d.js +3 -0
  57. package/lib/module/NativeRnLiveness3d.js.map +1 -0
  58. package/lib/module/actions/BackButton.js +5 -6
  59. package/lib/module/actions/BackButton.js.map +1 -1
  60. package/lib/module/actions/ContinueButton.js +10 -10
  61. package/lib/module/actions/ContinueButton.js.map +1 -1
  62. package/lib/module/actions/PermissionButton.js +7 -8
  63. package/lib/module/actions/PermissionButton.js.map +1 -1
  64. package/lib/module/context/Liveness3DContext.js +10 -23
  65. package/lib/module/context/Liveness3DContext.js.map +1 -1
  66. package/lib/module/helpers/Liveness3DHelper.js +6 -7
  67. package/lib/module/helpers/Liveness3DHelper.js.map +1 -1
  68. package/lib/module/index.js +33 -120
  69. package/lib/module/index.js.map +1 -1
  70. package/lib/module/interfaces/Liveness3DHelper.js.map +1 -1
  71. package/lib/module/interfaces/OitiBackButtonInterface.js.map +1 -1
  72. package/lib/module/interfaces/OitiContinueButton.js.map +1 -1
  73. package/lib/module/interfaces/OitiPermissionButtonInterface.js.map +1 -1
  74. package/lib/module/screens/Liveness3D/InstructionsView.js +4 -6
  75. package/lib/module/screens/Liveness3D/InstructionsView.js.map +1 -1
  76. package/lib/module/screens/PermissionView.js +4 -6
  77. package/lib/module/screens/PermissionView.js.map +1 -1
  78. package/lib/module/utils/continueButton.js +3 -8
  79. package/lib/module/utils/continueButton.js.map +1 -1
  80. package/lib/module/utils/normalize.js.map +1 -1
  81. package/lib/module/utils/permissions.js +8 -17
  82. package/lib/module/utils/permissions.js.map +1 -1
  83. package/lib/module/utils/screenStore.js.map +1 -1
  84. package/oiti-rn-liveness3d.podspec +1 -1
  85. package/package.json +1 -1
  86. package/src/@types/ArgsType.ts +3 -4
  87. package/src/@types/ResultTypes.ts +3 -1
  88. package/src/NativeRnLiveness3d.ts +9 -0
  89. package/src/actions/BackButton.tsx +1 -1
  90. package/src/actions/ContinueButton.tsx +6 -5
  91. package/src/actions/PermissionButton.tsx +3 -3
  92. package/src/context/Liveness3DContext.tsx +11 -24
  93. package/src/helpers/Liveness3DHelper.tsx +1 -1
  94. package/src/index.tsx +27 -131
  95. package/src/interfaces/Liveness3DHelper.tsx +4 -2
  96. package/src/screens/Liveness3D/InstructionsView.tsx +0 -2
  97. package/src/screens/PermissionView.tsx +0 -1
  98. package/src/utils/continueButton.tsx +3 -10
  99. package/src/utils/permissions.tsx +9 -26
  100. package/android/settings.gradle +0 -6
  101. package/ios/Podfile.lock +0 -38
  102. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/Info.plist +0 -46
  103. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Headers/OICommons-Swift.h +0 -327
  104. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Headers/OICommons.h +0 -15
  105. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Info.plist +0 -0
  106. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Inter-Bold.otf +0 -0
  107. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Inter-Medium.otf +0 -0
  108. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Inter-Regular.otf +0 -0
  109. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.abi.json +0 -9
  110. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -1818
  111. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  112. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.swiftinterface +0 -1818
  113. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/module.modulemap +0 -11
  114. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/OICommons +0 -0
  115. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Ubuntu-Bold.otf +0 -0
  116. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Ubuntu-Medium.otf +0 -0
  117. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Ubuntu-Regular.otf +0 -0
  118. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/dSYMs/OICommons.framework.dSYM/Contents/Info.plist +0 -20
  119. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/dSYMs/OICommons.framework.dSYM/Contents/Resources/DWARF/OICommons +0 -0
  120. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Headers/OICommons-Swift.h +0 -650
  121. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Headers/OICommons.h +0 -15
  122. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Info.plist +0 -0
  123. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Inter-Bold.otf +0 -0
  124. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Inter-Medium.otf +0 -0
  125. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Inter-Regular.otf +0 -0
  126. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -9
  127. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -1818
  128. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  129. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -1818
  130. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -9
  131. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -1818
  132. 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
  133. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -1818
  134. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/module.modulemap +0 -11
  135. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/OICommons +0 -0
  136. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Ubuntu-Bold.otf +0 -0
  137. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Ubuntu-Medium.otf +0 -0
  138. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Ubuntu-Regular.otf +0 -0
  139. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/_CodeSignature/CodeResources +0 -311
  140. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework.zip +0 -0
  141. package/ios/Pods/OICommons/README.md +0 -1
  142. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/Info.plist +0 -46
  143. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Assets.car +0 -0
  144. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Headers/OIComponents-Swift.h +0 -455
  145. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Headers/OIComponents.h +0 -18
  146. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Info.plist +0 -0
  147. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.abi.json +0 -9
  148. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -732
  149. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  150. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.swiftinterface +0 -732
  151. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/module.modulemap +0 -11
  152. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/OIComponents +0 -0
  153. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/dSYMs/OIComponents.framework.dSYM/Contents/Info.plist +0 -20
  154. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/dSYMs/OIComponents.framework.dSYM/Contents/Resources/DWARF/OIComponents +0 -0
  155. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Assets.car +0 -0
  156. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Headers/OIComponents-Swift.h +0 -906
  157. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Headers/OIComponents.h +0 -18
  158. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Info.plist +0 -0
  159. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -9
  160. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -732
  161. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  162. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -732
  163. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -9
  164. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -732
  165. 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
  166. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -732
  167. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/module.modulemap +0 -11
  168. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/OIComponents +0 -0
  169. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/_CodeSignature/CodeResources +0 -256
  170. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework.zip +0 -0
  171. package/ios/Pods/OIComponents/README.md +0 -1
  172. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/Info.plist +0 -46
  173. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Assets.car +0 -0
  174. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Headers/OILiveness3D-Swift.h +0 -343
  175. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Headers/OILiveness3D.h +0 -18
  176. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Info.plist +0 -0
  177. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/Por_favor_pressione_o_botao_para_iniciar.mp3 +0 -0
  178. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/Toque_duas_veezs_em_qualquer_lugar_da_tela.mp3 +0 -0
  179. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/carregando.mp3 +0 -0
  180. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/escaneamento_feito_com_sucesso.mp3 +0 -0
  181. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/por_favor_chegue_mais_perto.mp3 +0 -0
  182. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/por_favor_tente_novamente.mp3 +0 -0
  183. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/prepare-se_para_seu_reconhecimento_facial.mp3 +0 -0
  184. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/rosto_muito_longe.mp3 +0 -0
  185. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/segure_firme.mp3 +0 -0
  186. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/suporte_vocal_desligado.mp3 +0 -0
  187. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/suporte_vocal_ligado.mp3 +0 -0
  188. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.abi.json +0 -9
  189. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -226
  190. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  191. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.swiftinterface +0 -226
  192. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/module.modulemap +0 -11
  193. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/OILiveness3D +0 -0
  194. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Info.plist +0 -20
  195. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/DWARF/OILiveness3D +0 -0
  196. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OICommons.swiftinterface +0 -1818
  197. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OIComponents.swiftinterface +0 -732
  198. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OINetwork.swiftinterface +0 -144
  199. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OISecurity.swiftinterface +0 -164
  200. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Assets.car +0 -0
  201. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Headers/OILiveness3D-Swift.h +0 -682
  202. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Headers/OILiveness3D.h +0 -18
  203. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Info.plist +0 -0
  204. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/Por_favor_pressione_o_botao_para_iniciar.mp3 +0 -0
  205. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/Toque_duas_veezs_em_qualquer_lugar_da_tela.mp3 +0 -0
  206. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/carregando.mp3 +0 -0
  207. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/escaneamento_feito_com_sucesso.mp3 +0 -0
  208. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/por_favor_chegue_mais_perto.mp3 +0 -0
  209. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/por_favor_tente_novamente.mp3 +0 -0
  210. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/prepare-se_para_seu_reconhecimento_facial.mp3 +0 -0
  211. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/rosto_muito_longe.mp3 +0 -0
  212. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/segure_firme.mp3 +0 -0
  213. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/suporte_vocal_desligado.mp3 +0 -0
  214. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/suporte_vocal_ligado.mp3 +0 -0
  215. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -9
  216. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -226
  217. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  218. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -226
  219. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -9
  220. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -226
  221. 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
  222. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -226
  223. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/module.modulemap +0 -11
  224. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/OILiveness3D +0 -0
  225. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/_CodeSignature/CodeResources +0 -377
  226. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework.zip +0 -0
  227. package/ios/Pods/OILiveness3D/README.md +0 -32
  228. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/Info.plist +0 -44
  229. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Assets.car +0 -0
  230. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/FaceTecSDK +0 -0
  231. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/GenericGuidanceContentLayout.nib +0 -0
  232. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecPublicApi.h +0 -1932
  233. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecPublicStringKeys.h +0 -105
  234. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecSDK.h +0 -16
  235. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Info.plist +0 -0
  236. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Modules/module.modulemap +0 -6
  237. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/PrivacyInfo.xcprivacy +0 -29
  238. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/ReadyScreenGuidanceContentLayout.nib +0 -0
  239. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/RetryScreenGuidanceContentLayout.nib +0 -0
  240. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/SharedGuidanceLayout.nib +0 -0
  241. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/9Uo-4b-JiE-view-Ae0-rb-UqS.nib +0 -0
  242. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/CJ6-MX-bJp-view-8JL-Rc-0g1.nib +0 -0
  243. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceScanViewController.nib +0 -0
  244. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceTecAdditionalReviewViewController.nib +0 -0
  245. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceTecIDFeedbackViewController.nib +0 -0
  246. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceTecOCRConfirmationViewController.nib +0 -0
  247. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/IDCaptureViewController.nib +0 -0
  248. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/IDSelectionViewController.nib +0 -0
  249. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/Info.plist +0 -0
  250. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/Pyw-6G-JSY-view-Zue-Eo-Q2U.nib +0 -0
  251. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/QWA-8Y-vUM-view-wJB-Z5-eD2.nib +0 -0
  252. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/alz-Ia-X3d-view-IKu-EI-Hug.nib +0 -0
  253. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/l2Q-cc-kD8-view-UUy-6c-meu.nib +0 -0
  254. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/af.lproj/FaceTec.strings +0 -0
  255. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/ar.lproj/FaceTec.strings +0 -0
  256. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/attributions.txt +0 -137
  257. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/1f5b84f51ce0fcfbb76e904b7bcaa7560f601e1394a0b29367a09385312287eb +0 -0
  258. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/2b075ac1a6132b5b8a4c9ef0ba6b0cd84db7838aca9a000e50d907f40770a4ab +0 -0
  259. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/59cc2a9af81aaca2376702c2490650f4da2775fa673274db98aad41b7ef101c0 +0 -0
  260. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/5b63e98b991aedabb60665503384f30bffd939decf9433883b30b78011ee501a +0 -0
  261. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/66388dc76dc16bc6b76b682edd218a575bf45b9b +0 -0
  262. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/6b3133f0f39ff89a2a169d61176ee17cafacc5e288f334e2b64ee82892d11ccd +0 -0
  263. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/9077d16225f9314163ef1e7db6fc7d4088bb903d134bd95f23d5591ca4dfbfca +0 -0
  264. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/a74f2afb9d20f2375ccbd14e67c094b85c89ceb608f7cf8ae04f3f646a6c5672 +0 -0
  265. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/b501893e75f62ee1707643e35b21109927b07ed5b202321c961b424cbc2e4695 +0 -0
  266. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/dbd7a353f0130bb983d6ba05917e9be991d70e8f028df4b74e30bc6497ef7f71 +0 -0
  267. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/f2.xml +0 -0
  268. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/fd6d368a5658496536e2bfae170d1b823a3629b242cafc09784bfba4e56d8c80 +0 -0
  269. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/marker +0 -0
  270. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/vu0ilin6we3lrzo5f83f7qs2jul4aq7v4aoynrmch8zfvpi8ezrfyafa4t0fx87l +0 -0
  271. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/de.lproj/FaceTec.strings +0 -0
  272. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/el.lproj/FaceTec.strings +0 -0
  273. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/en.lproj/FaceTec.strings +0 -0
  274. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/es.lproj/FaceTec.strings +0 -0
  275. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/fr.lproj/FaceTec.strings +0 -0
  276. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/kk.lproj/FaceTec.strings +0 -0
  277. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/nb.lproj/FaceTec.strings +0 -0
  278. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/pt-BR.lproj/FaceTec.strings +0 -0
  279. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/ru.lproj/FaceTec.strings +0 -0
  280. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/strip-unused-architectures-from-target.sh +0 -62
  281. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/FaceTecSDK +0 -0
  282. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecPublicApi.h +0 -1932
  283. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecPublicStringKeys.h +0 -105
  284. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecSDK.h +0 -16
  285. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Info.plist +0 -0
  286. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Modules/module.modulemap +0 -6
  287. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/_CodeSignature/CodeResources +0 -146
  288. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework.zip +0 -0
  289. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/Info.plist +0 -46
  290. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Headers/OINetwork-Swift.h +0 -312
  291. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Headers/OINetwork.h +0 -15
  292. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Info.plist +0 -0
  293. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.abi.json +0 -9
  294. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -144
  295. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  296. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.swiftinterface +0 -144
  297. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/module.modulemap +0 -11
  298. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/OINetwork +0 -0
  299. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/dSYMs/OINetwork.framework.dSYM/Contents/Info.plist +0 -20
  300. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/dSYMs/OINetwork.framework.dSYM/Contents/Resources/DWARF/OINetwork +0 -0
  301. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/dSYMs/OINetwork.framework.dSYM/Contents/Resources/Swift/aarch64/OICommons.swiftinterface +0 -1818
  302. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Headers/OINetwork-Swift.h +0 -620
  303. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Headers/OINetwork.h +0 -15
  304. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Info.plist +0 -0
  305. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -9
  306. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -144
  307. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  308. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -144
  309. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -9
  310. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -144
  311. 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
  312. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -144
  313. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/module.modulemap +0 -11
  314. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/OINetwork +0 -0
  315. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/_CodeSignature/CodeResources +0 -245
  316. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework.zip +0 -0
  317. package/ios/Pods/OINetwork/README.md +0 -1
  318. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/Info.plist +0 -46
  319. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Headers/OISecurity-Swift.h +0 -311
  320. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Headers/OISecurity.h +0 -16
  321. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Info.plist +0 -0
  322. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.abi.json +0 -9
  323. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -164
  324. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  325. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.swiftinterface +0 -164
  326. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/module.modulemap +0 -11
  327. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/OISecurity +0 -0
  328. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/PrivacyInfo.xcprivacy +0 -37
  329. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/dSYMs/OISecurity.framework.dSYM/Contents/Info.plist +0 -20
  330. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/dSYMs/OISecurity.framework.dSYM/Contents/Resources/DWARF/OISecurity +0 -0
  331. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/dSYMs/OISecurity.framework.dSYM/Contents/Resources/Swift/aarch64/OICommons.swiftinterface +0 -1818
  332. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/dSYMs/OISecurity.framework.dSYM/Contents/Resources/Swift/aarch64/OINetwork.swiftinterface +0 -144
  333. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Headers/OISecurity-Swift.h +0 -618
  334. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Headers/OISecurity.h +0 -16
  335. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Info.plist +0 -0
  336. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -9
  337. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -164
  338. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  339. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -164
  340. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -9
  341. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -164
  342. 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
  343. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -164
  344. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/module.modulemap +0 -11
  345. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/OISecurity +0 -0
  346. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/PrivacyInfo.xcprivacy +0 -37
  347. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/_CodeSignature/CodeResources +0 -256
  348. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework.zip +0 -0
  349. package/ios/Pods/OISecurity/README.md +0 -1
  350. package/ios/Pods/Pods.xcodeproj/project.pbxproj +0 -1239
  351. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OICommons.xcscheme +0 -58
  352. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OIComponents.xcscheme +0 -58
  353. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OILiveness3D.xcscheme +0 -58
  354. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OILiveness3D_FT.xcscheme +0 -58
  355. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OINetwork.xcscheme +0 -58
  356. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OISecurity.xcscheme +0 -58
  357. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/Pods-RnLiveness3d.xcscheme +0 -58
  358. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/xcschememanagement.plist +0 -46
  359. package/ios/Pods/Target Support Files/OICommons/OICommons-xcframeworks.sh +0 -121
  360. package/ios/Pods/Target Support Files/OICommons/OICommons.debug.xcconfig +0 -15
  361. package/ios/Pods/Target Support Files/OICommons/OICommons.release.xcconfig +0 -15
  362. package/ios/Pods/Target Support Files/OIComponents/OIComponents-xcframeworks.sh +0 -121
  363. package/ios/Pods/Target Support Files/OIComponents/OIComponents.debug.xcconfig +0 -15
  364. package/ios/Pods/Target Support Files/OIComponents/OIComponents.release.xcconfig +0 -15
  365. package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D-xcframeworks.sh +0 -121
  366. package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D.debug.xcconfig +0 -16
  367. package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D.release.xcconfig +0 -16
  368. package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT-xcframeworks.sh +0 -121
  369. package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT.debug.xcconfig +0 -13
  370. package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT.release.xcconfig +0 -13
  371. package/ios/Pods/Target Support Files/OINetwork/OINetwork-xcframeworks.sh +0 -121
  372. package/ios/Pods/Target Support Files/OINetwork/OINetwork.debug.xcconfig +0 -16
  373. package/ios/Pods/Target Support Files/OINetwork/OINetwork.release.xcconfig +0 -16
  374. package/ios/Pods/Target Support Files/OISecurity/OISecurity-xcframeworks.sh +0 -121
  375. package/ios/Pods/Target Support Files/OISecurity/OISecurity.debug.xcconfig +0 -16
  376. package/ios/Pods/Target Support Files/OISecurity/OISecurity.release.xcconfig +0 -16
  377. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-Info.plist +0 -26
  378. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-acknowledgements.markdown +0 -23
  379. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-acknowledgements.plist +0 -79
  380. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-dummy.m +0 -5
  381. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-umbrella.h +0 -16
  382. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.debug.xcconfig +0 -14
  383. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.modulemap +0 -6
  384. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.release.xcconfig +0 -14
  385. package/ios/RnLiveness3d-Bridging-Header.h +0 -2
  386. package/ios/RnLiveness3d.m +0 -34
  387. package/ios/RnLiveness3d.xcodeproj/project.pbxproj +0 -337
  388. package/ios/RnLiveness3d.xcodeproj/xcshareddata/xcschemes/RnLiveness3d.xcscheme +0 -80
  389. package/ios/RnLiveness3d.xcworkspace/contents.xcworkspacedata +0 -10
  390. package/ios/RnLiveness3d.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  391. package/ios/info.plist +0 -8
  392. package/lib/typescript/@types/ArgsType.d.ts +0 -19
  393. package/lib/typescript/@types/ArgsType.d.ts.map +0 -1
  394. package/lib/typescript/@types/FontsType.d.ts +0 -12
  395. package/lib/typescript/@types/FontsType.d.ts.map +0 -1
  396. package/lib/typescript/@types/ResultType.d.ts +0 -13
  397. package/lib/typescript/@types/ResultType.d.ts.map +0 -1
  398. package/lib/typescript/@types/ResultTypes.d.ts +0 -6
  399. package/lib/typescript/@types/ResultTypes.d.ts.map +0 -1
  400. package/lib/typescript/@types/TextsType.d.ts +0 -36
  401. package/lib/typescript/@types/TextsType.d.ts.map +0 -1
  402. package/lib/typescript/@types/ThemeType.d.ts +0 -48
  403. package/lib/typescript/@types/ThemeType.d.ts.map +0 -1
  404. package/lib/typescript/actions/BackButton.d.ts +0 -4
  405. package/lib/typescript/actions/BackButton.d.ts.map +0 -1
  406. package/lib/typescript/actions/ContinueButton.d.ts +0 -4
  407. package/lib/typescript/actions/ContinueButton.d.ts.map +0 -1
  408. package/lib/typescript/actions/PermissionButton.d.ts +0 -4
  409. package/lib/typescript/actions/PermissionButton.d.ts.map +0 -1
  410. package/lib/typescript/context/Liveness3DContext.d.ts +0 -28
  411. package/lib/typescript/context/Liveness3DContext.d.ts.map +0 -1
  412. package/lib/typescript/helpers/Liveness3DHelper.d.ts +0 -4
  413. package/lib/typescript/helpers/Liveness3DHelper.d.ts.map +0 -1
  414. package/lib/typescript/index.d.ts +0 -32
  415. package/lib/typescript/index.d.ts.map +0 -1
  416. package/lib/typescript/interfaces/Liveness3DHelper.d.ts +0 -7
  417. package/lib/typescript/interfaces/Liveness3DHelper.d.ts.map +0 -1
  418. package/lib/typescript/interfaces/OitiBackButtonInterface.d.ts +0 -6
  419. package/lib/typescript/interfaces/OitiBackButtonInterface.d.ts.map +0 -1
  420. package/lib/typescript/interfaces/OitiContinueButton.d.ts +0 -6
  421. package/lib/typescript/interfaces/OitiContinueButton.d.ts.map +0 -1
  422. package/lib/typescript/interfaces/OitiPermissionButtonInterface.d.ts +0 -6
  423. package/lib/typescript/interfaces/OitiPermissionButtonInterface.d.ts.map +0 -1
  424. package/lib/typescript/screens/Liveness3D/InstructionsView.d.ts +0 -6
  425. package/lib/typescript/screens/Liveness3D/InstructionsView.d.ts.map +0 -1
  426. package/lib/typescript/screens/PermissionView.d.ts +0 -6
  427. package/lib/typescript/screens/PermissionView.d.ts.map +0 -1
  428. package/lib/typescript/utils/continueButton.d.ts +0 -2
  429. package/lib/typescript/utils/continueButton.d.ts.map +0 -1
  430. package/lib/typescript/utils/normalize.d.ts +0 -2
  431. package/lib/typescript/utils/normalize.d.ts.map +0 -1
  432. package/lib/typescript/utils/permissions.d.ts +0 -4
  433. package/lib/typescript/utils/permissions.d.ts.map +0 -1
  434. package/lib/typescript/utils/screenStore.d.ts +0 -5
  435. package/lib/typescript/utils/screenStore.d.ts.map +0 -1
@@ -1,130 +1,112 @@
1
+ import AVFoundation
1
2
  import OILiveness3D
2
3
  import OIComponents
3
4
  import OICommons
4
- import AVFoundation
5
5
  import OISecurity
6
6
  import UIKit
7
7
 
8
- @objc(RnLiveness3d)
9
- class RnLiveness3d: NSObject, Liveness3DDelegate {
10
-
11
- var securityManager: SecurityManager?
12
- var resolve:RCTPromiseResolveBlock!
13
- var reject:RCTPromiseRejectBlock!
14
-
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)
8
+ public typealias PromiseResolveBlock = (Any?) -> Void
9
+ public typealias PromiseRejectBlock = (_ code: String, _ message: String, _ error: Error?) -> Void
10
+ public typealias ResponseSenderBlock = ([Any]) -> Void
11
+ public typealias PresenterBlock = (_ viewController: UIViewController, _ animated: Bool) -> Void
12
+
13
+ @objcMembers
14
+ public class RnLiveness3dSwiftModule: NSObject {
15
+ private var resolve: PromiseResolveBlock!
16
+ private var reject: PromiseRejectBlock!
17
+
18
+ public override init() {
19
+ super.init()
25
20
  }
26
-
27
- func handleLiveness3DError(error: OILiveness3D.Liveness3DError) {
28
- reject("\(error.code)", "\(error.message)", error.type as Error)
21
+
22
+ public func checkCameraPermissionGranted() -> Bool {
23
+ AVCaptureDevice.authorizationStatus(for: AVMediaType.video) == AVAuthorizationStatus.authorized
29
24
  }
30
-
31
- @objc(checkiospermission:withResolver:withRejecter:)
32
- func checkiospermission(args: Dictionary<String,Any>?, resolve:@escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) -> Void {
25
+
26
+ public func requestCameraPermission(_ resolve: @escaping ResponseSenderBlock) -> Void {
33
27
  AVCaptureDevice.requestAccess(for: .video) { granted in
34
28
  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)
29
+ if !granted, let settingsURL = URL(string: UIApplication.openSettingsURLString) {
30
+ UIApplication.shared.open(settingsURL, options: [:]) { _ in }
42
31
  }
32
+ resolve([granted])
43
33
  }
44
34
  }
45
35
  }
46
-
47
- @objc(checkpermissiongranted:withResolver:withRejecter:)
48
- func checkpermissiongranted(args: Dictionary<String,Any>?, resolve:@escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) -> Void {
49
- if AVCaptureDevice.authorizationStatus(for: AVMediaType.video) == AVAuthorizationStatus.authorized {
50
- resolve(true)
51
- } else {
52
- resolve(false)
36
+
37
+ public func startLiveness3d(
38
+ _ args: NSDictionary,
39
+ resolve: @escaping PromiseResolveBlock,
40
+ reject: @escaping PromiseRejectBlock,
41
+ presenter: @escaping PresenterBlock
42
+ ) -> Void {
43
+ guard checkCameraPermissionGranted() else {
44
+ let error = NSError(
45
+ domain: "br.com.oiti.rnliveness3d",
46
+ code: -1,
47
+ userInfo: [NSLocalizedDescriptionKey: "RESULT_CANCELED"]
48
+ )
49
+ reject("RESULT_CANCELED", "RESULT_CANCELED", error)
50
+ return
53
51
  }
54
- }
55
-
56
- @objc(startliveness3d:withResolver:withRejecter:)
57
- func startliveness3D(args: Dictionary<String,Any>?, resolve:@escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) -> Void {
52
+
58
53
  self.resolve = resolve
59
54
  self.reject = reject
60
-
61
- let appKey = args?["appkey"] as? String ?? ""
62
- let ticket = args?["ticket"] as? String ?? nil
63
- let env = args?["environment"] as? String ?? "HML"
64
-
65
- let loading = args?["loading"] as? Dictionary<String,Any> ?? nil
66
-
67
- let typeLoading = loading?["type"] as? String ?? "default"
68
- let sizeLoading = loading?["size"] as? Int ?? 180
69
- let backgroundColor = loading?["backgroundColor"] as? String ?? "#FFFFFF"
70
- let loadingColor = loading?["loadingColor"] as? String ?? "#000000"
71
-
55
+
56
+ let appKey = args["appkey"] as? String ?? ""
57
+ let env = args["environment"] as? String ?? "HML"
58
+
72
59
  //Customization
73
- let texts = liveness3DTexts(from: args?["liveness3Dtext"])
74
- let theme = liveness3DTheme(theme: args?["theme"],fonts: args?["fonts"])
75
-
76
- print("Env STRING")
77
- print(env)
78
- print("-----")
79
-
80
- print("Env")
81
- print(env == "PRD" ? Environment.PRD : Environment.HML)
82
- print("-----")
83
-
60
+ let theme = liveness3DTheme(theme: args["theme"], fonts: args["fonts"])
61
+ let texts = liveness3DTexts(from: args["liveness3Dtext"])
62
+
84
63
  let liveness3DUser = Liveness3DUser(
85
64
  appKey: appKey,
86
- ticket: ticket,
87
- environment: env == "PRD" ? Environment.PRD : Environment.HML,
65
+ environment: env == "PRD" ? .PRD : .HML,
88
66
  defaultTheme: theme,
89
67
  lowLightTheme: theme,
90
68
  texts: texts
91
69
  )
92
-
93
- AVCaptureDevice.requestAccess(for: AVMediaType.video) { response in
94
- if response {
95
-
96
- let spinnerLoading = SpinnerConfiguration(
97
- backgroundColor: .init(hex: backgroundColor),
98
- loadingColor: .init(hex: loadingColor),
99
- strokeWidth: 10,
100
- scaleFactor: sizeLoading
101
- )
102
-
103
- let defaultLoading = ActivityIndicatorConfiguration(
104
- loadingColor: .init(hex: loadingColor),
105
- backgroundColor: .init(hex: backgroundColor),
106
- scaleFactor: sizeLoading
107
- )
108
-
109
- DispatchQueue.main.async {
110
- let liveness3DViewController = HybridLiveness3DViewController(
111
- liveness3DUser: liveness3DUser,
112
- delegate: self,
113
- customAppearance: typeLoading == "spinner" ? .init(configuration: spinnerLoading) : .init(configuration: defaultLoading)
114
- )
115
- liveness3DViewController.modalPresentationStyle = .fullScreen
116
- RCTPresentedViewController()?.present(liveness3DViewController, animated: true)
117
- }
118
-
119
- } else {
120
- let error = NSError(domain: "br.com.oiti.rnliveness3d", code: -1, userInfo: [NSLocalizedDescriptionKey: "RESULT_CANCELED"])
121
- reject("RESULT_CANCELED", "RESULT_CANCELED", error)
122
- }
70
+
71
+ let customAppearance = getCustomAppearance(from: args)
72
+
73
+ DispatchQueue.main.async {
74
+ let controller = HybridLiveness3DViewController(
75
+ liveness3DUser: liveness3DUser,
76
+ delegate: self,
77
+ customAppearance: customAppearance
78
+ )
79
+ controller.modalPresentationStyle = .fullScreen
80
+ presenter(controller, true)
123
81
  }
124
-
125
82
  }
126
-
127
- func textKey(from identifier: String) -> Liveness3DTextKey? {
83
+
84
+ // MARK: - Internal methods
85
+
86
+ private func getCustomAppearance(from args: NSDictionary) -> HybridViewAppearance {
87
+ let loading = args["loading"] as? Dictionary<String, Any> ?? nil
88
+ let typeLoading = loading?["type"] as? String ?? "default"
89
+ let sizeLoading = loading?["size"] as? Int ?? 10
90
+ let backgroundColor = loading?["backgroundColor"] as? String ?? "#FFFFFF"
91
+ let loadingColor = loading?["loadingColor"] as? String ?? "#000000"
92
+
93
+ let spinnerLoading = SpinnerConfiguration(
94
+ backgroundColor: .init(hex: backgroundColor),
95
+ loadingColor: .init(hex: loadingColor),
96
+ strokeWidth: 10,
97
+ scaleFactor: sizeLoading
98
+ )
99
+
100
+ let defaultLoading = ActivityIndicatorConfiguration(
101
+ loadingColor: .init(hex: loadingColor),
102
+ backgroundColor: .init(hex: backgroundColor),
103
+ scaleFactor: sizeLoading
104
+ )
105
+
106
+ return typeLoading == "spinner" ? .init(configuration: spinnerLoading) : .init(configuration: defaultLoading)
107
+ }
108
+
109
+ private func textKey(from identifier: String) -> Liveness3DTextKey? {
128
110
  switch identifier {
129
111
  case "READY_HEADER_1": return .readyHeader1
130
112
  case "READY_HEADER_2": return .readyHeader2
@@ -162,12 +144,12 @@ class RnLiveness3d: NSObject, Liveness3DDelegate {
162
144
  default: return nil
163
145
  }
164
146
  }
165
-
166
- func liveness3DTexts(from arguments: Any?) -> [Liveness3DTextKey : String] {
147
+
148
+ private func liveness3DTexts(from arguments: Any?) -> [Liveness3DTextKey : String] {
167
149
  guard let textsDictionary = arguments as? Dictionary<String, String> else {
168
150
  return [:]
169
151
  }
170
-
152
+
171
153
  let sequence: [(Liveness3DTextKey, String)] = textsDictionary
172
154
  .compactMap {
173
155
  guard let key = self.textKey(from: $0.key) else {
@@ -176,38 +158,38 @@ class RnLiveness3d: NSObject, Liveness3DDelegate {
176
158
  return (key, $0.value)
177
159
  }
178
160
  .filter { !$0.1.isEmpty }
179
-
161
+
180
162
  return Dictionary(uniqueKeysWithValues: sequence)
181
163
  }
182
-
183
- func liveness3DTheme(theme: Any?, fonts: Any?) -> Liveness3DTheme {
164
+
165
+ private func liveness3DTheme(theme: Any?, fonts: Any?) -> Liveness3DTheme {
184
166
  let themeDictionary = theme as? Dictionary<String, Any>
185
167
  let fontsDictionary = fonts as? Dictionary<String, Any>
186
168
  print(fontsDictionary as Any)
187
-
169
+
188
170
  var theme = Liveness3DTheme(.light)
189
-
171
+
190
172
  let guidanceCustomizationHeaderFont = fontsDictionary?["guidanceCustomizationHeaderFont"] as? String ?? ""
191
173
  let guidanceCustomizationSubtextFont = fontsDictionary?["guidanceCustomizationSubtextFont"] as? String ?? ""
192
174
  let guidanceCustomizationButtonFont = fontsDictionary?["guidanceCustomizationButtonFont"] as? String ?? ""
193
-
175
+
194
176
  let readyScreenCustomizationSubtextFont = fontsDictionary?["readyScreenCustomizationSubtextFont"] as? String ?? ""
195
177
  let readyScreenCustomizationHeaderFont = fontsDictionary?["readyScreenCustomizationHeaderFont"] as? String ?? ""
196
-
178
+
197
179
  let retryScreenCustomizationHeaderFont = fontsDictionary?["retryScreenCustomizationHeaderFont"] as? String ?? ""
198
180
  let retryScreenCustomizationSubtextFont = fontsDictionary?["retryScreenCustomizationSubtextFont"] as? String ?? ""
199
-
181
+
200
182
  let resultScreenCustomizationMessageFont = fontsDictionary?["resultScreenCustomizationMessageFont"] as? String ?? ""
201
-
183
+
202
184
  let feedbackCustomizationTextFont = fontsDictionary?["feedbackCustomizationTextFont"] as? String ?? ""
203
-
185
+
204
186
  theme.readyScreenCustomizationHeaderFont = UIFont(name: readyScreenCustomizationSubtextFont, size: 14)
205
187
  theme.readyScreenCustomizationHeaderTextColor = .init(hex: themeDictionary?["guidanceCustomizationReadyScreenHeaderTextColor"] as? String ?? "#000000")
206
188
  theme.readyScreenCustomizationSubtextFont = UIFont(name: readyScreenCustomizationHeaderFont, size: 14)
207
189
  theme.readyScreenCustomizationSubtextTextColor = .init(hex: themeDictionary?["guidanceCustomizationReadyScreenSubtextTextColor"] as? String ?? "#333333")
208
190
  theme.readyScreenCustomizationTextBackgroundColor = .init(hex: themeDictionary?["guidanceCustomizationTextBackgroundColor"] as? String ?? "")
209
191
  theme.readyScreenCustomizationTextBackgroundCornerRadius = themeDictionary?["guidanceCustomizationTextBackgroundColorRadius"] as? Int32 ?? 0
210
-
192
+
211
193
  theme.retryScreenCustomizationHeaderFont = UIFont(name: retryScreenCustomizationHeaderFont, size: 14)
212
194
  theme.retryScreenCustomizationHeaderTextColor = .init(hex: themeDictionary?["guidanceCustomizationRetryScreenHeaderTextColor"] as? String ?? "#000000")
213
195
  theme.retryScreenCustomizationSubtextFont = UIFont(name: retryScreenCustomizationSubtextFont, size: 14)
@@ -215,7 +197,7 @@ class RnLiveness3d: NSObject, Liveness3DDelegate {
215
197
  theme.retryScreenCustomizationImageBorderColor = .init(hex: themeDictionary?["guidanceCustomizationRetryScreenImageBorderColor"] as? String ?? "#4bb75f")
216
198
  theme.retryScreenCustomizationImageBorderWidth = themeDictionary?["guidanceCustomizationRetryScreenImageBorderWidth"] as? Int32 ?? 0
217
199
  theme.retryScreenCustomizationImageCornerRadius = themeDictionary?["guidanceCustomizationRetryScreenImageCornerRadius"] as? Int32 ?? 0
218
-
200
+
219
201
  theme.resultScreenCustomizationAnimationRelativeScale = 1.5
220
202
  theme.resultScreenCustomizationTextColor = .init(hex: themeDictionary?["resultScreenCustomizationTextColor"] as? String ?? "#000000")
221
203
  theme.resultScreenCustomizationShowUploadProgressBar = true
@@ -227,11 +209,11 @@ class RnLiveness3d: NSObject, Liveness3DDelegate {
227
209
  checkmarkForegroundColor: .purple,
228
210
  checkmarkBackgroundColor: .yellow
229
211
  ))
230
-
212
+
231
213
  theme.guidanceCustomizationHeaderFont = UIFont(name: guidanceCustomizationHeaderFont, size: 14)
232
214
  theme.guidanceCustomizationSubtextFont = UIFont(name: guidanceCustomizationSubtextFont, size: 14)
233
215
  theme.guidanceCustomizationButtonFont = UIFont(name: guidanceCustomizationButtonFont, size: 14)
234
-
216
+
235
217
  theme.guidanceCustomizationButtonTextNormalColor = .init(hex: themeDictionary?["guidanceCustomizationButtonTextNormalColor"] as? String ?? "#000000")
236
218
  theme.guidanceCustomizationButtonBackgroundNormalColor = .init(hex: themeDictionary?["guidanceCustomizationButtonBackgroundNormalColor"] as? String ?? "#4bb75f")
237
219
  theme.guidanceCustomizationButtonTextHighlightColor = .init(hex: themeDictionary?["guidanceCustomizationButtonTextHighlightColor"] as? String ?? "#000000")
@@ -241,7 +223,7 @@ class RnLiveness3d: NSObject, Liveness3DDelegate {
241
223
  theme.guidanceCustomizationButtonBorderColor = .init(hex: themeDictionary?["guidanceCustomizationButtonBorderColor"] as? String ?? "#000000")
242
224
  theme.guidanceCustomizationButtonBorderWidth = themeDictionary?["guidanceCustomizationButtonBorderWidth"] as? Int32 ?? 0
243
225
  theme.guidanceCustomizationButtonCornerRadius = themeDictionary?["guidanceCustomizationButtonCornerRadius"] as? Int32 ?? 25
244
-
226
+
245
227
  theme.frameCustomizationBorderWidth = themeDictionary?["frameCustomizationBorderWidth"] as? Int32 ?? 0
246
228
  theme.frameCustomizationCornerRadius = themeDictionary?["frameCustomizationCornerRadius"] as? Int32 ?? 0
247
229
  theme.frameCustomizationBorderColor = .init(hex: themeDictionary?["frameCustomizationBorderColor"] as? String ?? "#4bb75f")
@@ -251,20 +233,20 @@ class RnLiveness3d: NSObject, Liveness3DDelegate {
251
233
  radius: 1.0, offset: .zero,
252
234
  insets: .init(top: 1.0, left: 0.5, bottom: 0.7, right: 0.5)
253
235
  )
254
-
236
+
255
237
  theme.ovalCustomizationStrokeWidth = themeDictionary?["ovalCustomizationStrokeWidth"] as? Int32 ?? 3
256
238
  theme.ovalCustomizationStrokeColor = .init(hex: themeDictionary?["ovalCustomizationStrokeColor"] as? String ?? "#4bb75f")
257
239
  theme.ovalCustomizationProgressStrokeWidth = themeDictionary?["ovalCustomizationProgressStrokeWidth"] as? Int32 ?? 2
258
240
  theme.ovalCustomizationProgressColor1 = .init(hex: themeDictionary?["ovalCustomizationProgressColor1"] as? String ?? "#4bb75f")
259
241
  theme.ovalCustomizationProgressColor2 = .init(hex: themeDictionary?["ovalCustomizationProgressColor2"] as? String ?? "#4bb75f")
260
242
  theme.ovalCustomizationProgressRadialOffset = themeDictionary?["ovalCustomizationProgressRadialOffset"] as? Int32 ?? 2
261
-
243
+
262
244
  theme.overlayCustomizationBackgroundColor = .init(hex: themeDictionary?["overlayCustomizationBackgroundColor"] as? String ?? "#FFFFFF")
263
245
  theme.overlayCustomizationBrandingImage = UIImage(named: "")
264
246
  theme.overlayCustomizationShowBrandingImage = false
265
-
247
+
266
248
  theme.feedbackCustomizationTextColor = .init(hex: themeDictionary?["feedbackCustomizationTextColor"] as? String ?? "#FFFFFF")
267
- theme.feedbackCustomizationTextFont = UIFont(name: "", size: 14)
249
+ theme.feedbackCustomizationTextFont = UIFont(name: feedbackCustomizationTextFont, size: 14)
268
250
  theme.feedbackCustomizationShadow = Liveness3DShadow(
269
251
  color: .purple, opacity: 0.5,
270
252
  radius: 3.0, offset: .init(width: 2.0, height: 5.0),
@@ -272,30 +254,47 @@ class RnLiveness3d: NSObject, Liveness3DDelegate {
272
254
  )
273
255
  theme.feedbackCustomizationCornerRadius = themeDictionary?["feedbackCustomizationCornerRadius"] as? Int32 ?? 2
274
256
  theme.feedbackCustomizationBackgroundColor = .init(hex: themeDictionary?["feedbackCustomizationBackgroundColors"] as? String ?? "#666666")
275
-
257
+
276
258
  theme.cancelButtonCustomizationCustomImage = UIImage(named: "")
277
259
  theme.cancelButtonCustomizationLocation = .topLeft
278
-
260
+
279
261
  return theme
280
262
  }
281
263
  }
282
264
 
283
- public extension UIColor {
284
-
265
+ extension RnLiveness3dSwiftModule: Liveness3DDelegate {
266
+ @nonobjc public func handleLiveness3DValidation(validateModel: Liveness3DSuccess) {
267
+ let response: Dictionary<String, Any> = [
268
+ "cause": validateModel.cause ?? "",
269
+ "codId": String(validateModel.codID ?? 0.0),
270
+ "protocol": validateModel.protocolo ?? "",
271
+ "blob": validateModel.scanResultBlob ?? "",
272
+ "valid": validateModel.valid ?? false
273
+ ]
274
+
275
+ resolve(response)
276
+ }
277
+
278
+ @nonobjc public func handleLiveness3DError(error: OILiveness3D.Liveness3DError) {
279
+ reject("\(error.code)", "\(error.message)", error.type as Error)
280
+ }
281
+ }
282
+
283
+ extension UIColor {
285
284
  convenience init(hex: String) {
286
285
  var cString: String = hex.trimmingCharacters(in: .whitespacesAndNewlines).uppercased()
287
-
286
+
288
287
  if cString.hasPrefix("#") {
289
288
  cString.remove(at: cString.startIndex)
290
289
  }
291
-
290
+
292
291
  if cString.count != 6 {
293
292
  self.init(red: 0.0, green: 0.0, blue: 0.0, alpha: 1.0)
294
293
  }
295
-
294
+
296
295
  var rgbValue: UInt64 = 0
297
296
  Scanner(string: cString).scanHexInt64(&rgbValue)
298
-
297
+
299
298
  self.init(
300
299
  red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
301
300
  green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
@@ -303,4 +302,4 @@ public extension UIColor {
303
302
  alpha: 1.0
304
303
  )
305
304
  }
306
- }
305
+ }
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/ArgsType.ts"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/ArgsType.ts"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/FontsType.ts"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/FontsType.ts"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/ResultType.ts"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/ResultType.ts"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/ResultTypes.ts"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/ResultTypes.ts"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/TextsType.ts"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/TextsType.ts"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/ThemeType.ts"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/ThemeType.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _reactNative = require("react-native");
8
+ var _default = exports.default = _reactNative.TurboModuleRegistry.getEnforcing('RnLiveness3d');
9
+ //# sourceMappingURL=NativeRnLiveness3d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_default","exports","default","TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../src","sources":["NativeRnLiveness3d.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAAqE,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAQtDC,gCAAmB,CAACC,YAAY,CAAO,cAAc,CAAC","ignoreList":[]}
@@ -7,14 +7,12 @@ exports.BackButton = void 0;
7
7
  var _react = _interopRequireWildcard(require("react"));
8
8
  var _reactNative = require("react-native");
9
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;
10
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
11
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
12
+ const BackButton = ({
13
+ children,
14
+ ...props
15
+ }) => {
18
16
  const touchableOpacityRef = (0, _react.useRef)(null);
19
17
  const {
20
18
  onBack
@@ -1 +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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AS,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"}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_Liveness3DContext","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_extends","assign","bind","arguments","length","apply","BackButton","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,SAAAD,wBAAAI,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAN,uBAAA,YAAAA,CAAAI,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA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G,IAAAC,aAAM,EAAC,IAAI,CAAC;EACxC,MAAM;IAAEC;EAAO,CAAC,GAAG,IAAAC,uCAAoB,EAAC,CAAC;EAEzC,MAAMC,WAAW,GAAGA,CAAA,KAAM;IACxBF,MAAM,CAAC,CAAC;EACV,CAAC;EAED;IAAA;IACE;IACAnC,MAAA,CAAAe,OAAA,CAAAuB,aAAA,CAACnC,YAAA,CAAAoC,gBAAgB,EAAAf,QAAA;MACfgB,GAAG,EAAEP,mBAAoB;MACzBQ,OAAO,EAAEJ;IAAY,GACjBL,KAAK,GAERD,QACe;EAAC;AAEvB,CAAC;AAACW,OAAA,CAAAZ,UAAA,GAAAA,UAAA","ignoreList":[]}
@@ -8,24 +8,23 @@ var _react = _interopRequireWildcard(require("react"));
8
8
  var _reactNative = require("react-native");
9
9
  var _Liveness3DContext = require("../context/Liveness3DContext");
10
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;
11
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
12
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
13
+ const ContinueButton = ({
14
+ children,
15
+ ...props
16
+ }) => {
19
17
  const touchableOpacityRef = (0, _react.useRef)(null);
20
18
  const {
21
19
  setScreen,
22
20
  startLiveness
23
21
  } = (0, _Liveness3DContext.useLiveness3DContext)();
24
22
  function onContinue() {
25
- (0, _continueButton.continueButton)().then(result => {
26
- result === true && startLiveness();
27
- result === false && setScreen(2);
28
- });
23
+ if ((0, _continueButton.continueButton)() === true) {
24
+ startLiveness();
25
+ } else {
26
+ setScreen(2);
27
+ }
29
28
  }
30
29
  const handlePress = () => {
31
30
  onContinue();
@@ -1 +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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D,gBAAgB,EAAAxB,QAAA;MACfyB,GAAG,EAAEZ,mBAAoB;MACzBa,OAAO,EAAEJ;IAAY,GACjBV,KAAK,GAERD,QAAQ;EACQ;AAEvB,CAAC;AAACgB,OAAA,CAAAlB,cAAA,GAAAA,cAAA"}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_Liveness3DContext","_continueButton","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_extends","assign","bind","arguments","length","apply","ContinueButton","children","props","touchableOpacityRef","useRef","setScreen","startLiveness","useLiveness3DContext","onContinue","continueButton","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,SAAAD,wBAAAK,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAP,uBAAA,YAAAA,CAAAK,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,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AC;EAED;IAAA;IACE;IACAvC,MAAA,CAAAgB,OAAA,CAAA0B,aAAA,CAACvC,YAAA,CAAAwC,gBAAgB,EAAAlB,QAAA;MACfmB,GAAG,EAAEV,mBAAoB;MACzBW,OAAO,EAAEJ;IAAY,GACjBR,KAAK,GAERD,QACe;EAAC;AAEvB,CAAC;AAACc,OAAA,CAAAf,cAAA,GAAAA,cAAA","ignoreList":[]}
@@ -7,20 +7,18 @@ exports.PermissionButton = void 0;
7
7
  var _react = _interopRequireWildcard(require("react"));
8
8
  var _reactNative = require("react-native");
9
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;
10
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
11
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
12
+ const PermissionButton = ({
13
+ children,
14
+ ...props
15
+ }) => {
18
16
  const touchableOpacityRef = (0, _react.useRef)(null);
19
17
  const {
20
- onAskPermission
18
+ onRequestCameraPermission
21
19
  } = (0, _Liveness3DContext.useLiveness3DContext)();
22
20
  const handlePress = () => {
23
- onAskPermission();
21
+ onRequestCameraPermission();
24
22
  };
25
23
  return (
26
24
  /*#__PURE__*/
@@ -1 +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;AAA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C,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"}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_Liveness3DContext","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_extends","assign","bind","arguments","length","apply","PermissionButton","children","props","touchableOpacityRef","useRef","onRequestCameraPermission","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,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