@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
@@ -6,7 +6,7 @@ buildscript {
6
6
  google()
7
7
  mavenCentral()
8
8
  maven {
9
- url 'https://raw.githubusercontent.com/oititec/android-oiti-versions-beta/master'
9
+ url 'https://raw.githubusercontent.com/oititec/android-oiti-versions/master'
10
10
  }
11
11
  }
12
12
 
@@ -140,7 +140,7 @@ dependencies {
140
140
  implementation "com.facebook.react:react-native:+"
141
141
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
142
142
 
143
- implementation 'br.com.oiti:liveness3d-sdk:9.5.6'
143
+ implementation 'br.com.oiti:liveness3d-sdk:9.5.8'
144
144
 
145
145
  // From node_modules
146
146
  }
@@ -1,2 +1,3 @@
1
- <manifest xmlns:android="http://schemas.android.com/apk/res/android">
1
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
+ package="br.com.oiti.rnliveness3d">
2
3
  </manifest>
@@ -19,6 +19,7 @@ import com.facebook.react.bridge.Callback
19
19
  import com.facebook.react.bridge.Promise
20
20
  import com.facebook.react.bridge.ReactApplicationContext
21
21
  import com.facebook.react.bridge.ReadableMap
22
+ import com.facebook.react.bridge.ReadableType
22
23
  import com.facebook.react.module.annotations.ReactModule
23
24
  import org.json.JSONObject
24
25
 
@@ -90,19 +91,18 @@ class RnLiveness3dModule(reactContext: ReactApplicationContext) :
90
91
  val textsMap = args?.getMap(name = "liveness3Dtext")
91
92
  val loadingMap = args?.getMap(name = "loading")
92
93
 
93
- val themeBuilder = themeMap?.let { Liveness3DTheme(readableMapToMap(it)).apply() }
94
+ val themeBuilder = themeMap
95
+ ?.takeIf { it.hasKeyIteratorEntries() }
96
+ ?.let { Liveness3DTheme(readableMapToMap(it)).apply() }
94
97
  val fonts = fontsMap?.let { getFonts(readableMapToMap(it)) }
95
98
  val texts = textsMap?.let { Liveness3DText().getTexts(readableMapToMap(it)) }
96
99
 
97
- val loadingTypeString = loadingMap?.getString(name = "type") ?: "default"
100
+ val loadingTypeString = loadingMap.readStringKey("type") ?: "default"
98
101
  val loadingType =
99
102
  if (loadingTypeString == "default") LoadingType3D.ACTIVITY_INDICATOR else LoadingType3D.SPINNER
100
- val loadingColor = loadingMap?.getString(name = "loadingColor") ?: "#000000"
101
- val loadingBackground = loadingMap?.getString(name = "backgroundColor") ?: "#FFFFFF"
102
- val loadingSize = when(loadingMap?.hasKey(name = "size")) {
103
- true -> loadingMap.getInt(name = "size")
104
- else -> 10
105
- }
103
+ val loadingColor = loadingMap.readStringKey("loadingColor") ?: "#000000"
104
+ val loadingBackground = loadingMap.readStringKey("backgroundColor") ?: "#FFFFFF"
105
+ val loadingSize = normalizeLoadingSize(loadingMap.readIntKey("size") ?: 10)
106
106
 
107
107
  Log.d("ENV", environmentString)
108
108
  Log.d("ENV", appKey)
@@ -188,7 +188,12 @@ class RnLiveness3dModule(reactContext: ReactApplicationContext) :
188
188
  val iterator = it.keySetIterator()
189
189
  while (iterator.hasNextKey()) {
190
190
  val key = iterator.nextKey()
191
- val value = it.getString(key)
191
+ val value = when (it.getType(key)) {
192
+ ReadableType.String -> it.getString(key)
193
+ ReadableType.Number -> it.getDouble(key).toString()
194
+ ReadableType.Boolean -> it.getBoolean(key).toString()
195
+ else -> null
196
+ }
192
197
  map[key] = value
193
198
  }
194
199
  }
@@ -236,6 +241,35 @@ class RnLiveness3dModule(reactContext: ReactApplicationContext) :
236
241
  }
237
242
  }
238
243
 
