@oiti/rn-liveness3d 5.3.0 → 5.3.1

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 (349) hide show
  1. package/android/build.gradle +2 -2
  2. package/android/src/main/AndroidManifest.xml +2 -1
  3. package/android/src/main/java/br/com/oiti/rnliveness3d/RnLiveness3dModule.kt +43 -9
  4. package/android/src/main/java/br/com/oiti/rnliveness3d/theme/Liveness3DTheme.kt +104 -165
  5. package/ios/Podfile +2 -2
  6. package/ios/RnLiveness3d.h +1 -11
  7. package/ios/RnLiveness3d.mm +8 -20
  8. package/ios/RnLiveness3dSwiftModule.swift +131 -93
  9. package/lib/commonjs/@types/ArgsType.js.map +1 -1
  10. package/lib/commonjs/@types/FontsType.js.map +1 -1
  11. package/lib/commonjs/@types/ResultType.js.map +1 -1
  12. package/lib/commonjs/@types/ResultTypes.js.map +1 -1
  13. package/lib/commonjs/@types/TextsType.js.map +1 -1
  14. package/lib/commonjs/@types/ThemeType.js.map +1 -1
  15. package/lib/commonjs/NativeRnLiveness3d.js.map +1 -1
  16. package/lib/commonjs/actions/BackButton.js +4 -6
  17. package/lib/commonjs/actions/BackButton.js.map +1 -1
  18. package/lib/commonjs/actions/ContinueButton.js +4 -6
  19. package/lib/commonjs/actions/ContinueButton.js.map +1 -1
  20. package/lib/commonjs/actions/PermissionButton.js +4 -6
  21. package/lib/commonjs/actions/PermissionButton.js.map +1 -1
  22. package/lib/commonjs/context/Liveness3DContext.js +3 -5
  23. package/lib/commonjs/context/Liveness3DContext.js.map +1 -1
  24. package/lib/commonjs/helpers/Liveness3DHelper.js +1 -4
  25. package/lib/commonjs/helpers/Liveness3DHelper.js.map +1 -1
  26. package/lib/commonjs/index.js +26 -31
  27. package/lib/commonjs/index.js.map +1 -1
  28. package/lib/commonjs/interfaces/Liveness3DHelper.js.map +1 -1
  29. package/lib/commonjs/interfaces/OitiBackButtonInterface.js.map +1 -1
  30. package/lib/commonjs/interfaces/OitiContinueButton.js.map +1 -1
  31. package/lib/commonjs/interfaces/OitiPermissionButtonInterface.js.map +1 -1
  32. package/lib/commonjs/screens/Liveness3D/InstructionsView.js +47 -65
  33. package/lib/commonjs/screens/Liveness3D/InstructionsView.js.map +1 -1
  34. package/lib/commonjs/screens/PermissionView.js +29 -40
  35. package/lib/commonjs/screens/PermissionView.js.map +1 -1
  36. package/lib/commonjs/utils/continueButton.js.map +1 -1
  37. package/lib/commonjs/utils/normalize.js.map +1 -1
  38. package/lib/commonjs/utils/permissions.js.map +1 -1
  39. package/lib/commonjs/utils/screenStore.js.map +1 -1
  40. package/lib/module/@types/ArgsType.js +0 -2
  41. package/lib/module/@types/ArgsType.js.map +1 -1
  42. package/lib/module/@types/FontsType.js +1 -1
  43. package/lib/module/@types/FontsType.js.map +1 -1
  44. package/lib/module/@types/ResultType.js +1 -1
  45. package/lib/module/@types/ResultType.js.map +1 -1
  46. package/lib/module/@types/ResultTypes.js +0 -2
  47. package/lib/module/@types/ResultTypes.js.map +1 -1
  48. package/lib/module/@types/TextsType.js +1 -1
  49. package/lib/module/@types/TextsType.js.map +1 -1
  50. package/lib/module/@types/ThemeType.js +1 -1
  51. package/lib/module/@types/ThemeType.js.map +1 -1
  52. package/lib/module/NativeRnLiveness3d.js +0 -2
  53. package/lib/module/NativeRnLiveness3d.js.map +1 -1
  54. package/lib/module/actions/BackButton.js +4 -8
  55. package/lib/module/actions/BackButton.js.map +1 -1
  56. package/lib/module/actions/ContinueButton.js +4 -8
  57. package/lib/module/actions/ContinueButton.js.map +1 -1
  58. package/lib/module/actions/PermissionButton.js +4 -8
  59. package/lib/module/actions/PermissionButton.js.map +1 -1
  60. package/lib/module/context/Liveness3DContext.js +3 -7
  61. package/lib/module/context/Liveness3DContext.js.map +1 -1
  62. package/lib/module/helpers/Liveness3DHelper.js +1 -6
  63. package/lib/module/helpers/Liveness3DHelper.js.map +1 -1
  64. package/lib/module/index.js +26 -33
  65. package/lib/module/index.js.map +1 -1
  66. package/lib/module/interfaces/Liveness3DHelper.js +0 -2
  67. package/lib/module/interfaces/Liveness3DHelper.js.map +1 -1
  68. package/lib/module/interfaces/OitiBackButtonInterface.js +0 -2
  69. package/lib/module/interfaces/OitiBackButtonInterface.js.map +1 -1
  70. package/lib/module/interfaces/OitiContinueButton.js +0 -2
  71. package/lib/module/interfaces/OitiContinueButton.js.map +1 -1
  72. package/lib/module/interfaces/OitiPermissionButtonInterface.js +0 -2
  73. package/lib/module/interfaces/OitiPermissionButtonInterface.js.map +1 -1
  74. package/lib/module/screens/Liveness3D/InstructionsView.js +47 -67
  75. package/lib/module/screens/Liveness3D/InstructionsView.js.map +1 -1
  76. package/lib/module/screens/PermissionView.js +29 -42
  77. package/lib/module/screens/PermissionView.js.map +1 -1
  78. package/lib/module/utils/continueButton.js +0 -2
  79. package/lib/module/utils/continueButton.js.map +1 -1
  80. package/lib/module/utils/normalize.js +0 -2
  81. package/lib/module/utils/normalize.js.map +1 -1
  82. package/lib/module/utils/permissions.js +0 -2
  83. package/lib/module/utils/permissions.js.map +1 -1
  84. package/lib/module/utils/screenStore.js +0 -2
  85. package/lib/module/utils/screenStore.js.map +1 -1
  86. package/oiti-rn-liveness3d.podspec +18 -27
  87. package/package.json +32 -26
  88. package/src/index.tsx +4 -4
  89. package/ios/Podfile.lock +0 -50
  90. package/ios/Pods/OICommons/Output/OICommons.xcframework/Info.plist +0 -44
  91. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64/OICommons.framework/Headers/OICommons-Swift.h +0 -327
  92. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64/OICommons.framework/Headers/OICommons.h +0 -15
  93. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64/OICommons.framework/Info.plist +0 -0
  94. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64/OICommons.framework/Inter-Bold.otf +0 -0
  95. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64/OICommons.framework/Inter-Medium.otf +0 -0
  96. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64/OICommons.framework/Inter-Regular.otf +0 -0
  97. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -1817
  98. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  99. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.swiftinterface +0 -1817
  100. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/module.modulemap +0 -11
  101. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64/OICommons.framework/OICommons +0 -0
  102. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64/OICommons.framework/Ubuntu-Bold.otf +0 -0
  103. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64/OICommons.framework/Ubuntu-Medium.otf +0 -0
  104. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64/OICommons.framework/Ubuntu-Regular.otf +0 -0
  105. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Headers/OICommons-Swift.h +0 -650
  106. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Headers/OICommons.h +0 -15
  107. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Info.plist +0 -0
  108. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Inter-Bold.otf +0 -0
  109. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Inter-Medium.otf +0 -0
  110. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Inter-Regular.otf +0 -0
  111. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -1817
  112. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  113. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -1817
  114. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -1817
  115. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  116. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -1817
  117. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/module.modulemap +0 -11
  118. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/OICommons +0 -0
  119. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Ubuntu-Bold.otf +0 -0
  120. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Ubuntu-Medium.otf +0 -0
  121. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Ubuntu-Regular.otf +0 -0
  122. package/ios/Pods/OICommons/Output/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/_CodeSignature/CodeResources +0 -311
  123. package/ios/Pods/OICommons/README.md +0 -40
  124. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/Info.plist +0 -46
  125. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64/OIComponents.framework/Assets.car +0 -0
  126. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64/OIComponents.framework/Headers/OIComponents-Swift.h +0 -455
  127. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64/OIComponents.framework/Headers/OIComponents.h +0 -18
  128. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64/OIComponents.framework/Info.plist +0 -0
  129. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.abi.json +0 -9
  130. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -732
  131. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  132. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.swiftinterface +0 -732
  133. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/module.modulemap +0 -11
  134. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64/OIComponents.framework/OIComponents +0 -0
  135. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64/dSYMs/OIComponents.framework.dSYM/Contents/Info.plist +0 -20
  136. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64/dSYMs/OIComponents.framework.dSYM/Contents/Resources/DWARF/OIComponents +0 -0
  137. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Assets.car +0 -0
  138. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Headers/OIComponents-Swift.h +0 -906
  139. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Headers/OIComponents.h +0 -18
  140. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Info.plist +0 -0
  141. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -9
  142. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -732
  143. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  144. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -732
  145. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -9
  146. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -732
  147. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  148. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -732
  149. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/module.modulemap +0 -11
  150. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/OIComponents +0 -0
  151. package/ios/Pods/OIComponents/Framework/Output/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/_CodeSignature/CodeResources +0 -256
  152. package/ios/Pods/OIComponents/README.md +0 -29
  153. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/Info.plist +0 -44
  154. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Assets.car +0 -0
  155. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Headers/OILiveness3D-Swift.h +0 -343
  156. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Headers/OILiveness3D.h +0 -18
  157. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Info.plist +0 -0
  158. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/Por_favor_pressione_o_botao_para_iniciar.mp3 +0 -0
  159. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/Toque_duas_veezs_em_qualquer_lugar_da_tela.mp3 +0 -0
  160. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/carregando.mp3 +0 -0
  161. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/escaneamento_feito_com_sucesso.mp3 +0 -0
  162. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/por_favor_chegue_mais_perto.mp3 +0 -0
  163. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/por_favor_tente_novamente.mp3 +0 -0
  164. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/prepare-se_para_seu_reconhecimento_facial.mp3 +0 -0
  165. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/rosto_muito_longe.mp3 +0 -0
  166. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/segure_firme.mp3 +0 -0
  167. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/suporte_vocal_desligado.mp3 +0 -0
  168. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/suporte_vocal_ligado.mp3 +0 -0
  169. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -240
  170. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  171. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.swiftinterface +0 -240
  172. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/module.modulemap +0 -11
  173. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/OILiveness3D +0 -0
  174. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Assets.car +0 -0
  175. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Headers/OILiveness3D-Swift.h +0 -682
  176. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Headers/OILiveness3D.h +0 -18
  177. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Info.plist +0 -0
  178. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/Por_favor_pressione_o_botao_para_iniciar.mp3 +0 -0
  179. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/Toque_duas_veezs_em_qualquer_lugar_da_tela.mp3 +0 -0
  180. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/carregando.mp3 +0 -0
  181. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/escaneamento_feito_com_sucesso.mp3 +0 -0
  182. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/por_favor_chegue_mais_perto.mp3 +0 -0
  183. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/por_favor_tente_novamente.mp3 +0 -0
  184. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/prepare-se_para_seu_reconhecimento_facial.mp3 +0 -0
  185. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/rosto_muito_longe.mp3 +0 -0
  186. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/segure_firme.mp3 +0 -0
  187. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/suporte_vocal_desligado.mp3 +0 -0
  188. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/suporte_vocal_ligado.mp3 +0 -0
  189. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -240
  190. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  191. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -240
  192. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -240
  193. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  194. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -240
  195. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/module.modulemap +0 -11
  196. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/OILiveness3D +0 -0
  197. package/ios/Pods/OILiveness3D/Output/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/_CodeSignature/CodeResources +0 -377
  198. package/ios/Pods/OILiveness3D/README.md +0 -1
  199. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/Info.plist +0 -44
  200. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Assets.car +0 -0
  201. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/FaceTecSDK +0 -0
  202. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/GenericGuidanceContentLayout.nib +0 -0
  203. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecPublicApi.h +0 -1935
  204. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecPublicStringKeys.h +0 -109
  205. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecSDK.h +0 -16
  206. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Info.plist +0 -0
  207. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Modules/module.modulemap +0 -6
  208. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/PrivacyInfo.xcprivacy +0 -29
  209. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/ReadyScreenGuidanceContentLayout.nib +0 -0
  210. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/RetryScreenGuidanceContentLayout.nib +0 -0
  211. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/SharedGuidanceLayout.nib +0 -0
  212. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/9Uo-4b-JiE-view-Ae0-rb-UqS.nib +0 -0
  213. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/CJ6-MX-bJp-view-8JL-Rc-0g1.nib +0 -0
  214. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceScanViewController.nib +0 -0
  215. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceTecAdditionalReviewViewController.nib +0 -0
  216. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceTecIDFeedbackViewController.nib +0 -0
  217. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceTecOCRConfirmationViewController.nib +0 -0
  218. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/IDCaptureViewController.nib +0 -0
  219. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/IDSelectionViewController.nib +0 -0
  220. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/Info.plist +0 -0
  221. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/Pyw-6G-JSY-view-Zue-Eo-Q2U.nib +0 -0
  222. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/QWA-8Y-vUM-view-wJB-Z5-eD2.nib +0 -0
  223. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/alz-Ia-X3d-view-IKu-EI-Hug.nib +0 -0
  224. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/l2Q-cc-kD8-view-UUy-6c-meu.nib +0 -0
  225. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/af.lproj/FaceTec.strings +0 -0
  226. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/ar.lproj/FaceTec.strings +0 -0
  227. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/attributions.txt +0 -462
  228. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/1f5b84f51ce0fcfbb76e904b7bcaa7560f601e1394a0b29367a09385312287eb +0 -0
  229. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/2b075ac1a6132b5b8a4c9ef0ba6b0cd84db7838aca9a000e50d907f40770a4ab +0 -0
  230. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/59cc2a9af81aaca2376702c2490650f4da2775fa673274db98aad41b7ef101c0 +0 -0
  231. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/5b63e98b991aedabb60665503384f30bffd939decf9433883b30b78011ee501a +0 -0
  232. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/66388dc76dc16bc6b76b682edd218a575bf45b9b +0 -0
  233. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/6b3133f0f39ff89a2a169d61176ee17cafacc5e288f334e2b64ee82892d11ccd +0 -0
  234. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/9077d16225f9314163ef1e7db6fc7d4088bb903d134bd95f23d5591ca4dfbfca +0 -0
  235. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/a74f2afb9d20f2375ccbd14e67c094b85c89ceb608f7cf8ae04f3f646a6c5672 +0 -0
  236. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/b501893e75f62ee1707643e35b21109927b07ed5b202321c961b424cbc2e4695 +0 -0
  237. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/dbd7a353f0130bb983d6ba05917e9be991d70e8f028df4b74e30bc6497ef7f71 +0 -0
  238. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/f2.xml +0 -0
  239. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/fd6d368a5658496536e2bfae170d1b823a3629b242cafc09784bfba4e56d8c80 +0 -0
  240. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/marker +0 -0
  241. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/vu0ilin6we3lrzo5f83f7qs2jul4aq7v4aoynrmch8zfvpi8ezrfyafa4t0fx87l +0 -0
  242. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/de.lproj/FaceTec.strings +0 -0
  243. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/el.lproj/FaceTec.strings +0 -0
  244. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/en.lproj/FaceTec.strings +0 -0
  245. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/es.lproj/FaceTec.strings +0 -0
  246. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/fr.lproj/FaceTec.strings +0 -0
  247. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/kk.lproj/FaceTec.strings +0 -0
  248. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/nb.lproj/FaceTec.strings +0 -0
  249. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/pt-BR.lproj/FaceTec.strings +0 -0
  250. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/ru.lproj/FaceTec.strings +0 -0
  251. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/strip-unused-architectures-from-target.sh +0 -62
  252. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/FaceTecSDK +0 -0
  253. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecPublicApi.h +0 -1935
  254. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecPublicStringKeys.h +0 -109
  255. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecSDK.h +0 -16
  256. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Info.plist +0 -0
  257. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Modules/module.modulemap +0 -6
  258. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/_CodeSignature/CodeResources +0 -146
  259. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework.zip +0 -0
  260. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/Info.plist +0 -46
  261. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Headers/OINetwork-Swift.h +0 -316
  262. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Headers/OINetwork.h +0 -15
  263. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Info.plist +0 -0
  264. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.abi.json +0 -9
  265. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -144
  266. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  267. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.swiftinterface +0 -144
  268. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/module.modulemap +0 -11
  269. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/OINetwork +0 -0
  270. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/_CodeSignature/CodeResources +0 -190
  271. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/dSYMs/OINetwork.framework.dSYM/Contents/Info.plist +0 -20
  272. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/dSYMs/OINetwork.framework.dSYM/Contents/Resources/DWARF/OINetwork +0 -0
  273. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/dSYMs/OINetwork.framework.dSYM/Contents/Resources/Swift/aarch64/OICommons.swiftinterface +0 -1817
  274. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Headers/OINetwork-Swift.h +0 -628
  275. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Headers/OINetwork.h +0 -15
  276. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Info.plist +0 -0
  277. 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
  278. 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
  279. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  280. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -144
  281. 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
  282. 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
  283. 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
  284. 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
  285. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/module.modulemap +0 -11
  286. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/OINetwork +0 -0
  287. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/_CodeSignature/CodeResources +0 -245
  288. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework.zip +0 -0
  289. package/ios/Pods/OINetwork/README.md +0 -1
  290. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/Info.plist +0 -44
  291. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/ios-arm64/OISecurity.framework/Headers/OISecurity-Swift.h +0 -311
  292. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/ios-arm64/OISecurity.framework/Headers/OISecurity.h +0 -16
  293. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/ios-arm64/OISecurity.framework/Info.plist +0 -0
  294. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -177
  295. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  296. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.swiftinterface +0 -177
  297. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/module.modulemap +0 -11
  298. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/ios-arm64/OISecurity.framework/OISecurity +0 -0
  299. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/ios-arm64/OISecurity.framework/PrivacyInfo.xcprivacy +0 -37
  300. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Headers/OISecurity-Swift.h +0 -618
  301. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Headers/OISecurity.h +0 -16
  302. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Info.plist +0 -0
  303. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -177
  304. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  305. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -177
  306. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -177
  307. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  308. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -177
  309. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/module.modulemap +0 -11
  310. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/OISecurity +0 -0
  311. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/PrivacyInfo.xcprivacy +0 -37
  312. package/ios/Pods/OISecurity/Output/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/_CodeSignature/CodeResources +0 -256
  313. package/ios/Pods/Pods.xcodeproj/project.pbxproj +0 -1261
  314. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OICommons.xcscheme +0 -58
  315. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OIComponents.xcscheme +0 -58
  316. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OILiveness3D.xcscheme +0 -58
  317. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OILiveness3D_FT.xcscheme +0 -58
  318. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OINetwork.xcscheme +0 -58
  319. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OISecurity.xcscheme +0 -58
  320. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/Pods-RnLiveness3d.xcscheme +0 -58
  321. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/xcschememanagement.plist +0 -46
  322. package/ios/Pods/Target Support Files/OICommons/OICommons-xcframeworks.sh +0 -121
  323. package/ios/Pods/Target Support Files/OICommons/OICommons.debug.xcconfig +0 -15
  324. package/ios/Pods/Target Support Files/OICommons/OICommons.release.xcconfig +0 -15
  325. package/ios/Pods/Target Support Files/OIComponents/OIComponents-xcframeworks.sh +0 -121
  326. package/ios/Pods/Target Support Files/OIComponents/OIComponents.debug.xcconfig +0 -15
  327. package/ios/Pods/Target Support Files/OIComponents/OIComponents.release.xcconfig +0 -15
  328. package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D-xcframeworks.sh +0 -121
  329. package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D.debug.xcconfig +0 -16
  330. package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D.release.xcconfig +0 -16
  331. package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT-xcframeworks.sh +0 -121
  332. package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT.debug.xcconfig +0 -13
  333. package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT.release.xcconfig +0 -13
  334. package/ios/Pods/Target Support Files/OINetwork/OINetwork-xcframeworks.sh +0 -121
  335. package/ios/Pods/Target Support Files/OINetwork/OINetwork.debug.xcconfig +0 -16
  336. package/ios/Pods/Target Support Files/OINetwork/OINetwork.release.xcconfig +0 -16
  337. package/ios/Pods/Target Support Files/OISecurity/OISecurity-xcframeworks.sh +0 -121
  338. package/ios/Pods/Target Support Files/OISecurity/OISecurity.debug.xcconfig +0 -16
  339. package/ios/Pods/Target Support Files/OISecurity/OISecurity.release.xcconfig +0 -16
  340. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-Info.plist +0 -26
  341. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-acknowledgements.markdown +0 -23
  342. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-acknowledgements.plist +0 -79
  343. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-dummy.m +0 -5
  344. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-umbrella.h +0 -16
  345. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.debug.xcconfig +0 -14
  346. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.modulemap +0 -6
  347. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.release.xcconfig +0 -14
  348. package/lib/commonjs/package.json +0 -1
  349. package/lib/module/package.json +0 -1