244
+ private fun ReadableMap.hasKeyIteratorEntries(): Boolean {
245
+ val iterator = keySetIterator()
246
+ return iterator.hasNextKey()
247
+ }
248
+
249
+ private fun ReadableMap?.readStringKey(key: String): String? {
250
+ if (this == null || !hasKey(key) || isNull(key)) return null
251
+ return when (getType(key)) {
252
+ ReadableType.String -> getString(key)
253
+ ReadableType.Number -> getDouble(key).toString()
254
+ ReadableType.Boolean -> getBoolean(key).toString()
255
+ else -> null
256
+ }?.takeIf { it.isNotBlank() }
257
+ }
258
+
259
+ private fun ReadableMap?.readIntKey(key: String): Int? {
260
+ if (this == null || !hasKey(key) || isNull(key)) return null
261
+ return when (getType(key)) {
262
+ ReadableType.Number -> getDouble(key).toInt()
263
+ ReadableType.String -> getString(key)?.toIntOrNull()
264
+ else -> null
265
+ }
266
+ }
267
+
268
+ private fun normalizeLoadingSize(rawSize: Int): Int {
269
+ val safeSize = rawSize.coerceAtLeast(0)
270
+ return if (safeSize <= 10) safeSize * 30 else safeSize
271
+ }
272
+
239
273
  companion object {
240
274
  const val NAME = "RnLiveness3d"
241
275
  private const val CAMERA_PERMISSION_REQUEST_CODE = 100
@@ -1,229 +1,168 @@
1
1
  package br.com.oiti.rnliveness3d.theme
2
2
 
3
- import androidx.annotation.DrawableRes
4
3
  import br.com.oiti.liveness3d.theme.Liveness3DTheme
5
4
 
6
5
  class Liveness3DTheme(
7
6
  private var themeBuilder: Map<String, String?>?,
8
7
  ) {
9
- //Guidance customization
8
+ private fun parseIntThemeValue(key: String): Int? {
9
+ val raw = themeBuilder?.get(key)?.trim()?.takeIf { it.isNotEmpty() } ?: return null
10
+ return raw.toIntOrNull() ?: raw.toDoubleOrNull()?.toInt()
11
+ }
12
+
10
13
  private val guidanceCustomizationBackgroundColors: String? =
11
- themeBuilder?.get("guidanceCustomizationBackgroundColors") ?: "#FFFFFF"
14
+ themeBuilder?.get("guidanceCustomizationBackgroundColors")
12
15
  private val guidanceCustomizationForegroundColor: String? =
13
- themeBuilder?.get("guidanceCustomizationForegroundColor") ?: "#FFFFFF"
16
+ themeBuilder?.get("guidanceCustomizationForegroundColor")
14
17
 
15
- //Buttons
16
18
  private val guidanceCustomizationButtonTextNormalColor: String? =
17
- themeBuilder?.get("guidanceCustomizationForegroundColor") ?: "#000000"
19
+ themeBuilder?.get("guidanceCustomizationButtonTextNormalColor")
18
20
  private val guidanceCustomizationButtonBackgroundNormalColor: String? =
19
- themeBuilder?.get("guidanceCustomizationButtonBackgroundNormalColor") ?: "#4bb75f"
20
-
21
+ themeBuilder?.get("guidanceCustomizationButtonBackgroundNormalColor")
21
22
  private val guidanceCustomizationButtonTextHighlightColor: String? =
22
- themeBuilder?.get("guidanceCustomizationButtonTextHighlightColor") ?: "#000000"
23
+ themeBuilder?.get("guidanceCustomizationButtonTextHighlightColor")
23
24
  private val guidanceCustomizationButtonBackgroundHighlightColor: String? =
24
- themeBuilder?.get("guidanceCustomizationButtonBackgroundHighlightColor") ?: "#000000"
25
+ themeBuilder?.get("guidanceCustomizationButtonBackgroundHighlightColor")
25
26
  private val guidanceCustomizationButtonTextDisabledColor: String? =
26
- themeBuilder?.get("guidanceCustomizationButtonTextDisabledColor") ?: "#333333"
27
+ themeBuilder?.get("guidanceCustomizationButtonTextDisabledColor")
27
28
  private val guidanceCustomizationButtonBackgroundDisabledColor: String? =
28
- themeBuilder?.get("guidanceCustomizationButtonBackgroundDisabledColor") ?: "#333333"
29
+ themeBuilder?.get("guidanceCustomizationButtonBackgroundDisabledColor")
29
30
  private val guidanceCustomizationButtonBorderColor: String? =
30
- themeBuilder?.get("guidanceCustomizationButtonBorderColor") ?: "#000000"
31
+ themeBuilder?.get("guidanceCustomizationButtonBorderColor")
31
32
  private val guidanceCustomizationButtonBorderWidth: Int? =
32
- themeBuilder?.get("guidanceCustomizationButtonBorderWidth")?.toInt() ?: 0
33
+ parseIntThemeValue("guidanceCustomizationButtonBorderWidth")
33
34
  private val guidanceCustomizationButtonCornerRadius: Int? =
34
- themeBuilder?.get("guidanceCustomizationButtonCornerRadius")?.toInt() ?: 25
35
+ parseIntThemeValue("guidanceCustomizationButtonCornerRadius")
35
36
 
36
- //Ready Screen
37
37
  private val guidanceCustomizationReadyScreenHeaderTextColor: String? =
38
- themeBuilder?.get("guidanceCustomizationReadyScreenHeaderTextColor") ?: "#000000"
38
+ themeBuilder?.get("guidanceCustomizationReadyScreenHeaderTextColor")
39
39
  private val guidanceCustomizationReadyScreenSubtextTextColor: String? =
40
- themeBuilder?.get("guidanceCustomizationReadyScreenSubtextTextColor") ?: "#333333"
40
+ themeBuilder?.get("guidanceCustomizationReadyScreenSubtextTextColor")
41
41
 
42
- //Retry Screen
43
42
  private val guidanceCustomizationRetryScreenHeaderTextColor: String? =
44
- themeBuilder?.get("guidanceCustomizationRetryScreenHeaderTextColor") ?: "#000000"
43
+ themeBuilder?.get("guidanceCustomizationRetryScreenHeaderTextColor")
45
44
  private val guidanceCustomizationRetryScreenSubtextTextColor: String? =
46
- themeBuilder?.get("guidanceCustomizationRetryScreenSubtextTextColor") ?: "#333333"
45
+ themeBuilder?.get("guidanceCustomizationRetryScreenSubtextTextColor")
47
46
  private val guidanceCustomizationReadyScreenOvalFillColor: String? =
48
- themeBuilder?.get("guidanceCustomizationReadyScreenOvalFillColor") ?: "#000000"
47
+ themeBuilder?.get("guidanceCustomizationReadyScreenOvalFillColor")
49
48
  private val guidanceCustomizationReadyScreenTextBackgroundColor: String? =
50
- themeBuilder?.get("guidanceCustomizationReadyScreenTextBackgroundColor") ?: "#4bb75f"
49
+ themeBuilder?.get("guidanceCustomizationReadyScreenTextBackgroundColor")
51
50
  private val guidanceCustomizationReadyScreenTextBackgroundCornerRadius: Int? =
52
- themeBuilder?.get("guidanceCustomizationReadyScreenTextBackgroundCornerRadius")?.toInt() ?: 0
51
+ parseIntThemeValue("guidanceCustomizationReadyScreenTextBackgroundCornerRadius")
53
52
  private val guidanceCustomizationRetryScreenImageBorderColor: String? =
54
- themeBuilder?.get("guidanceCustomizationRetryScreenImageBorderColor") ?: "#4bb75f"
53
+ themeBuilder?.get("guidanceCustomizationRetryScreenImageBorderColor")
55
54
  private val guidanceCustomizationRetryScreenImageBorderWidth: Int? =
56
- themeBuilder?.get("guidanceCustomizationRetryScreenImageBorderWidth")?.toInt() ?: 0
55
+ parseIntThemeValue("guidanceCustomizationRetryScreenImageBorderWidth")
57
56
  private val guidanceCustomizationRetryScreenImageCornerRadius: Int? =
58
- themeBuilder?.get("guidanceCustomizationRetryScreenImageCornerRadius")?.toInt() ?: 3
57
+ parseIntThemeValue("guidanceCustomizationRetryScreenImageCornerRadius")
59
58
  private val guidanceCustomizationRetryScreenOvalStrokeColor: String? =
60
- themeBuilder?.get("guidanceCustomizationRetryScreenOvalStrokeColor") ?: "#4bb75f"
59
+ themeBuilder?.get("guidanceCustomizationRetryScreenOvalStrokeColor")
61
60
 
62
- //Result Screen Customization
63
- private val resultScreenCustomizationAnimationRelativeScale: Float = 1.0F
64
61
  private val resultScreenCustomizationForegroundColor: String? =
65
- themeBuilder?.get("resultScreenCustomizationForegroundColor") ?: "#FFFFFF"
62
+ themeBuilder?.get("resultScreenCustomizationForegroundColor")
66
63
  private val resultScreenCustomizationBackgroundColors: String? =
67
- themeBuilder?.get("resultScreenCustomizationBackgroundColors") ?: "#FFFFFF"
64
+ themeBuilder?.get("resultScreenCustomizationBackgroundColors")
68
65
  private val resultScreenCustomizationActivityIndicatorColor: String? =
69
- themeBuilder?.get("resultScreenCustomizationActivityIndicatorColor") ?: "#FFFFFF"
70
-
71
- @DrawableRes
72
- private val resultScreenCustomizationCustomActivityIndicatorImage: Int? = null
73
- private val resultScreenCustomizationCustomActivityIndicatorRotationInterval: Int = 1000
74
- private val resultScreenCustomizationCustomActivityIndicatorAnimation: Int = 0
75
- private val resultScreenCustomizationShowUploadProgressBar: Boolean = true
66
+ themeBuilder?.get("resultScreenCustomizationActivityIndicatorColor")
76
67
  private val resultScreenCustomizationUploadProgressFillColor: String? =
77
- themeBuilder?.get("resultScreenCustomizationUploadProgressFillColor") ?: "#4bb75f"
68
+ themeBuilder?.get("resultScreenCustomizationUploadProgressFillColor")
78
69
  private val resultScreenCustomizationUploadProgressTrackColor: String? =
79
- themeBuilder?.get("resultScreenCustomizationUploadProgressTrackColor") ?: "#333333"
70
+ themeBuilder?.get("resultScreenCustomizationUploadProgressTrackColor")
80
71
  private val resultScreenCustomizationResultAnimationBackgroundColor: String? =
81
- themeBuilder?.get("resultScreenCustomizationResultAnimationBackgroundColor") ?: "#05D758"
72
+ themeBuilder?.get("resultScreenCustomizationResultAnimationBackgroundColor")
82
73
  private val resultScreenCustomizationResultAnimationForegroundColor: String? =
83
- themeBuilder?.get("resultScreenCustomizationResultAnimationForegroundColor") ?: "#FFFFFF"
84
-
74
+ themeBuilder?.get("resultScreenCustomizationResultAnimationForegroundColor")
85
75
 
86
- //Oval Customization
87
76
  private val ovalCustomizationStrokeWidth: Int? =
88
- themeBuilder?.get("ovalCustomizationStrokeWidth")?.toInt() ?: 3
77
+ parseIntThemeValue("ovalCustomizationStrokeWidth")
89
78
  private val ovalCustomizationStrokeColor: String? =
90
- themeBuilder?.get("ovalCustomizationStrokeColor") ?: "#4bb75f"
79
+ themeBuilder?.get("ovalCustomizationStrokeColor")
91
80
  private val ovalCustomizationProgressStrokeWidth: Int? =
92
- themeBuilder?.get("ovalCustomizationProgressStrokeWidth")?.toInt() ?: 2
81
+ parseIntThemeValue("ovalCustomizationProgressStrokeWidth")
93
82
  private val ovalCustomizationProgressColor1: String? =
94
- themeBuilder?.get("ovalCustomizationProgressColor1") ?: "#4bb75f"
83
+ themeBuilder?.get("ovalCustomizationProgressColor1")
95
84
  private val ovalCustomizationProgressColor2: String? =
96
- themeBuilder?.get("ovalCustomizationProgressColor2") ?: "#4bb75f"
85
+ themeBuilder?.get("ovalCustomizationProgressColor2")
97
86
  private val ovalCustomizationProgressRadialOffset: Int? =
98
- themeBuilder?.get("ovalCustomizationProgressRadialOffset")?.toInt() ?: 2
87
+ parseIntThemeValue("ovalCustomizationProgressRadialOffset")
99
88
 
100
- //Frame Customization
101
89
  private val frameCustomizationBorderWidth: Int? =
102
- themeBuilder?.get("frameCustomizationBorderWidth")?.toInt() ?: 0
90
+ parseIntThemeValue("frameCustomizationBorderWidth")
103
91
  private val frameCustomizationCornerRadius: Int? =
104
- themeBuilder?.get("frameCustomizationCornerRadius")?.toInt() ?: 0
92
+ parseIntThemeValue("frameCustomizationCornerRadius")
105
93
  private val frameCustomizationBorderColor: String? =
106
- themeBuilder?.get("frameCustomizationBorderColor") ?: "#4bb75f"
94
+ themeBuilder?.get("frameCustomizationBorderColor")
107
95
  private val frameCustomizationBackgroundColor: String? =
108
- themeBuilder?.get("frameCustomizationBackgroundColor") ?: "#FFFFFF"
96
+ themeBuilder?.get("frameCustomizationBackgroundColor")
109
97
  private val frameCustomizationElevation: Int? =
110
- themeBuilder?.get("frameCustomizationElevation")?.toInt() ?: 0
98
+ parseIntThemeValue("frameCustomizationElevation")
111
99
 
112
- //Overlay Customization
113
100
  private val overlayCustomizationBackgroundColor: String? =
114
- themeBuilder?.get("overlayCustomizationBackgroundColor") ?: "#FFFFFF"
101
+ themeBuilder?.get("overlayCustomizationBackgroundColor")
115
102
 
116
- //Feedback Customization
117
103
  private val feedbackCustomizationCornerRadius: Int? =
118
- themeBuilder?.get("feedbackCustomizationCornerRadius")?.toInt() ?: 2
104
+ parseIntThemeValue("feedbackCustomizationCornerRadius")
119
105
  private val feedbackCustomizationBackgroundColors: String? =
120
- themeBuilder?.get("overlayCustomizationBackgroundColor") ?: "#666666"
106
+ themeBuilder?.get("feedbackCustomizationBackgroundColors")
121
107
  private val feedbackCustomizationTextColor: String? =
122
- themeBuilder?.get("feedbackCustomizationTextColor") ?: "#FFFFFF"
108
+ themeBuilder?.get("feedbackCustomizationTextColor")
123
109
 
124
110
 
125
111
  fun apply(): Liveness3DTheme {
126
- return Liveness3DTheme.Builder()
127
- .guidanceCustomizationBackgroundColors(guidanceCustomizationBackgroundColors)
128
- .guidanceCustomizationForegroundColor(guidanceCustomizationForegroundColor)
129
- //Botões
130
- .guidanceCustomizationButtonTextNormalColor(guidanceCustomizationButtonTextNormalColor)
131
- .guidanceCustomizationButtonBackgroundNormalColor(
132
- guidanceCustomizationButtonBackgroundNormalColor
133
- )
134
- .guidanceCustomizationButtonTextHighlightColor(guidanceCustomizationButtonTextHighlightColor)
135
- .guidanceCustomizationButtonBackgroundHighlightColor(
136
- guidanceCustomizationButtonBackgroundHighlightColor
137
- )
138
- .guidanceCustomizationButtonTextDisabledColor(guidanceCustomizationButtonTextDisabledColor)
139
- .guidanceCustomizationButtonBackgroundDisabledColor(
140
- guidanceCustomizationButtonBackgroundDisabledColor
141
- )
142
- .guidanceCustomizationButtonBorderColor(guidanceCustomizationButtonBorderColor)
143
- .guidanceCustomizationButtonBorderWidth(guidanceCustomizationButtonBorderWidth)
144
- .guidanceCustomizationButtonCornerRadius(guidanceCustomizationButtonCornerRadius)
145
-
146
-
147
- //Ready Screen
148
- .guidanceCustomizationReadyScreenHeaderTextColor(
149
- guidanceCustomizationReadyScreenHeaderTextColor
150
- )
151
- .guidanceCustomizationReadyScreenSubtextTextColor(
152
- guidanceCustomizationReadyScreenSubtextTextColor
153
- )
154
-
155
- //Retry Screen
156
- .guidanceCustomizationRetryScreenHeaderTextColor(
157
- guidanceCustomizationRetryScreenHeaderTextColor
158
- )
159
- .guidanceCustomizationRetryScreenSubtextTextColor(
160
- guidanceCustomizationRetryScreenSubtextTextColor
161
- )
162
- .guidanceCustomizationRetryScreenImageBorderColor(
163
- guidanceCustomizationRetryScreenImageBorderColor
164
- )
165
- .guidanceCustomizationRetryScreenImageBorderWidth(
166
- guidanceCustomizationRetryScreenImageBorderWidth
167
- )
168
- .guidanceCustomizationRetryScreenImageCornerRadius(
169
- guidanceCustomizationRetryScreenImageCornerRadius
170
- )
171
- .guidanceCustomizationRetryScreenOvalStrokeColor(
172
- guidanceCustomizationRetryScreenOvalStrokeColor
173
- )
174
- .guidanceCustomizationReadyScreenOvalFillColor(guidanceCustomizationReadyScreenOvalFillColor)
175
- .guidanceCustomizationReadyScreenTextBackgroundColor(
176
- guidanceCustomizationReadyScreenTextBackgroundColor
177
- )
178
- .guidanceCustomizationReadyScreenTextBackgroundCornerRadius(
179
- guidanceCustomizationReadyScreenTextBackgroundCornerRadius
180
- )
181
-
182
- //Result Screen
183
- .resultScreenCustomizationAnimationRelativeScale(
184
- resultScreenCustomizationAnimationRelativeScale
185
- )
186
- .resultScreenCustomizationForegroundColor(resultScreenCustomizationForegroundColor)
187
- .resultScreenCustomizationBackgroundColors(resultScreenCustomizationBackgroundColors)
188
- .resultScreenCustomizationActivityIndicatorColor(
189
- resultScreenCustomizationActivityIndicatorColor
190
- )
191
- .resultScreenCustomizationUploadProgressFillColor(
192
- resultScreenCustomizationUploadProgressFillColor
193
- )
194
- .resultScreenCustomizationUploadProgressTrackColor(
195
- resultScreenCustomizationUploadProgressTrackColor
196
- )
197
- .resultScreenCustomizationResultAnimationBackgroundColor(
198
- resultScreenCustomizationResultAnimationBackgroundColor
199
- )
200
- .resultScreenCustomizationResultAnimationForegroundColor(
201
- resultScreenCustomizationResultAnimationForegroundColor
202
- )
203
-
204
- //Oval
205
- .ovalCustomizationStrokeWidth(ovalCustomizationStrokeWidth)
206
- .ovalCustomizationStrokeColor(ovalCustomizationStrokeColor)
207
- .ovalCustomizationProgressStrokeWidth(ovalCustomizationProgressStrokeWidth)
208
- .ovalCustomizationProgressColor1(ovalCustomizationProgressColor1)
209
- .ovalCustomizationProgressColor2(ovalCustomizationProgressColor2)
210
- .ovalCustomizationProgressRadialOffset(ovalCustomizationProgressRadialOffset)
211
-
212
- //Frame
213
- .frameCustomizationBorderWidth(frameCustomizationBorderWidth)
214
- .frameCustomizationCornerRadius(frameCustomizationCornerRadius)
215
- .frameCustomizationBorderColor(frameCustomizationBorderColor)
216
- .frameCustomizationBackgroundColor(frameCustomizationBackgroundColor)
217
- .frameCustomizationElevation(frameCustomizationElevation)
218
-
219
- //Overlay
220
- .overlayCustomizationBackgroundColor(overlayCustomizationBackgroundColor)
221
-
222
- //Feedback Screen
223
- .feedbackCustomizationCornerRadius(feedbackCustomizationCornerRadius)
224
- .feedbackCustomizationBackgroundColors(feedbackCustomizationBackgroundColors)
225
- .feedbackCustomizationTextColor(feedbackCustomizationTextColor)
226
-
227
- .build()
112
+ val builder = Liveness3DTheme.Builder()
113
+
114
+ guidanceCustomizationBackgroundColors?.let { builder.guidanceCustomizationBackgroundColors(it) }
115
+ guidanceCustomizationForegroundColor?.let { builder.guidanceCustomizationForegroundColor(it) }
116
+ guidanceCustomizationButtonTextNormalColor?.let { builder.guidanceCustomizationButtonTextNormalColor(it) }
117
+ guidanceCustomizationButtonBackgroundNormalColor?.let { builder.guidanceCustomizationButtonBackgroundNormalColor(it) }
118
+ guidanceCustomizationButtonTextHighlightColor?.let { builder.guidanceCustomizationButtonTextHighlightColor(it) }
119
+ guidanceCustomizationButtonBackgroundHighlightColor?.let { builder.guidanceCustomizationButtonBackgroundHighlightColor(it) }
120
+ guidanceCustomizationButtonTextDisabledColor?.let { builder.guidanceCustomizationButtonTextDisabledColor(it) }
121
+ guidanceCustomizationButtonBackgroundDisabledColor?.let { builder.guidanceCustomizationButtonBackgroundDisabledColor(it) }
122
+ guidanceCustomizationButtonBorderColor?.let { builder.guidanceCustomizationButtonBorderColor(it) }
123
+ guidanceCustomizationButtonBorderWidth?.let { builder.guidanceCustomizationButtonBorderWidth(it) }
124
+ guidanceCustomizationButtonCornerRadius?.let { builder.guidanceCustomizationButtonCornerRadius(it) }
125
+
126
+ guidanceCustomizationReadyScreenHeaderTextColor?.let { builder.guidanceCustomizationReadyScreenHeaderTextColor(it) }
127
+ guidanceCustomizationReadyScreenSubtextTextColor?.let { builder.guidanceCustomizationReadyScreenSubtextTextColor(it) }
128
+
129
+ guidanceCustomizationRetryScreenHeaderTextColor?.let { builder.guidanceCustomizationRetryScreenHeaderTextColor(it) }
130
+ guidanceCustomizationRetryScreenSubtextTextColor?.let { builder.guidanceCustomizationRetryScreenSubtextTextColor(it) }
131
+ guidanceCustomizationRetryScreenImageBorderColor?.let { builder.guidanceCustomizationRetryScreenImageBorderColor(it) }
132
+ guidanceCustomizationRetryScreenImageBorderWidth?.let { builder.guidanceCustomizationRetryScreenImageBorderWidth(it) }
133
+ guidanceCustomizationRetryScreenImageCornerRadius?.let { builder.guidanceCustomizationRetryScreenImageCornerRadius(it) }
134
+ guidanceCustomizationRetryScreenOvalStrokeColor?.let { builder.guidanceCustomizationRetryScreenOvalStrokeColor(it) }
135
+ guidanceCustomizationReadyScreenOvalFillColor?.let { builder.guidanceCustomizationReadyScreenOvalFillColor(it) }
136
+ guidanceCustomizationReadyScreenTextBackgroundColor?.let { builder.guidanceCustomizationReadyScreenTextBackgroundColor(it) }
137
+ guidanceCustomizationReadyScreenTextBackgroundCornerRadius?.let { builder.guidanceCustomizationReadyScreenTextBackgroundCornerRadius(it) }
138
+
139
+ resultScreenCustomizationForegroundColor?.let { builder.resultScreenCustomizationForegroundColor(it) }
140
+ resultScreenCustomizationBackgroundColors?.let { builder.resultScreenCustomizationBackgroundColors(it) }
141
+ resultScreenCustomizationActivityIndicatorColor?.let { builder.resultScreenCustomizationActivityIndicatorColor(it) }
142
+ resultScreenCustomizationUploadProgressFillColor?.let { builder.resultScreenCustomizationUploadProgressFillColor(it) }
143
+ resultScreenCustomizationUploadProgressTrackColor?.let { builder.resultScreenCustomizationUploadProgressTrackColor(it) }
144
+ resultScreenCustomizationResultAnimationBackgroundColor?.let { builder.resultScreenCustomizationResultAnimationBackgroundColor(it) }
145
+ resultScreenCustomizationResultAnimationForegroundColor?.let { builder.resultScreenCustomizationResultAnimationForegroundColor(it) }
146
+
147
+ ovalCustomizationStrokeWidth?.let { builder.ovalCustomizationStrokeWidth(it) }
148
+ ovalCustomizationStrokeColor?.let { builder.ovalCustomizationStrokeColor(it) }
149
+ ovalCustomizationProgressStrokeWidth?.let { builder.ovalCustomizationProgressStrokeWidth(it) }
150
+ ovalCustomizationProgressColor1?.let { builder.ovalCustomizationProgressColor1(it) }
151
+ ovalCustomizationProgressColor2?.let { builder.ovalCustomizationProgressColor2(it) }
152
+ ovalCustomizationProgressRadialOffset?.let { builder.ovalCustomizationProgressRadialOffset(it) }
153
+
154
+ frameCustomizationBorderWidth?.let { builder.frameCustomizationBorderWidth(it) }
155
+ frameCustomizationCornerRadius?.let { builder.frameCustomizationCornerRadius(it) }
156
+ frameCustomizationBorderColor?.let { builder.frameCustomizationBorderColor(it) }
157
+ frameCustomizationBackgroundColor?.let { builder.frameCustomizationBackgroundColor(it) }
158
+ frameCustomizationElevation?.let { builder.frameCustomizationElevation(it) }
159
+
160
+ overlayCustomizationBackgroundColor?.let { builder.overlayCustomizationBackgroundColor(it) }
161
+
162
+ feedbackCustomizationCornerRadius?.let { builder.feedbackCustomizationCornerRadius(it) }
163
+ feedbackCustomizationBackgroundColors?.let { builder.feedbackCustomizationBackgroundColors(it) }
164
+ feedbackCustomizationTextColor?.let { builder.feedbackCustomizationTextColor(it) }
165
+
166
+ return builder.build()
228
167
  }
229
168
  }
package/ios/Podfile CHANGED
@@ -1,6 +1,6 @@
1
1
  platform :ios, '12.4'
2
2
 
3
- source 'https://github.com/oititec/ios-artifactory-beta.git'
3
+ source 'https://github.com/oititec/ios-artifactory.git'
4
4
  source 'https://github.com/CocoaPods/Specs.git'
5
5
 
6
6
 
@@ -8,6 +8,6 @@ target 'RnLiveness3d' do
8
8
  # Comment the next line if you don't want to use dynamic frameworks
9
9
  use_frameworks!
10
10
 
11
- pod 'OILiveness3D', '3.11.0'
11
+ pod 'OILiveness3D', '3.15.0'
12
12
 
13
13
  end
@@ -1,15 +1,5 @@
1
- #ifdef RCT_NEW_ARCH_ENABLED
2
1
  #import <RnLiveness3dSpec/RnLiveness3dSpec.h>
3
- #endif
4
2
 
5
- #import <React/RCTBridgeModule.h>
6
-
7
- @interface RnLiveness3d : NSObject <
8
- #ifdef RCT_NEW_ARCH_ENABLED
9
- NativeRnLiveness3dSpec
10
- #else
11
- RCTBridgeModule
12
- #endif
13
- >
3
+ @interface RnLiveness3d : NSObject <NativeRnLiveness3dSpec>
14
4
 
15
5
  @end
@@ -6,14 +6,10 @@
6
6
  RnLiveness3dSwiftModule *_module;
7
7
  }