@@ -84,9 +84,9 @@ public class RnLiveness3dSwiftModule: NSObject {
84
84
  // MARK: - Internal methods
85
85
 
86
86
  private func getCustomAppearance(from args: NSDictionary) -> HybridViewAppearance {
87
- let loading = args["loading"] as? Dictionary<String, Any> ?? nil
87
+ let loading = args["loading"] as? NSDictionary
88
88
  let typeLoading = loading?["type"] as? String ?? "default"
89
- let sizeLoading = loading?["size"] as? Int ?? 10
89
+ let sizeLoading = parseLoadingSize(loading?["size"]) ?? 10
90
90
  let backgroundColor = loading?["backgroundColor"] as? String ?? "#FFFFFF"
91
91
  let loadingColor = loading?["loadingColor"] as? String ?? "#000000"
92
92
 
@@ -106,6 +106,21 @@ public class RnLiveness3dSwiftModule: NSObject {
106
106
  return typeLoading == "spinner" ? .init(configuration: spinnerLoading) : .init(configuration: defaultLoading)
107
107
  }
108
108
 
109
+ private func parseLoadingSize(_ value: Any?) -> Int? {
110
+ switch value {
111
+ case let intValue as Int:
112
+ return intValue
113
+ case let doubleValue as Double:
114
+ return Int(doubleValue)
115
+ case let numberValue as NSNumber:
116
+ return numberValue.intValue
117
+ case let stringValue as String:
118
+ return Int(stringValue)
119
+ default:
120
+ return nil
121
+ }
122
+ }
123
+
109
124
  private func textKey(from identifier: String) -> Liveness3DTextKey? {
110
125
  switch identifier {
111
126
  case "READY_HEADER_1": return .readyHeader1
@@ -165,100 +180,122 @@ public class RnLiveness3dSwiftModule: NSObject {
165
180
  private func liveness3DTheme(theme: Any?, fonts: Any?) -> Liveness3DTheme {
166
181
  let themeDictionary = theme as? Dictionary<String, Any>
167
182
  let fontsDictionary = fonts as? Dictionary<String, Any>
168
- print(fontsDictionary as Any)
169
-
170
- var theme = Liveness3DTheme(.light)
171
-
172
- let guidanceCustomizationHeaderFont = fontsDictionary?["guidanceCustomizationHeaderFont"] as? String ?? ""
173
- let guidanceCustomizationSubtextFont = fontsDictionary?["guidanceCustomizationSubtextFont"] as? String ?? ""
174
- let guidanceCustomizationButtonFont = fontsDictionary?["guidanceCustomizationButtonFont"] as? String ?? ""
175
-
176
- let readyScreenCustomizationSubtextFont = fontsDictionary?["readyScreenCustomizationSubtextFont"] as? String ?? ""
177
- let readyScreenCustomizationHeaderFont = fontsDictionary?["readyScreenCustomizationHeaderFont"] as? String ?? ""
178
-
179
- let retryScreenCustomizationHeaderFont = fontsDictionary?["retryScreenCustomizationHeaderFont"] as? String ?? ""
180
- let retryScreenCustomizationSubtextFont = fontsDictionary?["retryScreenCustomizationSubtextFont"] as? String ?? ""
181
-
182
- let resultScreenCustomizationMessageFont = fontsDictionary?["resultScreenCustomizationMessageFont"] as? String ?? ""
183
-
184
- let feedbackCustomizationTextFont = fontsDictionary?["feedbackCustomizationTextFont"] as? String ?? ""
185
-
186
- theme.readyScreenCustomizationHeaderFont = UIFont(name: readyScreenCustomizationSubtextFont, size: 14)
187
- theme.readyScreenCustomizationHeaderTextColor = .init(hex: themeDictionary?["guidanceCustomizationReadyScreenHeaderTextColor"] as? String ?? "#000000")
188
- theme.readyScreenCustomizationSubtextFont = UIFont(name: readyScreenCustomizationHeaderFont, size: 14)
189
- theme.readyScreenCustomizationSubtextTextColor = .init(hex: themeDictionary?["guidanceCustomizationReadyScreenSubtextTextColor"] as? String ?? "#333333")
190
- theme.readyScreenCustomizationTextBackgroundColor = .init(hex: themeDictionary?["guidanceCustomizationTextBackgroundColor"] as? String ?? "")
191
- theme.readyScreenCustomizationTextBackgroundCornerRadius = themeDictionary?["guidanceCustomizationTextBackgroundColorRadius"] as? Int32 ?? 0
192
-
193
- theme.retryScreenCustomizationHeaderFont = UIFont(name: retryScreenCustomizationHeaderFont, size: 14)
194
- theme.retryScreenCustomizationHeaderTextColor = .init(hex: themeDictionary?["guidanceCustomizationRetryScreenHeaderTextColor"] as? String ?? "#000000")
195
- theme.retryScreenCustomizationSubtextFont = UIFont(name: retryScreenCustomizationSubtextFont, size: 14)
196
- theme.retryScreenCustomizationSubtextTextColor = .init(hex: themeDictionary?["guidanceCustomizationRetryScreenSubtextTextColor"] as? String ?? "#333333")
197
- theme.retryScreenCustomizationImageBorderColor = .init(hex: themeDictionary?["guidanceCustomizationRetryScreenImageBorderColor"] as? String ?? "#4bb75f")
198
- theme.retryScreenCustomizationImageBorderWidth = themeDictionary?["guidanceCustomizationRetryScreenImageBorderWidth"] as? Int32 ?? 0
199
- theme.retryScreenCustomizationImageCornerRadius = themeDictionary?["guidanceCustomizationRetryScreenImageCornerRadius"] as? Int32 ?? 0
200
-
201
- theme.resultScreenCustomizationAnimationRelativeScale = 1.5
202
- theme.resultScreenCustomizationTextColor = .init(hex: themeDictionary?["resultScreenCustomizationTextColor"] as? String ?? "#000000")
203
- theme.resultScreenCustomizationShowUploadProgressBar = true
204
- theme.resultScreenCustomizationUploadProgressFillColor = .init(hex: themeDictionary?["resultScreenCustomizationUploadProgressFillColor"] as? String ?? "#4bb75f")
205
- theme.resultScreenCustomizationUploadProgressTrackColor = .init(hex: themeDictionary?["resultScreenCustomizationUploadProgressTrackColor"] as? String ?? "#333333")
206
- theme.resultScreenCustomizationMessageFont = UIFont(name: resultScreenCustomizationMessageFont, size: 15.0)
207
- theme.resultScreenCustomizationAnimationStyle = .blob(appearance: BlobAnimationAppearance(
208
- blobColor: .blue,
209
- checkmarkForegroundColor: .purple,
210
- checkmarkBackgroundColor: .yellow
211
- ))
212
-
213
- theme.guidanceCustomizationHeaderFont = UIFont(name: guidanceCustomizationHeaderFont, size: 14)
214
- theme.guidanceCustomizationSubtextFont = UIFont(name: guidanceCustomizationSubtextFont, size: 14)
215
- theme.guidanceCustomizationButtonFont = UIFont(name: guidanceCustomizationButtonFont, size: 14)
216
-
217
- theme.guidanceCustomizationButtonTextNormalColor = .init(hex: themeDictionary?["guidanceCustomizationButtonTextNormalColor"] as? String ?? "#000000")
218
- theme.guidanceCustomizationButtonBackgroundNormalColor = .init(hex: themeDictionary?["guidanceCustomizationButtonBackgroundNormalColor"] as? String ?? "#4bb75f")
219
- theme.guidanceCustomizationButtonTextHighlightColor = .init(hex: themeDictionary?["guidanceCustomizationButtonTextHighlightColor"] as? String ?? "#000000")
220
- theme.guidanceCustomizationButtonBackgroundHighlightColor = .init(hex: themeDictionary?["guidanceCustomizationButtonBackgroundHighlightColor"] as? String ?? "#000000")
221
- theme.guidanceCustomizationButtonTextDisabledColor = .init(hex: themeDictionary?["guidanceCustomizationButtonTextDisabledColor"] as? String ?? "#333333")
222
- theme.guidanceCustomizationButtonBackgroundDisabledColor = .init(hex: themeDictionary?["guidanceCustomizationButtonBackgroundDisabledColor"] as? String ?? "#333333")
223
- theme.guidanceCustomizationButtonBorderColor = .init(hex: themeDictionary?["guidanceCustomizationButtonBorderColor"] as? String ?? "#000000")
224
- theme.guidanceCustomizationButtonBorderWidth = themeDictionary?["guidanceCustomizationButtonBorderWidth"] as? Int32 ?? 0
225
- theme.guidanceCustomizationButtonCornerRadius = themeDictionary?["guidanceCustomizationButtonCornerRadius"] as? Int32 ?? 25
226
-
227
- theme.frameCustomizationBorderWidth = themeDictionary?["frameCustomizationBorderWidth"] as? Int32 ?? 0
228
- theme.frameCustomizationCornerRadius = themeDictionary?["frameCustomizationCornerRadius"] as? Int32 ?? 0
229
- theme.frameCustomizationBorderColor = .init(hex: themeDictionary?["frameCustomizationBorderColor"] as? String ?? "#4bb75f")
230
- theme.frameCustomizationBackgroundColor = .init(hex: themeDictionary?["frameCustomizationBackgroundColor"] as? String ?? "#FFFFFF")
231
- theme.frameCustomizationShadow = Liveness3DShadow(
232
- color: .red, opacity: 0.8,
233
- radius: 1.0, offset: .zero,
234
- insets: .init(top: 1.0, left: 0.5, bottom: 0.7, right: 0.5)
235
- )
236
183
 
237
- theme.ovalCustomizationStrokeWidth = themeDictionary?["ovalCustomizationStrokeWidth"] as? Int32 ?? 3
238
- theme.ovalCustomizationStrokeColor = .init(hex: themeDictionary?["ovalCustomizationStrokeColor"] as? String ?? "#4bb75f")
239
- theme.ovalCustomizationProgressStrokeWidth = themeDictionary?["ovalCustomizationProgressStrokeWidth"] as? Int32 ?? 2
240
- theme.ovalCustomizationProgressColor1 = .init(hex: themeDictionary?["ovalCustomizationProgressColor1"] as? String ?? "#4bb75f")
241
- theme.ovalCustomizationProgressColor2 = .init(hex: themeDictionary?["ovalCustomizationProgressColor2"] as? String ?? "#4bb75f")
242
- theme.ovalCustomizationProgressRadialOffset = themeDictionary?["ovalCustomizationProgressRadialOffset"] as? Int32 ?? 2
243
-
244
- theme.overlayCustomizationBackgroundColor = .init(hex: themeDictionary?["overlayCustomizationBackgroundColor"] as? String ?? "#FFFFFF")
245
- theme.overlayCustomizationBrandingImage = UIImage(named: "")
246
- theme.overlayCustomizationShowBrandingImage = false
247
-
248
- theme.feedbackCustomizationTextColor = .init(hex: themeDictionary?["feedbackCustomizationTextColor"] as? String ?? "#FFFFFF")
249
- theme.feedbackCustomizationTextFont = UIFont(name: feedbackCustomizationTextFont, size: 14)
250
- theme.feedbackCustomizationShadow = Liveness3DShadow(
251
- color: .purple, opacity: 0.5,
252
- radius: 3.0, offset: .init(width: 2.0, height: 5.0),
253
- insets: .init(top: 3.0, left: 1.5, bottom: 3.7, right: 7.5)
254
- )
255
- theme.feedbackCustomizationCornerRadius = themeDictionary?["feedbackCustomizationCornerRadius"] as? Int32 ?? 2
256
- theme.feedbackCustomizationBackgroundColor = .init(hex: themeDictionary?["feedbackCustomizationBackgroundColors"] as? String ?? "#666666")
184
+ var livenessTheme = Liveness3DTheme(.light)
185
+ let hasThemeCustomizations = !(themeDictionary?.isEmpty ?? true)
186
+ let hasFontCustomizations = !(fontsDictionary?.isEmpty ?? true)
187
+ if !hasThemeCustomizations && !hasFontCustomizations {
188
+ return livenessTheme
189
+ }
257
190
 
258
- theme.cancelButtonCustomizationCustomImage = UIImage(named: "")
259
- theme.cancelButtonCustomizationLocation = .topLeft
191
+ func themeString(_ key: String, legacyKey: String? = nil) -> String? {
192
+ let primary = (themeDictionary?[key] as? String)?.trimmingCharacters(in: .whitespacesAndNewlines)
193
+ if let primary, !primary.isEmpty { return primary }
194
+ guard let legacyKey else { return nil }
195
+ let legacy = (themeDictionary?[legacyKey] as? String)?.trimmingCharacters(in: .whitespacesAndNewlines)
196
+ if let legacy, !legacy.isEmpty { return legacy }
197
+ return nil
198
+ }
260
199
 
261
- return theme
200
+ func fontName(_ key: String) -> String? {
201
+ let name = (fontsDictionary?[key] as? String)?.trimmingCharacters(in: .whitespacesAndNewlines)
202
+ guard let name, !name.isEmpty else { return nil }
203
+ return name
204
+ }
205
+
206
+ func int32Value(_ key: String, legacyKey: String? = nil) -> Int32? {
207
+ let value = themeDictionary?[key] ?? (legacyKey != nil ? themeDictionary?[legacyKey!] : nil)
208
+ switch value {
209
+ case let intValue as Int: return Int32(intValue)
210
+ case let doubleValue as Double: return Int32(doubleValue)
211
+ case let numberValue as NSNumber: return numberValue.int32Value
212
+ case let stringValue as String: return Int32(stringValue)
213
+ default: return nil
214
+ }
215
+ }
216
+
217
+ if let name = fontName("readyScreenCustomizationHeaderFont") {
218
+ livenessTheme.readyScreenCustomizationHeaderFont = UIFont(name: name, size: 14)
219
+ }
220
+ if let name = fontName("readyScreenCustomizationSubtextFont") {
221
+ livenessTheme.readyScreenCustomizationSubtextFont = UIFont(name: name, size: 14)
222
+ }
223
+ if let name = fontName("retryScreenCustomizationHeaderFont") {
224
+ livenessTheme.retryScreenCustomizationHeaderFont = UIFont(name: name, size: 14)
225
+ }
226
+ if let name = fontName("retryScreenCustomizationSubtextFont") {
227
+ livenessTheme.retryScreenCustomizationSubtextFont = UIFont(name: name, size: 14)
228
+ }
229
+ if let name = fontName("resultScreenCustomizationMessageFont") {
230
+ livenessTheme.resultScreenCustomizationMessageFont = UIFont(name: name, size: 15)
231
+ }
232
+ if let name = fontName("guidanceCustomizationHeaderFont") {
233
+ livenessTheme.guidanceCustomizationHeaderFont = UIFont(name: name, size: 14)
234
+ }
235
+ if let name = fontName("guidanceCustomizationSubtextFont") {
236
+ livenessTheme.guidanceCustomizationSubtextFont = UIFont(name: name, size: 14)
237
+ }
238
+ if let name = fontName("guidanceCustomizationButtonFont") {
239
+ livenessTheme.guidanceCustomizationButtonFont = UIFont(name: name, size: 14)
240
+ }
241
+ if let name = fontName("feedbackCustomizationTextFont") {
242
+ livenessTheme.feedbackCustomizationTextFont = UIFont(name: name, size: 14)
243
+ }
244
+
245
+ if let hex = themeString("guidanceCustomizationReadyScreenHeaderTextColor") { livenessTheme.readyScreenCustomizationHeaderTextColor = .init(hex: hex) }
246
+ if let hex = themeString("guidanceCustomizationReadyScreenSubtextTextColor") { livenessTheme.readyScreenCustomizationSubtextTextColor = .init(hex: hex) }
247
+ if let hex = themeString("guidanceCustomizationReadyScreenTextBackgroundColor", legacyKey: "guidanceCustomizationTextBackgroundColor") { livenessTheme.readyScreenCustomizationTextBackgroundColor = .init(hex: hex) }
248
+ if let value = int32Value("guidanceCustomizationReadyScreenTextBackgroundCornerRadius", legacyKey: "guidanceCustomizationTextBackgroundColorRadius") { livenessTheme.readyScreenCustomizationTextBackgroundCornerRadius = value }
249
+
250
+ if let hex = themeString("guidanceCustomizationRetryScreenHeaderTextColor") { livenessTheme.retryScreenCustomizationHeaderTextColor = .init(hex: hex) }
251
+ if let hex = themeString("guidanceCustomizationRetryScreenSubtextTextColor") { livenessTheme.retryScreenCustomizationSubtextTextColor = .init(hex: hex) }
252
+ if let hex = themeString("guidanceCustomizationRetryScreenImageBorderColor") { livenessTheme.retryScreenCustomizationImageBorderColor = .init(hex: hex) }
253
+ if let value = int32Value("guidanceCustomizationRetryScreenImageBorderWidth") { livenessTheme.retryScreenCustomizationImageBorderWidth = value }
254
+ if let value = int32Value("guidanceCustomizationRetryScreenImageCornerRadius") { livenessTheme.retryScreenCustomizationImageCornerRadius = value }
255
+
256
+ if let hex = themeString("resultScreenCustomizationForegroundColor", legacyKey: "resultScreenCustomizationTextColor") { livenessTheme.resultScreenCustomizationTextColor = .init(hex: hex) }
257
+ if let hex = themeString("resultScreenCustomizationUploadProgressFillColor") { livenessTheme.resultScreenCustomizationUploadProgressFillColor = .init(hex: hex) }
258
+ if let hex = themeString("resultScreenCustomizationUploadProgressTrackColor") { livenessTheme.resultScreenCustomizationUploadProgressTrackColor = .init(hex: hex) }
259
+
260
+ let blobColorHex = themeString("resultScreenCustomizationActivityIndicatorColor")
261
+ let checkmarkFgHex = themeString("resultScreenCustomizationResultAnimationForegroundColor")
262
+ let checkmarkBgHex = themeString("resultScreenCustomizationResultAnimationBackgroundColor")
263
+ if let blobColorHex, let checkmarkFgHex, let checkmarkBgHex {
264
+ livenessTheme.resultScreenCustomizationAnimationStyle = .blob(appearance: BlobAnimationAppearance(
265
+ blobColor: .init(hex: blobColorHex),
266
+ checkmarkForegroundColor: .init(hex: checkmarkFgHex),
267
+ checkmarkBackgroundColor: .init(hex: checkmarkBgHex)
268
+ ))
269
+ }
270
+
271
+ if let hex = themeString("guidanceCustomizationButtonTextNormalColor") { livenessTheme.guidanceCustomizationButtonTextNormalColor = .init(hex: hex) }
272
+ if let hex = themeString("guidanceCustomizationButtonBackgroundNormalColor") { livenessTheme.guidanceCustomizationButtonBackgroundNormalColor = .init(hex: hex) }
273
+ if let hex = themeString("guidanceCustomizationButtonTextHighlightColor") { livenessTheme.guidanceCustomizationButtonTextHighlightColor = .init(hex: hex) }
274
+ if let hex = themeString("guidanceCustomizationButtonBackgroundHighlightColor") { livenessTheme.guidanceCustomizationButtonBackgroundHighlightColor = .init(hex: hex) }
275
+ if let hex = themeString("guidanceCustomizationButtonTextDisabledColor") { livenessTheme.guidanceCustomizationButtonTextDisabledColor = .init(hex: hex) }
276
+ if let hex = themeString("guidanceCustomizationButtonBackgroundDisabledColor") { livenessTheme.guidanceCustomizationButtonBackgroundDisabledColor = .init(hex: hex) }
277
+ if let hex = themeString("guidanceCustomizationButtonBorderColor") { livenessTheme.guidanceCustomizationButtonBorderColor = .init(hex: hex) }
278
+ if let value = int32Value("guidanceCustomizationButtonBorderWidth") { livenessTheme.guidanceCustomizationButtonBorderWidth = value }
279
+ if let value = int32Value("guidanceCustomizationButtonCornerRadius") { livenessTheme.guidanceCustomizationButtonCornerRadius = value }
280
+
281
+ if let value = int32Value("frameCustomizationBorderWidth") { livenessTheme.frameCustomizationBorderWidth = value }
282
+ if let value = int32Value("frameCustomizationCornerRadius") { livenessTheme.frameCustomizationCornerRadius = value }
283
+ if let hex = themeString("frameCustomizationBorderColor") { livenessTheme.frameCustomizationBorderColor = .init(hex: hex) }
284
+ if let hex = themeString("frameCustomizationBackgroundColor") { livenessTheme.frameCustomizationBackgroundColor = .init(hex: hex) }
285
+
286
+ if let value = int32Value("ovalCustomizationStrokeWidth") { livenessTheme.ovalCustomizationStrokeWidth = value }
287
+ if let hex = themeString("ovalCustomizationStrokeColor") { livenessTheme.ovalCustomizationStrokeColor = .init(hex: hex) }
288
+ if let value = int32Value("ovalCustomizationProgressStrokeWidth") { livenessTheme.ovalCustomizationProgressStrokeWidth = value }
289
+ if let hex = themeString("ovalCustomizationProgressColor1") { livenessTheme.ovalCustomizationProgressColor1 = .init(hex: hex) }
290
+ if let hex = themeString("ovalCustomizationProgressColor2") { livenessTheme.ovalCustomizationProgressColor2 = .init(hex: hex) }
291
+ if let value = int32Value("ovalCustomizationProgressRadialOffset") { livenessTheme.ovalCustomizationProgressRadialOffset = value }
292
+
293
+ if let hex = themeString("overlayCustomizationBackgroundColor") { livenessTheme.overlayCustomizationBackgroundColor = .init(hex: hex) }
294
+ if let hex = themeString("feedbackCustomizationTextColor") { livenessTheme.feedbackCustomizationTextColor = .init(hex: hex) }
295
+ if let value = int32Value("feedbackCustomizationCornerRadius") { livenessTheme.feedbackCustomizationCornerRadius = value }
296
+ if let hex = themeString("feedbackCustomizationBackgroundColors") { livenessTheme.feedbackCustomizationBackgroundColor = .init(hex: hex) }
297
+
298
+ return livenessTheme
262
299
  }
263
300
  }
264
301
 
@@ -290,6 +327,7 @@ extension UIColor {
290
327
 
291
328
  if cString.count != 6 {
292
329
  self.init(red: 0.0, green: 0.0, blue: 0.0, alpha: 1.0)
330
+ return
293
331
  }
294
332
 
295
333
  var rgbValue: UInt64 = 0
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/ArgsType.ts"],"mappings":"","ignoreList":[]}
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":"","ignoreList":[]}
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":"","ignoreList":[]}
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":"","ignoreList":[]}
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":"","ignoreList":[]}
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":"","ignoreList":[]}
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/ThemeType.ts"],"mappings":"","ignoreList":[]}
@@ -1 +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":[]}
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,8 +7,8 @@ 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
- var _jsxRuntime = require("react/jsx-runtime");
11
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
12
  const BackButton = ({
13
13
  children,
14
14
  ...props
@@ -23,12 +23,10 @@ const BackButton = ({
23
23
  return (
24
24
  /*#__PURE__*/
25
25
  //@ts-ignore
26
- (0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
26
+ _react.default.createElement(_reactNative.TouchableOpacity, _extends({
27
27
  ref: touchableOpacityRef,
28
- onPress: handlePress,
29
- ...props,
30
- children: children
31
- })
28
+ onPress: handlePress
29
+ }, props), children)
32
30
  );
33
31
  };
34
32
  exports.BackButton = BackButton;
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_Liveness3DContext","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","BackButton","children","props","touchableOpacityRef","useRef","onBack","useLiveness3DContext","handlePress","jsx","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,IAAAG,WAAA,GAAAH,OAAA;AAAA,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,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAG7D,MAAMkB,UAA6C,GAAGA,CAAC;EAC5DC,QAAQ;EACR,GAAGC;AACL,CAAC,KAAK;EACJ,MAAMC,mBAAmB,GAAG,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;IACA,IAAAzB,WAAA,CAAA4B,GAAA,EAAC9B,YAAA,CAAA+B,gBAAgB;MACfC,GAAG,EAAEP,mBAAoB;MACzBQ,OAAO,EAAEJ,WAAY;MAAA,GACjBL,KAAK;MAAAD,QAAA,EAERA;IAAQ,CACO;EAAC;AAEvB,CAAC;AAACW,OAAA,CAAAZ,UAAA,GAAAA,UAAA","ignoreList":[]}
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,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,CAAC,KAAK;EACJ,MAAMC,mBAAmB,GAAG,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,8 +8,8 @@ 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
- var _jsxRuntime = require("react/jsx-runtime");
12
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
13
  const ContinueButton = ({
14
14
  children,
15
15
  ...props
@@ -32,12 +32,10 @@ const ContinueButton = ({
32
32
  return (
33
33
  /*#__PURE__*/
34
34
  //@ts-ignore
35
- (0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
35
+ _react.default.createElement(_reactNative.TouchableOpacity, _extends({
36
36
  ref: touchableOpacityRef,
37
- onPress: handlePress,
38
- ...props,
39
- children: children
40
- })
37
+ onPress: handlePress
38
+ }, props), children)
41
39
  );
42
40
  };
43
41
  exports.ContinueButton = ContinueButton;
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_Liveness3DContext","_continueButton","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ContinueButton","children","props","touchableOpacityRef","useRef","setScreen","startLiveness","useLiveness3DContext","onContinue","continueButton","handlePress","jsx","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,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,wBAAAM,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAR,uBAAA,YAAAA,CAAAM,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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3DContext","_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,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,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Af,cAAA,GAAAA,cAAA","ignoreList":[]}
@@ -7,8 +7,8 @@ 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
- var _jsxRuntime = require("react/jsx-runtime");
11
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
12
  const PermissionButton = ({
13
13
  children,
14
14
  ...props
@@ -23,12 +23,10 @@ const PermissionButton = ({
23
23
  return (
24
24
  /*#__PURE__*/
25
25
  //@ts-ignore
26
- (0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
26
+ _react.default.createElement(_reactNative.TouchableOpacity, _extends({
27
27
  ref: touchableOpacityRef,
28
- onPress: handlePress,
29
- ...props,
30
- children: children
31
- })
28
+ onPress: handlePress
29
+ }, props), children)
32
30
  );
33
31
  };
34
32
  exports.PermissionButton = PermissionButton;
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_Liveness3DContext","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","PermissionButton","children","props","touchableOpacityRef","useRef","onRequestCameraPermission","useLiveness3DContext","handlePress","jsx","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,IAAAG,WAAA,GAAAH,OAAA;AAAA,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,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAG7D,MAAMkB,gBAAyD,GAAGA,CAAC;EACxEC,QAAQ;EACR,GAAGC;AACL,CAAC,KAAK;EACJ,MAAMC,mBAAmB,GAAG,IAAAC,aAAM,EAAC,IAAI,CAAC;EACxC,MAAM;IAAEC;EAA0B,CAAC,GAAG,IAAAC,uCAAoB,EAAC,CAAC;EAE5D,MAAMC,WAAW,GAAGA,CAAA,KAAM;IACxBF,yBAAyB,CAAC,CAAC;EAC7B,CAAC;EAED;IAAA;IACE;IACA,IAAAzB,WAAA,CAAA4B,GAAA,EAAC9B,YAAA,CAAA+B,gBAAgB;MACfC,GAAG,EAAEP,mBAAoB;MACzBQ,OAAO,EAAEJ,WAAY;MAAA,GACjBL,KAAK;MAAAD,QAAA,EAERA;IAAQ,CACO;EAAC;AAEvB,CAAC;AAACW,OAAA,CAAAZ,gBAAA,GAAAA,gBAAA","ignoreList":[]}
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,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,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,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AA0B,CAAC,GAAG,IAAAC,uCAAoB,EAAC,CAAC;EAE5D,MAAMC,WAAW,GAAGA,CAAA,KAAM;IACxBF,yBAAyB,CAAC,CAAC;EAC7B,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,gBAAA,GAAAA,gBAAA","ignoreList":[]}
@@ -7,7 +7,6 @@ exports.useLiveness3DContext = exports.default = exports.SCREEN = exports.Livene
7
7
  var _index = require("../index");
8
8
  var _react = _interopRequireWildcard(require("react"));
9
9
  var _permissions = require("../utils/permissions");
10
- var _jsxRuntime = require("react/jsx-runtime");
11
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); }
12
11
  const SCREEN = exports.SCREEN = Object.freeze({
13
12
  INSTRUCTION_VIEW: 1,
@@ -71,10 +70,9 @@ const Liveness3DProvider = ({
71
70
  return (
72
71
  /*#__PURE__*/
73
72
  //@ts-ignore
74
- (0, _jsxRuntime.jsx)(Liveness3DContext.Provider, {
75
- value: contextValue,
76
- children: children
77
- })
73
+ _react.default.createElement(Liveness3DContext.Provider, {
74
+ value: contextValue
75
+ }, children)
78
76
  );
79
77
  };
80
78
  exports.Liveness3DProvider = Liveness3DProvider;
@@ -1 +1 @@
1
- {"version":3,"names":["_index","require","_react","_interopRequireWildcard","_permissions","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","SCREEN","exports","freeze","INSTRUCTION_VIEW","PERMISSION_VIEW","Liveness3DContext","createContext","undefined","Liveness3DProvider","children","onError","onSuccess","screen","setScreen","useState","navigation","setNavigation","options","setOptions","callbackView","setCallbackView","onLiveness3DError","error","onLiveness3DSuccess","result","onBack","code","message","startLiveness","startLiveness3d","onRequestCameraPermission","requestCameraPermission","then","contextValue","jsx","Provider","value","useLiveness3DContext","context","useContext","Error","_default"],"sourceRoot":"../../../src","sources":["context/Liveness3DContext.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,uBAAA,CAAAF,OAAA;AAIA,IAAAG,YAAA,GAAAH,OAAA;AAA+D,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAE,wBAAAG,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAL,uBAAA,YAAAA,CAAAG,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,OAAAa,cAAA,CAAAC,IAA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ignoreList":[]}
1
+ {"version":3,"names":["_index","require","_react","_interopRequireWildcard","_permissions","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","SCREEN","exports","freeze","INSTRUCTION_VIEW","PERMISSION_VIEW","Liveness3DContext","createContext","undefined","Liveness3DProvider","children","onError","onSuccess","screen","setScreen","useState","navigation","setNavigation","options","setOptions","callbackView","setCallbackView","onLiveness3DError","error","onLiveness3DSuccess","result","onBack","code","message","startLiveness","startLiveness3d","onRequestCameraPermission","requestCameraPermission","then","contextValue","createElement","Provider","value","useLiveness3DContext","context","useContext","Error","_default"],"sourceRoot":"../../../src","sources":["context/Liveness3DContext.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,uBAAA,CAAAF,OAAA;AAIA,IAAAG,YAAA,GAAAH,OAAA;AAA+D,SAAAE,wBAAAE,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAJ,uBAAA,YAAAA,CAAAE,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,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CA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{
6
6
  exports.Liveness3DHelper = void 0;
7
7
  var _react = require("react");
8
8
  var _Liveness3DContext = require("../context/Liveness3DContext");
9
- var _jsxRuntime = require("react/jsx-runtime");
10
9
  const Liveness3DHelper = ({
11
10
  children,
12
11
  options,
@@ -26,9 +25,7 @@ const Liveness3DHelper = ({
26
25
  }
27
26
  setOptions(options);
28
27
  }, [options, onError, setNavigation, setOptions, setCallbackView]);
29
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
30
- children: children
31
- });
28
+ return /*#__PURE__*/React.createElement(React.Fragment, null, children);
32
29
  };
33
30
  exports.Liveness3DHelper = Liveness3DHelper;
34
31
  //# sourceMappingURL=Liveness3DHelper.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","require","_Liveness3DContext","_jsxRuntime","Liveness3DHelper","children","options","onError","setNavigation","setOptions","setCallbackView","useLiveness3DContext","useEffect","appkey","undefined","code","message","jsx","Fragment","exports"],"sourceRoot":"../../../src","sources":["helpers/Liveness3DHelper.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,kBAAA,GAAAD,OAAA;AAAoE,IAAAE,WAAA,GAAAF,OAAA;AAG7D,MAAMG,gBAA+C,GAAGA,CAAC;EAC9DC,QAAQ;EACRC,OAAO;EACPC;AACF,CAAC,KAAK;EACJ,MAAM;IAAEC,aAAa;IAAEC,UAAU;IAAEC;EAAgB,CAAC,GAAG,IAAAC,uCAAoB,EAAC,CAAC;EAE7E,IAAAC,gBAAS,EAAC,MAAM;IACd,IACEN,OAAO,CAACO,MAAM,KAAK,IAAI,IACvBP,OAAO,CAACO,MAAM,KAAKC,SAAS,IAC5BR,OAAO,CAACO,MAAM,KAAK,EAAE,EACrB;MACAN,OAAO,CAAC;QAAEQ,IAAI,EAAE,GAAG;QAAEC,OAAO,EAAE;MAAgB,CAAC,CAAC;IAClD;IACAP,UAAU,CAACH,OAAO,CAAC;EACrB,CAAC,EAAE,CAACA,OAAO,EAAEC,OAAO,EAAEC,aAAa,EAAEC,UAAU,EAAEC,eAAe,CAAC,CAAC;EAElE,oBAAO,IAAAP,WAAA,CAAAc,GAAA,EAAAd,WAAA,CAAAe,QAAA;IAAAb,QAAA,EAAGA;EAAQ,CAAG,CAAC;AACxB,CAAC;AAACc,OAAA,CAAAf,gBAAA,GAAAA,gBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_react","require","_Liveness3DContext","Liveness3DHelper","children","options","onError","setNavigation","setOptions","setCallbackView","useLiveness3DContext","useEffect","appkey","undefined","code","message","React","createElement","Fragment","exports"],"sourceRoot":"../../../src","sources":["helpers/Liveness3DHelper.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,kBAAA,GAAAD,OAAA;AAGO,MAAME,gBAA+C,GAAGA,CAAC;EAC9DC,QAAQ;EACRC,OAAO;EACPC;AACF,CAAC,KAAK;EACJ,MAAM;IAAEC,aAAa;IAAEC,UAAU;IAAEC;EAAgB,CAAC,GAAG,IAAAC,uCAAoB,EAAC,CAAC;EAE7E,IAAAC,gBAAS,EAAC,MAAM;IACd,IACEN,OAAO,CAACO,MAAM,KAAK,IAAI,IACvBP,OAAO,CAACO,MAAM,KAAKC,SAAS,IAC5BR,OAAO,CAACO,MAAM,KAAK,EAAE,EACrB;MACAN,OAAO,CAAC;QAAEQ,IAAI,EAAE,GAAG;QAAEC,OAAO,EAAE;MAAgB,CAAC,CAAC;IAClD;IACAP,UAAU,CAACH,OAAO,CAAC;EACrB,CAAC,EAAE,CAACA,OAAO,EAAEC,OAAO,EAAEC,aAAa,EAAEC,UAAU,EAAEC,eAAe,CAAC,CAAC;EAElE,oBAAOO,KAAA,CAAAC,aAAA,CAAAD,KAAA,CAAAE,QAAA,QAAGd,QAAW,CAAC;AACxB,CAAC;AAACe,OAAA,CAAAhB,gBAAA,GAAAA,gBAAA","ignoreList":[]}
@@ -31,18 +31,17 @@ var _Liveness3DContext = require("./context/Liveness3DContext");
31
31
  var _Liveness3DHelper = require("./helpers/Liveness3DHelper");
32
32
  var _permissions = require("./utils/permissions");
33
33
  var _NativeRnLiveness3d = _interopRequireDefault(require("./NativeRnLiveness3d"));
34
- var _jsxRuntime = require("react/jsx-runtime");
35
34
  var _ContinueButton = require("./actions/ContinueButton");
36
35
  var _PermissionButton = require("./actions/PermissionButton");
37
36
  var _BackButton = require("./actions/BackButton");
38
37
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
39
38
  function startLiveness3d(options, onSuccess, onError, loading) {
40
- let args = {
41
- appkey: options?.appkey === undefined ? '' : options?.appkey,
42
- environment: options?.environment === undefined ? 'HML' : options?.environment,
43
- liveness3Dtext: options?.liveness3Dtext || {},
44
- theme: options?.theme || {},
45
- fonts: options?.fonts || {},
39
+ const args = {
40
+ appkey: (options === null || options === void 0 ? void 0 : options.appkey) === undefined ? '' : options === null || options === void 0 ? void 0 : options.appkey,
41
+ environment: (options === null || options === void 0 ? void 0 : options.environment) === undefined ? 'HML' : options === null || options === void 0 ? void 0 : options.environment,
42
+ liveness3Dtext: options === null || options === void 0 ? void 0 : options.liveness3Dtext,
43
+ theme: options === null || options === void 0 ? void 0 : options.theme,
44
+ fonts: options === null || options === void 0 ? void 0 : options.fonts,
46
45
  loading: loading
47
46
  };
48
47
  _NativeRnLiveness3d.default.startLiveness3d(args).then(result => {
@@ -65,23 +64,21 @@ function Liveness3dView({
65
64
  return (
66
65
  /*#__PURE__*/
67
66
  //@ts-ignore
68
- (0, _jsxRuntime.jsx)(_Liveness3DContext.Liveness3DProvider, {
67
+ React.createElement(_Liveness3DContext.Liveness3DProvider, {
69
68
  onError: onError,
69
+ onSuccess: onSuccess
70
+ }, /*#__PURE__*/React.createElement(_Liveness3DHelper.Liveness3DHelper, {
71
+ options: options,
72
+ onError: onError
73
+ }, /*#__PURE__*/React.createElement(GetIntructionView, {
74
+ CustomInstructionView: CustomInstructionView,
75
+ CustomPermissionView: CustomPermissionView,
76
+ options: options,
77
+ loading: loading,
70
78
  onSuccess: onSuccess,
71
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Liveness3DHelper.Liveness3DHelper, {
72
- options: options,
73
- onError: onError,
74
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(GetIntructionView, {
75
- CustomInstructionView: CustomInstructionView,
76
- CustomPermissionView: CustomPermissionView,
77
- options: options,
78
- loading: loading,
79
- onSuccess: onSuccess,
80
- onError: onError,
81
- onBack: onBack
82
- })
83
- })
84
- })
79
+ onError: onError,
80
+ onBack: onBack
81
+ })))
85
82
  );
86
83
  }
87
84
  function GetIntructionView({
@@ -120,14 +117,12 @@ function GetIntructionView({
120
117
  setScreen(1);
121
118
  }
122
119
  }
123
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
124
- children: [screen === 1 && (!CustomInstructionView ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_InstructionsView.default, {
125
- onVerify: verifyPermission,
126
- onBack: onBackScreen
127
- }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(CustomInstructionView, {})), screen === 2 && (!CustomPermissionView ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_PermissionView.default, {
128
- onVerify: verifyPermission,
129
- onBack: onBackScreen
130
- }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(CustomPermissionView, {}))]
131
- });
120
+ return /*#__PURE__*/React.createElement(React.Fragment, null, screen === 1 && (!CustomInstructionView ? /*#__PURE__*/React.createElement(_InstructionsView.default, {
121
+ onVerify: verifyPermission,
122
+ onBack: onBackScreen
123
+ }) : /*#__PURE__*/React.createElement(CustomInstructionView, null)), screen === 2 && (!CustomPermissionView ? /*#__PURE__*/React.createElement(_PermissionView.default, {
124
+ onVerify: verifyPermission,
125
+ onBack: onBackScreen
126
+ }) : /*#__PURE__*/React.createElement(CustomPermissionView, null)));
132
127
  }
133
128
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_InstructionsView","_interopRequireDefault","_PermissionView","_Liveness3DContext","_Liveness3DHelper","_permissions","_NativeRnLiveness3d","_jsxRuntime","_ContinueButton","_PermissionButton","_BackButton","e","__esModule","default","startLiveness3d","options","onSuccess","onError","loading","args","appkey","undefined","environment","liveness3Dtext","theme","fonts","RnLiveness3d","then","result","Platform","OS","JSON","parse","catch","error","Liveness3dView","CustomInstructionView","CustomPermissionView","onBack","jsx","Liveness3DProvider","children","Liveness3DHelper","GetIntructionView","setScreen","screen","useLiveness3DContext","onBackScreen","SCREEN","INSTRUCTION_VIEW","PERMISSION_VIEW","verifyPermission","checkCameraPermissionGranted","requestCameraPermission","jsxs","Fragment","onVerify"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,iBAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,eAAA,GAAAD,sBAAA,CAAAF,OAAA;AAEA,IAAAI,kBAAA,GAAAJ,OAAA;AAKA,IAAAK,iBAAA,GAAAL,OAAA;AACA,IAAAM,YAAA,GAAAN,OAAA;AAIA,IAAAO,mBAAA,GAAAL,sBAAA,CAAAF,OAAA;AAAgD,IAAAQ,WAAA,GAAAR,OAAA;AA8HhD,IAAAS,eAAA,GAAAT,OAAA;AACA,IAAAU,iBAAA,GAAAV,OAAA;AACA,IAAAW,WAAA,GAAAX,OAAA;AAAkD,SAAAE,uBAAAU,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AA9H3C,SAASG,eAAeA,CAC7BC,OAAiB,EACjBC,SAA0C,EAC1CC,OAAqC,EACrCC,OAAqB,EACrB;EACA,IAAIC,IAAc,GAAG;IACnBC,MAAM,EAAEL,OAAO,EAAEK,MAAM,KAAKC,SAAS,GAAG,EAAE,GAAGN,OAAO,EAAEK,MAAM;IAC5DE,WAAW,EACTP,OAAO,EAAE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V,CAACR,oBAAoB,gBACpB,IAAA9B,WAAA,CAAAgC,GAAA,EAACrC,eAAA,CAAAW,OAAc;MAAC2C,QAAQ,EAAEL,gBAAiB;MAACb,MAAM,EAAES;IAAa,CAAE,CAAC,gBAEpE,IAAAxC,WAAA,CAAAgC,GAAA,EAACF,oBAAoB,IAAE,CACxB,CAAC;EAAA,CACJ,CAAC;AAEP","ignoreList":[]}
1
+ {"version":3,"names":["_reactNative","require","_InstructionsView","_interopRequireDefault","_PermissionView","_Liveness3DContext","_Liveness3DHelper","_permissions","_NativeRnLiveness3d","_ContinueButton","_PermissionButton","_BackButton","e","__esModule","default","startLiveness3d","options","onSuccess","onError","loading","args","appkey","undefined","environment","liveness3Dtext","theme","fonts","RnLiveness3d","then","result","Platform","OS","JSON","parse","catch","error","Liveness3dView","CustomInstructionView","CustomPermissionView","onBack","React","createElement","Liveness3DProvider","Liveness3DHelper","GetIntructionView","setScreen","screen","useLiveness3DContext","onBackScreen","SCREEN","INSTRUCTION_VIEW","PERMISSION_VIEW","verifyPermission","checkCameraPermissionGranted","requestCameraPermission","Fragment","onVerify"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,iBAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,eAAA,GAAAD,sBAAA,CAAAF,OAAA;AAEA,IAAAI,kBAAA,GAAAJ,OAAA;AAKA,IAAAK,iBAAA,GAAAL,OAAA;AACA,IAAAM,YAAA,GAAAN,OAAA;AAIA,IAAAO,mBAAA,GAAAL,sBAAA,CAAAF,OAAA;AA8HA,IAAAQ,eAAA,GAAAR,OAAA;AACA,IAAAS,iBAAA,GAAAT,OAAA;AACA,IAAAU,WAAA,GAAAV,OAAA;AAAkD,SAAAE,uBAAAS,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA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