8
8
 
9
- #ifdef RCT_NEW_ARCH_ENABLED
10
9
  + (NSString *)moduleName
11
10
  {
12
11
  return @"RnLiveness3d";
13
12
  }
14
- #else
15
- RCT_EXPORT_MODULE()
16
- #endif
17
13
 
18
14
  - (instancetype)init
19
15
  {
@@ -24,23 +20,23 @@ RCT_EXPORT_MODULE()
24
20
  return self;
25
21
  }
26
22
 
27
- #ifdef RCT_NEW_ARCH_ENABLED
23
+ /**
24
+ * TurboModules Bridge
25
+ */
26
+
28
27
  - (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:
29
28
  (const facebook::react::ObjCTurboModule::InitParams &)params
30
29
  {
31
30
  return std::make_shared<facebook::react::NativeRnLiveness3dSpecJSI>(params);
32
31
  }
33
- #endif
34
32
 
35
- #ifdef RCT_NEW_ARCH_ENABLED
33
+ /**
34
+ * Codegen interface implementation
35
+ */
36
+
36
37
  - (void)startLiveness3d:(NSDictionary *)args
37
38
  resolve:(RCTPromiseResolveBlock)resolve
38
39
  reject:(RCTPromiseRejectBlock)reject
39
- #else
40
- RCT_EXPORT_METHOD(startLiveness3d:(NSDictionary *)args
41
- resolve:(RCTPromiseResolveBlock)resolve
42
- reject:(RCTPromiseRejectBlock)reject)
43
- #endif
44
40
  {
45
41
  if (_module) {
46
42
  [_module startLiveness3d:args
@@ -55,11 +51,7 @@ RCT_EXPORT_METHOD(startLiveness3d:(NSDictionary *)args
55
51
  }
56
52
  }
57
53
 
58
- #ifdef RCT_NEW_ARCH_ENABLED
59
54
  - (NSNumber *)checkCameraPermissionGranted
60
- #else
61
- RCT_EXPORT_SYNCHRONOUS_TYPED_METHOD(NSNumber *, checkCameraPermissionGranted)
62
- #endif
63
55
  {
64
56
  if (_module) {
65
57
  BOOL result = [_module checkCameraPermissionGranted];
@@ -68,11 +60,7 @@ RCT_EXPORT_SYNCHRONOUS_TYPED_METHOD(NSNumber *, checkCameraPermissionGranted)
68
60
  return @NO;
69
61
  }
70
62
 
71
- #ifdef RCT_NEW_ARCH_ENABLED
72
63
  - (void)requestCameraPermission:(RCTResponseSenderBlock)resolve
73
- #else
74
- RCT_EXPORT_METHOD(requestCameraPermission:(RCTResponseSenderBlock)resolve)
75
- #endif
76
64
  {
77
65
  if (_module) {
78
66
  [_module requestCameraPermission:resolve];