@oiti/rn-liveness3d 3.4.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (467) hide show
  1. package/android/build.gradle +39 -107
  2. package/android/gradle.properties +5 -5
  3. package/android/src/main/AndroidManifest.xml +1 -8
  4. package/android/src/main/java/br/com/oiti/rnliveness3d/RnLiveness3dModule.kt +218 -192
  5. package/android/src/main/java/br/com/oiti/rnliveness3d/RnLiveness3dPackage.kt +25 -8
  6. package/android/src/main/java/br/com/oiti/rnliveness3d/theme/Liveness3DFonts.kt +32 -38
  7. package/android/src/main/java/br/com/oiti/rnliveness3d/theme/Liveness3DText.kt +5 -3
  8. package/android/src/main/java/br/com/oiti/rnliveness3d/theme/Liveness3DTheme.kt +229 -147
  9. package/android/src/res/font/sixty.ttf +0 -0
  10. package/ios/RnLiveness3d.h +5 -0
  11. package/ios/RnLiveness3d.mm +72 -0
  12. package/ios/{RnLiveness3d.swift → RnLiveness3dSwiftModule.swift} +131 -132
  13. package/lib/module/@types/ArgsType.js.map +1 -1
  14. package/lib/module/@types/FontsType.js.map +1 -1
  15. package/lib/module/@types/ResultType.js.map +1 -1
  16. package/lib/module/@types/ResultTypes.js.map +1 -1
  17. package/lib/module/@types/TextsType.js.map +1 -1
  18. package/lib/module/@types/ThemeType.js.map +1 -1
  19. package/lib/module/NativeRnLiveness3d.js +3 -0
  20. package/lib/module/NativeRnLiveness3d.js.map +1 -0
  21. package/lib/module/actions/BackButton.js +5 -6
  22. package/lib/module/actions/BackButton.js.map +1 -1
  23. package/lib/module/actions/ContinueButton.js +10 -10
  24. package/lib/module/actions/ContinueButton.js.map +1 -1
  25. package/lib/module/actions/PermissionButton.js +7 -8
  26. package/lib/module/actions/PermissionButton.js.map +1 -1
  27. package/lib/module/context/Liveness3DContext.js +10 -23
  28. package/lib/module/context/Liveness3DContext.js.map +1 -1
  29. package/lib/module/helpers/Liveness3DHelper.js +6 -7
  30. package/lib/module/helpers/Liveness3DHelper.js.map +1 -1
  31. package/lib/module/index.js +33 -120
  32. package/lib/module/index.js.map +1 -1
  33. package/lib/module/interfaces/Liveness3DHelper.js.map +1 -1
  34. package/lib/module/interfaces/OitiBackButtonInterface.js.map +1 -1
  35. package/lib/module/interfaces/OitiContinueButton.js.map +1 -1
  36. package/lib/module/interfaces/OitiPermissionButtonInterface.js.map +1 -1
  37. package/lib/module/screens/Liveness3D/InstructionsView.js +4 -6
  38. package/lib/module/screens/Liveness3D/InstructionsView.js.map +1 -1
  39. package/lib/module/screens/PermissionView.js +4 -6
  40. package/lib/module/screens/PermissionView.js.map +1 -1
  41. package/lib/module/utils/continueButton.js +3 -8
  42. package/lib/module/utils/continueButton.js.map +1 -1
  43. package/lib/module/utils/normalize.js.map +1 -1
  44. package/lib/module/utils/permissions.js +8 -17
  45. package/lib/module/utils/permissions.js.map +1 -1
  46. package/lib/module/utils/screenStore.js.map +1 -1
  47. package/oiti-rn-liveness3d.podspec +6 -22
  48. package/package.json +58 -49
  49. package/src/@types/ArgsType.ts +3 -4
  50. package/src/@types/ResultTypes.ts +3 -1
  51. package/src/NativeRnLiveness3d.ts +9 -0
  52. package/src/actions/BackButton.tsx +1 -1
  53. package/src/actions/ContinueButton.tsx +6 -5
  54. package/src/actions/PermissionButton.tsx +3 -3
  55. package/src/context/Liveness3DContext.tsx +11 -24
  56. package/src/helpers/Liveness3DHelper.tsx +1 -1
  57. package/src/index.tsx +27 -131
  58. package/src/interfaces/Liveness3DHelper.tsx +4 -2
  59. package/src/screens/Liveness3D/InstructionsView.tsx +0 -2
  60. package/src/screens/PermissionView.tsx +0 -1
  61. package/src/utils/continueButton.tsx +3 -10
  62. package/src/utils/permissions.tsx +9 -26
  63. package/android/settings.gradle +0 -6
  64. package/ios/Podfile +0 -13
  65. package/ios/Podfile.lock +0 -38
  66. package/ios/Pods/Manifest.lock +0 -38
  67. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/Info.plist +0 -46
  68. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Headers/OICommons-Swift.h +0 -327
  69. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Headers/OICommons.h +0 -15
  70. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Info.plist +0 -0
  71. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Inter-Bold.otf +0 -0
  72. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Inter-Medium.otf +0 -0
  73. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Inter-Regular.otf +0 -0
  74. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.abi.json +0 -9
  75. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -1818
  76. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  77. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.swiftinterface +0 -1818
  78. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/module.modulemap +0 -11
  79. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/OICommons +0 -0
  80. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Ubuntu-Bold.otf +0 -0
  81. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Ubuntu-Medium.otf +0 -0
  82. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Ubuntu-Regular.otf +0 -0
  83. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/dSYMs/OICommons.framework.dSYM/Contents/Info.plist +0 -20
  84. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/dSYMs/OICommons.framework.dSYM/Contents/Resources/DWARF/OICommons +0 -0
  85. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Headers/OICommons-Swift.h +0 -650
  86. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Headers/OICommons.h +0 -15
  87. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Info.plist +0 -0
  88. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Inter-Bold.otf +0 -0
  89. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Inter-Medium.otf +0 -0
  90. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Inter-Regular.otf +0 -0
  91. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -9
  92. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -1818
  93. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  94. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -1818
  95. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -9
  96. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -1818
  97. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  98. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -1818
  99. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/module.modulemap +0 -11
  100. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/OICommons +0 -0
  101. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Ubuntu-Bold.otf +0 -0
  102. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Ubuntu-Medium.otf +0 -0
  103. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Ubuntu-Regular.otf +0 -0
  104. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/_CodeSignature/CodeResources +0 -311
  105. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework.zip +0 -0
  106. package/ios/Pods/OICommons/README.md +0 -1
  107. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/Info.plist +0 -46
  108. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Assets.car +0 -0
  109. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Headers/OIComponents-Swift.h +0 -455
  110. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Headers/OIComponents.h +0 -18
  111. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Info.plist +0 -0
  112. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.abi.json +0 -9
  113. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -732
  114. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  115. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.swiftinterface +0 -732
  116. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/module.modulemap +0 -11
  117. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/OIComponents +0 -0
  118. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/dSYMs/OIComponents.framework.dSYM/Contents/Info.plist +0 -20
  119. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/dSYMs/OIComponents.framework.dSYM/Contents/Resources/DWARF/OIComponents +0 -0
  120. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Assets.car +0 -0
  121. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Headers/OIComponents-Swift.h +0 -906
  122. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Headers/OIComponents.h +0 -18
  123. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Info.plist +0 -0
  124. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -9
  125. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -732
  126. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  127. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -732
  128. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -9
  129. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -732
  130. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  131. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -732
  132. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/module.modulemap +0 -11
  133. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/OIComponents +0 -0
  134. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/_CodeSignature/CodeResources +0 -256
  135. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework.zip +0 -0
  136. package/ios/Pods/OIComponents/README.md +0 -1
  137. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/Info.plist +0 -46
  138. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Assets.car +0 -0
  139. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Headers/OILiveness3D-Swift.h +0 -343
  140. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Headers/OILiveness3D.h +0 -18
  141. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Info.plist +0 -0
  142. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/Por_favor_pressione_o_botao_para_iniciar.mp3 +0 -0
  143. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/Toque_duas_veezs_em_qualquer_lugar_da_tela.mp3 +0 -0
  144. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/carregando.mp3 +0 -0
  145. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/escaneamento_feito_com_sucesso.mp3 +0 -0
  146. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/por_favor_chegue_mais_perto.mp3 +0 -0
  147. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/por_favor_tente_novamente.mp3 +0 -0
  148. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/prepare-se_para_seu_reconhecimento_facial.mp3 +0 -0
  149. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/rosto_muito_longe.mp3 +0 -0
  150. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/segure_firme.mp3 +0 -0
  151. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/suporte_vocal_desligado.mp3 +0 -0
  152. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/suporte_vocal_ligado.mp3 +0 -0
  153. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.abi.json +0 -9
  154. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -226
  155. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  156. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.swiftinterface +0 -226
  157. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/module.modulemap +0 -11
  158. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/OILiveness3D +0 -0
  159. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Info.plist +0 -20
  160. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/DWARF/OILiveness3D +0 -0
  161. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OICommons.swiftinterface +0 -1818
  162. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OIComponents.swiftinterface +0 -732
  163. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OINetwork.swiftinterface +0 -144
  164. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OISecurity.swiftinterface +0 -164
  165. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Assets.car +0 -0
  166. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Headers/OILiveness3D-Swift.h +0 -682
  167. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Headers/OILiveness3D.h +0 -18
  168. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Info.plist +0 -0
  169. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/Por_favor_pressione_o_botao_para_iniciar.mp3 +0 -0
  170. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/Toque_duas_veezs_em_qualquer_lugar_da_tela.mp3 +0 -0
  171. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/carregando.mp3 +0 -0
  172. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/escaneamento_feito_com_sucesso.mp3 +0 -0
  173. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/por_favor_chegue_mais_perto.mp3 +0 -0
  174. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/por_favor_tente_novamente.mp3 +0 -0
  175. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/prepare-se_para_seu_reconhecimento_facial.mp3 +0 -0
  176. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/rosto_muito_longe.mp3 +0 -0
  177. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/segure_firme.mp3 +0 -0
  178. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/suporte_vocal_desligado.mp3 +0 -0
  179. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/suporte_vocal_ligado.mp3 +0 -0
  180. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -9
  181. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -226
  182. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  183. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -226
  184. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -9
  185. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -226
  186. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  187. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -226
  188. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/module.modulemap +0 -11
  189. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/OILiveness3D +0 -0
  190. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/_CodeSignature/CodeResources +0 -377
  191. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework.zip +0 -0
  192. package/ios/Pods/OILiveness3D/README.md +0 -32
  193. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/Info.plist +0 -44
  194. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Assets.car +0 -0
  195. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/FaceTecSDK +0 -0
  196. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/GenericGuidanceContentLayout.nib +0 -0
  197. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecPublicApi.h +0 -1932
  198. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecPublicStringKeys.h +0 -105
  199. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecSDK.h +0 -16
  200. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Info.plist +0 -0
  201. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Modules/module.modulemap +0 -6
  202. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/PrivacyInfo.xcprivacy +0 -29
  203. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/ReadyScreenGuidanceContentLayout.nib +0 -0
  204. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/RetryScreenGuidanceContentLayout.nib +0 -0
  205. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/SharedGuidanceLayout.nib +0 -0
  206. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/9Uo-4b-JiE-view-Ae0-rb-UqS.nib +0 -0
  207. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/CJ6-MX-bJp-view-8JL-Rc-0g1.nib +0 -0
  208. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceScanViewController.nib +0 -0
  209. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceTecAdditionalReviewViewController.nib +0 -0
  210. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceTecIDFeedbackViewController.nib +0 -0
  211. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceTecOCRConfirmationViewController.nib +0 -0
  212. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/IDCaptureViewController.nib +0 -0
  213. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/IDSelectionViewController.nib +0 -0
  214. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/Info.plist +0 -0
  215. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/Pyw-6G-JSY-view-Zue-Eo-Q2U.nib +0 -0
  216. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/QWA-8Y-vUM-view-wJB-Z5-eD2.nib +0 -0
  217. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/alz-Ia-X3d-view-IKu-EI-Hug.nib +0 -0
  218. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/l2Q-cc-kD8-view-UUy-6c-meu.nib +0 -0
  219. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/af.lproj/FaceTec.strings +0 -0
  220. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/ar.lproj/FaceTec.strings +0 -0
  221. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/attributions.txt +0 -137
  222. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/1f5b84f51ce0fcfbb76e904b7bcaa7560f601e1394a0b29367a09385312287eb +0 -0
  223. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/2b075ac1a6132b5b8a4c9ef0ba6b0cd84db7838aca9a000e50d907f40770a4ab +0 -0
  224. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/59cc2a9af81aaca2376702c2490650f4da2775fa673274db98aad41b7ef101c0 +0 -0
  225. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/5b63e98b991aedabb60665503384f30bffd939decf9433883b30b78011ee501a +0 -0
  226. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/66388dc76dc16bc6b76b682edd218a575bf45b9b +0 -0
  227. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/6b3133f0f39ff89a2a169d61176ee17cafacc5e288f334e2b64ee82892d11ccd +0 -0
  228. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/9077d16225f9314163ef1e7db6fc7d4088bb903d134bd95f23d5591ca4dfbfca +0 -0
  229. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/a74f2afb9d20f2375ccbd14e67c094b85c89ceb608f7cf8ae04f3f646a6c5672 +0 -0
  230. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/b501893e75f62ee1707643e35b21109927b07ed5b202321c961b424cbc2e4695 +0 -0
  231. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/dbd7a353f0130bb983d6ba05917e9be991d70e8f028df4b74e30bc6497ef7f71 +0 -0
  232. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/f2.xml +0 -0
  233. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/fd6d368a5658496536e2bfae170d1b823a3629b242cafc09784bfba4e56d8c80 +0 -0
  234. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/marker +0 -0
  235. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/vu0ilin6we3lrzo5f83f7qs2jul4aq7v4aoynrmch8zfvpi8ezrfyafa4t0fx87l +0 -0
  236. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/de.lproj/FaceTec.strings +0 -0
  237. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/el.lproj/FaceTec.strings +0 -0
  238. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/en.lproj/FaceTec.strings +0 -0
  239. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/es.lproj/FaceTec.strings +0 -0
  240. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/fr.lproj/FaceTec.strings +0 -0
  241. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/kk.lproj/FaceTec.strings +0 -0
  242. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/nb.lproj/FaceTec.strings +0 -0
  243. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/pt-BR.lproj/FaceTec.strings +0 -0
  244. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/ru.lproj/FaceTec.strings +0 -0
  245. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/strip-unused-architectures-from-target.sh +0 -62
  246. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/FaceTecSDK +0 -0
  247. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecPublicApi.h +0 -1932
  248. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecPublicStringKeys.h +0 -105
  249. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecSDK.h +0 -16
  250. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Info.plist +0 -0
  251. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Modules/module.modulemap +0 -6
  252. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/_CodeSignature/CodeResources +0 -146
  253. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework.zip +0 -0
  254. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/Info.plist +0 -46
  255. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Headers/OINetwork-Swift.h +0 -312
  256. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Headers/OINetwork.h +0 -15
  257. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Info.plist +0 -0
  258. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.abi.json +0 -9
  259. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -144
  260. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  261. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.swiftinterface +0 -144
  262. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/module.modulemap +0 -11
  263. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/OINetwork +0 -0
  264. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/dSYMs/OINetwork.framework.dSYM/Contents/Info.plist +0 -20
  265. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/dSYMs/OINetwork.framework.dSYM/Contents/Resources/DWARF/OINetwork +0 -0
  266. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/dSYMs/OINetwork.framework.dSYM/Contents/Resources/Swift/aarch64/OICommons.swiftinterface +0 -1818
  267. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Headers/OINetwork-Swift.h +0 -620
  268. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Headers/OINetwork.h +0 -15
  269. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Info.plist +0 -0
  270. 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
  271. 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
  272. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  273. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -144
  274. 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
  275. 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
  276. 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
  277. 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
  278. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/module.modulemap +0 -11
  279. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/OINetwork +0 -0
  280. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/_CodeSignature/CodeResources +0 -245
  281. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework.zip +0 -0
  282. package/ios/Pods/OINetwork/README.md +0 -1
  283. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/Info.plist +0 -46
  284. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Headers/OISecurity-Swift.h +0 -311
  285. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Headers/OISecurity.h +0 -16
  286. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Info.plist +0 -0
  287. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.abi.json +0 -9
  288. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -164
  289. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  290. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.swiftinterface +0 -164
  291. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/module.modulemap +0 -11
  292. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/OISecurity +0 -0
  293. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/PrivacyInfo.xcprivacy +0 -37
  294. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/dSYMs/OISecurity.framework.dSYM/Contents/Info.plist +0 -20
  295. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/dSYMs/OISecurity.framework.dSYM/Contents/Resources/DWARF/OISecurity +0 -0
  296. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/dSYMs/OISecurity.framework.dSYM/Contents/Resources/Swift/aarch64/OICommons.swiftinterface +0 -1818
  297. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/dSYMs/OISecurity.framework.dSYM/Contents/Resources/Swift/aarch64/OINetwork.swiftinterface +0 -144
  298. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Headers/OISecurity-Swift.h +0 -618
  299. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Headers/OISecurity.h +0 -16
  300. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Info.plist +0 -0
  301. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -9
  302. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -164
  303. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  304. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -164
  305. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -9
  306. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -164
  307. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  308. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -164
  309. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/module.modulemap +0 -11
  310. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/OISecurity +0 -0
  311. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/PrivacyInfo.xcprivacy +0 -37
  312. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/_CodeSignature/CodeResources +0 -256
  313. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework.zip +0 -0
  314. package/ios/Pods/OISecurity/README.md +0 -1
  315. package/ios/Pods/Pods.xcodeproj/project.pbxproj +0 -1239
  316. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OICommons.xcscheme +0 -58
  317. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OIComponents.xcscheme +0 -58
  318. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OILiveness3D.xcscheme +0 -58
  319. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OILiveness3D_FT.xcscheme +0 -58
  320. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OINetwork.xcscheme +0 -58
  321. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OISecurity.xcscheme +0 -58
  322. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/Pods-RnLiveness3d.xcscheme +0 -58
  323. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/xcschememanagement.plist +0 -46
  324. package/ios/Pods/Target Support Files/OICommons/OICommons-xcframeworks.sh +0 -121
  325. package/ios/Pods/Target Support Files/OICommons/OICommons.debug.xcconfig +0 -15
  326. package/ios/Pods/Target Support Files/OICommons/OICommons.release.xcconfig +0 -15
  327. package/ios/Pods/Target Support Files/OIComponents/OIComponents-xcframeworks.sh +0 -121
  328. package/ios/Pods/Target Support Files/OIComponents/OIComponents.debug.xcconfig +0 -15
  329. package/ios/Pods/Target Support Files/OIComponents/OIComponents.release.xcconfig +0 -15
  330. package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D-xcframeworks.sh +0 -121
  331. package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D.debug.xcconfig +0 -16
  332. package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D.release.xcconfig +0 -16
  333. package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT-xcframeworks.sh +0 -121
  334. package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT.debug.xcconfig +0 -13
  335. package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT.release.xcconfig +0 -13
  336. package/ios/Pods/Target Support Files/OINetwork/OINetwork-xcframeworks.sh +0 -121
  337. package/ios/Pods/Target Support Files/OINetwork/OINetwork.debug.xcconfig +0 -16
  338. package/ios/Pods/Target Support Files/OINetwork/OINetwork.release.xcconfig +0 -16
  339. package/ios/Pods/Target Support Files/OISecurity/OISecurity-xcframeworks.sh +0 -121
  340. package/ios/Pods/Target Support Files/OISecurity/OISecurity.debug.xcconfig +0 -16
  341. package/ios/Pods/Target Support Files/OISecurity/OISecurity.release.xcconfig +0 -16
  342. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-Info.plist +0 -26
  343. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-acknowledgements.markdown +0 -23
  344. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-acknowledgements.plist +0 -79
  345. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-dummy.m +0 -5
  346. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-umbrella.h +0 -16
  347. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.debug.xcconfig +0 -14
  348. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.modulemap +0 -6
  349. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.release.xcconfig +0 -14
  350. package/ios/RnLiveness3d-Bridging-Header.h +0 -2
  351. package/ios/RnLiveness3d.m +0 -34
  352. package/ios/RnLiveness3d.xcodeproj/project.pbxproj +0 -337
  353. package/ios/RnLiveness3d.xcodeproj/xcshareddata/xcschemes/RnLiveness3d.xcscheme +0 -80
  354. package/ios/RnLiveness3d.xcworkspace/contents.xcworkspacedata +0 -10
  355. package/ios/RnLiveness3d.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  356. package/ios/info.plist +0 -8
  357. package/lib/commonjs/@types/ArgsType.js +0 -6
  358. package/lib/commonjs/@types/ArgsType.js.map +0 -1
  359. package/lib/commonjs/@types/FontsType.js +0 -2
  360. package/lib/commonjs/@types/FontsType.js.map +0 -1
  361. package/lib/commonjs/@types/ResultType.js +0 -2
  362. package/lib/commonjs/@types/ResultType.js.map +0 -1
  363. package/lib/commonjs/@types/ResultTypes.js +0 -6
  364. package/lib/commonjs/@types/ResultTypes.js.map +0 -1
  365. package/lib/commonjs/@types/TextsType.js +0 -2
  366. package/lib/commonjs/@types/TextsType.js.map +0 -1
  367. package/lib/commonjs/@types/ThemeType.js +0 -2
  368. package/lib/commonjs/@types/ThemeType.js.map +0 -1
  369. package/lib/commonjs/actions/BackButton.js +0 -35
  370. package/lib/commonjs/actions/BackButton.js.map +0 -1
  371. package/lib/commonjs/actions/ContinueButton.js +0 -43
  372. package/lib/commonjs/actions/ContinueButton.js.map +0 -1
  373. package/lib/commonjs/actions/PermissionButton.js +0 -35
  374. package/lib/commonjs/actions/PermissionButton.js.map +0 -1
  375. package/lib/commonjs/assets/fonts/Ubuntu-Bold.ttf +0 -0
  376. package/lib/commonjs/assets/fonts/Ubuntu-BoldItalic.ttf +0 -0
  377. package/lib/commonjs/assets/fonts/Ubuntu-Italic.ttf +0 -0
  378. package/lib/commonjs/assets/fonts/Ubuntu-Light.ttf +0 -0
  379. package/lib/commonjs/assets/fonts/Ubuntu-LightItalic.ttf +0 -0
  380. package/lib/commonjs/assets/fonts/Ubuntu-Medium.ttf +0 -0
  381. package/lib/commonjs/assets/fonts/Ubuntu-MediumItalic.ttf +0 -0
  382. package/lib/commonjs/assets/fonts/Ubuntu-Regular.ttf +0 -0
  383. package/lib/commonjs/assets/images/acessories.png +0 -0
  384. package/lib/commonjs/assets/images/camera.png +0 -0
  385. package/lib/commonjs/assets/images/camera_alt.png +0 -0
  386. package/lib/commonjs/assets/images/face.png +0 -0
  387. package/lib/commonjs/assets/images/illumination.png +0 -0
  388. package/lib/commonjs/assets/images/imgOp.png +0 -0
  389. package/lib/commonjs/assets/images/img_face.png +0 -0
  390. package/lib/commonjs/assets/images/left-arrow-b.png +0 -0
  391. package/lib/commonjs/assets/images/left-arrow.png +0 -0
  392. package/lib/commonjs/assets/images/lightbulb_outline.png +0 -0
  393. package/lib/commonjs/assets/images/padlock.png +0 -0
  394. package/lib/commonjs/assets/images/rigth-arrow.png +0 -0
  395. package/lib/commonjs/assets/images/scan-facial.png +0 -0
  396. package/lib/commonjs/assets/images/wave_bg.png +0 -0
  397. package/lib/commonjs/assets/images/wave_bg2.png +0 -0
  398. package/lib/commonjs/context/Liveness3DContext.js +0 -104
  399. package/lib/commonjs/context/Liveness3DContext.js.map +0 -1
  400. package/lib/commonjs/helpers/Liveness3DHelper.js +0 -34
  401. package/lib/commonjs/helpers/Liveness3DHelper.js.map +0 -1
  402. package/lib/commonjs/index.js +0 -223
  403. package/lib/commonjs/index.js.map +0 -1
  404. package/lib/commonjs/interfaces/Liveness3DHelper.js +0 -6
  405. package/lib/commonjs/interfaces/Liveness3DHelper.js.map +0 -1
  406. package/lib/commonjs/interfaces/OitiBackButtonInterface.js +0 -6
  407. package/lib/commonjs/interfaces/OitiBackButtonInterface.js.map +0 -1
  408. package/lib/commonjs/interfaces/OitiContinueButton.js +0 -6
  409. package/lib/commonjs/interfaces/OitiContinueButton.js.map +0 -1
  410. package/lib/commonjs/interfaces/OitiPermissionButtonInterface.js +0 -6
  411. package/lib/commonjs/interfaces/OitiPermissionButtonInterface.js.map +0 -1
  412. package/lib/commonjs/screens/Liveness3D/InstructionsView.js +0 -209
  413. package/lib/commonjs/screens/Liveness3D/InstructionsView.js.map +0 -1
  414. package/lib/commonjs/screens/PermissionView.js +0 -177
  415. package/lib/commonjs/screens/PermissionView.js.map +0 -1
  416. package/lib/commonjs/utils/continueButton.js +0 -17
  417. package/lib/commonjs/utils/continueButton.js.map +0 -1
  418. package/lib/commonjs/utils/normalize.js +0 -16
  419. package/lib/commonjs/utils/normalize.js.map +0 -1
  420. package/lib/commonjs/utils/permissions.js +0 -30
  421. package/lib/commonjs/utils/permissions.js.map +0 -1
  422. package/lib/commonjs/utils/screenStore.js +0 -12
  423. package/lib/commonjs/utils/screenStore.js.map +0 -1
  424. package/lib/typescript/@types/ArgsType.d.ts +0 -19
  425. package/lib/typescript/@types/ArgsType.d.ts.map +0 -1
  426. package/lib/typescript/@types/FontsType.d.ts +0 -12
  427. package/lib/typescript/@types/FontsType.d.ts.map +0 -1
  428. package/lib/typescript/@types/ResultType.d.ts +0 -13
  429. package/lib/typescript/@types/ResultType.d.ts.map +0 -1
  430. package/lib/typescript/@types/ResultTypes.d.ts +0 -6
  431. package/lib/typescript/@types/ResultTypes.d.ts.map +0 -1
  432. package/lib/typescript/@types/TextsType.d.ts +0 -36
  433. package/lib/typescript/@types/TextsType.d.ts.map +0 -1
  434. package/lib/typescript/@types/ThemeType.d.ts +0 -48
  435. package/lib/typescript/@types/ThemeType.d.ts.map +0 -1
  436. package/lib/typescript/actions/BackButton.d.ts +0 -4
  437. package/lib/typescript/actions/BackButton.d.ts.map +0 -1
  438. package/lib/typescript/actions/ContinueButton.d.ts +0 -4
  439. package/lib/typescript/actions/ContinueButton.d.ts.map +0 -1
  440. package/lib/typescript/actions/PermissionButton.d.ts +0 -4
  441. package/lib/typescript/actions/PermissionButton.d.ts.map +0 -1
  442. package/lib/typescript/context/Liveness3DContext.d.ts +0 -28
  443. package/lib/typescript/context/Liveness3DContext.d.ts.map +0 -1
  444. package/lib/typescript/helpers/Liveness3DHelper.d.ts +0 -4
  445. package/lib/typescript/helpers/Liveness3DHelper.d.ts.map +0 -1
  446. package/lib/typescript/index.d.ts +0 -32
  447. package/lib/typescript/index.d.ts.map +0 -1
  448. package/lib/typescript/interfaces/Liveness3DHelper.d.ts +0 -7
  449. package/lib/typescript/interfaces/Liveness3DHelper.d.ts.map +0 -1
  450. package/lib/typescript/interfaces/OitiBackButtonInterface.d.ts +0 -6
  451. package/lib/typescript/interfaces/OitiBackButtonInterface.d.ts.map +0 -1
  452. package/lib/typescript/interfaces/OitiContinueButton.d.ts +0 -6
  453. package/lib/typescript/interfaces/OitiContinueButton.d.ts.map +0 -1
  454. package/lib/typescript/interfaces/OitiPermissionButtonInterface.d.ts +0 -6
  455. package/lib/typescript/interfaces/OitiPermissionButtonInterface.d.ts.map +0 -1
  456. package/lib/typescript/screens/Liveness3D/InstructionsView.d.ts +0 -6
  457. package/lib/typescript/screens/Liveness3D/InstructionsView.d.ts.map +0 -1
  458. package/lib/typescript/screens/PermissionView.d.ts +0 -6
  459. package/lib/typescript/screens/PermissionView.d.ts.map +0 -1
  460. package/lib/typescript/utils/continueButton.d.ts +0 -2
  461. package/lib/typescript/utils/continueButton.d.ts.map +0 -1
  462. package/lib/typescript/utils/normalize.d.ts +0 -2
  463. package/lib/typescript/utils/normalize.d.ts.map +0 -1
  464. package/lib/typescript/utils/permissions.d.ts +0 -4
  465. package/lib/typescript/utils/permissions.d.ts.map +0 -1
  466. package/lib/typescript/utils/screenStore.d.ts +0 -5
  467. package/lib/typescript/utils/screenStore.d.ts.map +0 -1
@@ -1,16 +1,33 @@
1
1
  package br.com.oiti.rnliveness3d
2
- import com.facebook.react.ReactPackage
2
+
3
+ import com.facebook.react.BaseReactPackage
3
4
  import com.facebook.react.bridge.NativeModule
4
5
  import com.facebook.react.bridge.ReactApplicationContext
5
- import com.facebook.react.uimanager.ViewManager
6
+ import com.facebook.react.module.model.ReactModuleInfo
7
+ import com.facebook.react.module.model.ReactModuleInfoProvider
8
+ import java.util.HashMap
6
9
 
7
- class RnLiveness3dPackage : ReactPackage {
8
- override fun createNativeModules(reactContext: ReactApplicationContext): List<NativeModule> {
9
- return listOf(RnLiveness3dModule(reactContext))
10
+ class RnLiveness3dPackage : BaseReactPackage() {
11
+ override fun getModule(name: String, reactContext: ReactApplicationContext): NativeModule? {
12
+ return if (name == RnLiveness3dModule.NAME) {
13
+ RnLiveness3dModule(reactContext)
14
+ } else {
15
+ null
16
+ }
10
17
  }
11
18
 
12
- override fun createViewManagers(reactContext: ReactApplicationContext): List<ViewManager<*, *>> {
13
- return emptyList()
19
+ override fun getReactModuleInfoProvider(): ReactModuleInfoProvider {
20
+ return ReactModuleInfoProvider {
21
+ val moduleInfos: MutableMap<String, ReactModuleInfo> = HashMap()
22
+ moduleInfos[RnLiveness3dModule.NAME] = ReactModuleInfo(
23
+ RnLiveness3dModule.NAME,
24
+ RnLiveness3dModule.NAME,
25
+ false,
26
+ false,
27
+ false,
28
+ true
29
+ )
30
+ moduleInfos
31
+ }
14
32
  }
15
-
16
33
  }
@@ -2,43 +2,37 @@ package br.com.oiti.rnliveness3d.theme
2
2
 
3
3
  import br.com.oiti.liveness3d.data.model.Liveness3DFontsKey
4
4
 
5
- class Liveness3DFonts(private val fontsBuilder: Map<String,String?>?) {
6
- private val guidanceCustomizationHeaderFont: String = fontsBuilder?.get("guidanceCustomizationHeaderFont")?.lowercase() + ".ttf"
7
- private val guidanceCustomizationSubtextFont: String =
8
- ("fonts/" + fontsBuilder?.get("guidanceCustomizationSubtextFont")?.lowercase() + ".ttf")
9
- ?: ""
10
- private val readyScreenCustomizationHeaderFont: String =
11
- ("fonts/" + fontsBuilder?.get("readyScreenCustomizationHeaderFont")?.lowercase() + ".ttf")
12
- ?: ""
13
- private val readyScreenCustomizationSubtextFont: String =
14
- ("fonts/" + fontsBuilder?.get("readyScreenCustomizationSubtextFont")?.lowercase() + ".ttf")
15
- ?: ""
16
- private val retryScreenCustomizationHeaderFont: String =
17
- ("fonts/" + fontsBuilder?.get("retryScreenCustomizationHeaderFont")?.lowercase() + ".ttf")
18
- ?: ""
19
- private val retryScreenCustomizationSubtextFont: String =
20
- ("fonts/" + fontsBuilder?.get("retryScreenCustomizationSubtextFont")?.lowercase() + ".ttf")
21
- ?: ""
22
- private val resultScreenCustomizationMessageFont: String =
23
- ("fonts/" + fontsBuilder?.get("resultScreenCustomizationMessageFont")?.lowercase() + ".ttf")
24
- ?: ""
25
- private val guidanceCustomizationButtonFont: String =
26
- ("fonts/" + fontsBuilder?.get("guidanceCustomizationButtonFont")?.lowercase() + ".ttf")
27
- ?: ""
28
- private val feedbackCustomizationTextFont: String =
29
- ("fonts/" + fontsBuilder?.get("feedbackCustomizationTextFont")?.lowercase() + ".ttf") ?: ""
5
+ class Liveness3DFonts(private val fontsBuilder: Map<String, String?>?) {
6
+ private val guidanceCustomizationHeaderFont: String =
7
+ fontsBuilder?.get("guidanceCustomizationHeaderFont")?.lowercase() + ".ttf"
8
+ private val guidanceCustomizationSubtextFont: String =
9
+ ("fonts/" + fontsBuilder?.get("guidanceCustomizationSubtextFont")?.lowercase() + ".ttf")
10
+ private val readyScreenCustomizationHeaderFont: String =
11
+ ("fonts/" + fontsBuilder?.get("readyScreenCustomizationHeaderFont")?.lowercase() + ".ttf")
12
+ private val readyScreenCustomizationSubtextFont: String =
13
+ ("fonts/" + fontsBuilder?.get("readyScreenCustomizationSubtextFont")?.lowercase() + ".ttf")
14
+ private val retryScreenCustomizationHeaderFont: String =
15
+ ("fonts/" + fontsBuilder?.get("retryScreenCustomizationHeaderFont")?.lowercase() + ".ttf")
16
+ private val retryScreenCustomizationSubtextFont: String =
17
+ ("fonts/" + fontsBuilder?.get("retryScreenCustomizationSubtextFont")?.lowercase() + ".ttf")
18
+ private val resultScreenCustomizationMessageFont: String =
19
+ ("fonts/" + fontsBuilder?.get("resultScreenCustomizationMessageFont")?.lowercase() + ".ttf")
20
+ private val guidanceCustomizationButtonFont: String =
21
+ ("fonts/" + fontsBuilder?.get("guidanceCustomizationButtonFont")?.lowercase() + ".ttf")
22
+ private val feedbackCustomizationTextFont: String =
23
+ ("fonts/" + fontsBuilder?.get("feedbackCustomizationTextFont")?.lowercase() + ".ttf")
30
24
 
31
- fun apply(): HashMap<Liveness3DFontsKey, String> {
32
- return hashMapOf(
33
- Liveness3DFontsKey.GUIDANCE_CUSTOMIZATION_HEADER_FONT to guidanceCustomizationHeaderFont,
34
- Liveness3DFontsKey.GUIDANCE_CUSTOMIZATION_SUBTEXT_FONT to guidanceCustomizationSubtextFont,
35
- Liveness3DFontsKey.GUIDANCE_CUSTOMIZATION_READY_SCREEN_HEADER_FONT to readyScreenCustomizationHeaderFont,
36
- Liveness3DFontsKey.GUIDANCE_CUSTOMIZATION_READY_SCREEN_SUBTEXT_FONT to readyScreenCustomizationSubtextFont,
37
- Liveness3DFontsKey.GUIDANCE_CUSTOMIZATION_RETRY_SCREEN_HEADER_FONT to retryScreenCustomizationHeaderFont,
38
- Liveness3DFontsKey.GUIDANCE_CUSTOMIZATION_RETRY_SCREEN_SUBTEXT_FONT to retryScreenCustomizationSubtextFont,
39
- Liveness3DFontsKey.RESULT_SCREEN_CUSTOMIZATION_MESSAGE_FONT to resultScreenCustomizationMessageFont,
40
- Liveness3DFontsKey.GUIDANCE_CUSTOMIZATION_BUTTON_FONT to guidanceCustomizationButtonFont,
41
- Liveness3DFontsKey.FEEDBACK_CUSTOMIZATION_TEXT_FONT to feedbackCustomizationTextFont,
42
- )
43
- }
25
+ fun apply(): HashMap<Liveness3DFontsKey, String> {
26
+ return hashMapOf(
27
+ Liveness3DFontsKey.GUIDANCE_CUSTOMIZATION_HEADER_FONT to guidanceCustomizationHeaderFont,
28
+ Liveness3DFontsKey.GUIDANCE_CUSTOMIZATION_SUBTEXT_FONT to guidanceCustomizationSubtextFont,
29
+ Liveness3DFontsKey.GUIDANCE_CUSTOMIZATION_READY_SCREEN_HEADER_FONT to readyScreenCustomizationHeaderFont,
30
+ Liveness3DFontsKey.GUIDANCE_CUSTOMIZATION_READY_SCREEN_SUBTEXT_FONT to readyScreenCustomizationSubtextFont,
31
+ Liveness3DFontsKey.GUIDANCE_CUSTOMIZATION_RETRY_SCREEN_HEADER_FONT to retryScreenCustomizationHeaderFont,
32
+ Liveness3DFontsKey.GUIDANCE_CUSTOMIZATION_RETRY_SCREEN_SUBTEXT_FONT to retryScreenCustomizationSubtextFont,
33
+ Liveness3DFontsKey.RESULT_SCREEN_CUSTOMIZATION_MESSAGE_FONT to resultScreenCustomizationMessageFont,
34
+ Liveness3DFontsKey.GUIDANCE_CUSTOMIZATION_BUTTON_FONT to guidanceCustomizationButtonFont,
35
+ Liveness3DFontsKey.FEEDBACK_CUSTOMIZATION_TEXT_FONT to feedbackCustomizationTextFont,
36
+ )
37
+ }
44
38
  }
@@ -1,11 +1,10 @@
1
1
  package br.com.oiti.rnliveness3d.theme
2
2
 
3
- import android.util.Log
4
3
  import br.com.oiti.liveness3d.data.model.Liveness3DTextKey
5
4
 
6
5
  class Liveness3DText {
7
6
  fun getTextKey(identifier: String): Liveness3DTextKey? {
8
- return when(identifier) {
7
+ return when (identifier) {
9
8
  /* Ready */
10
9
  "READY_HEADER_1" -> Liveness3DTextKey.READY_HEADER_1
11
10
  "READY_HEADER_2" -> Liveness3DTextKey.READY_HEADER_2
@@ -49,6 +48,7 @@ class Liveness3DText {
49
48
  else -> null
50
49
  }
51
50
  }
51
+
52
52
  fun getTexts(textsBuilder: Map<String, String?>?): HashMap<Liveness3DTextKey, String> {
53
53
  val hashMap = HashMap<Liveness3DTextKey, String>()
54
54
  if (textsBuilder != null) {
@@ -58,7 +58,9 @@ class Liveness3DText {
58
58
  val value = it.value
59
59
  if (key != null && value != null) {
60
60
  Pair(key, value)
61
- } else { null }
61
+ } else {
62
+ null
63
+ }
62
64
  }
63
65
  .toMap()
64
66
  hashMap.putAll(textsMap)
@@ -1,147 +1,229 @@
1
- package br.com.oiti.rnliveness3d.theme
2
-
3
- import android.content.Context
4
- import androidx.annotation.DrawableRes
5
- import br.com.oiti.liveness3d.theme.Liveness3DTheme
6
-
7
- class Liveness3DTheme(
8
- private var themeBuilder: Map<String, String?>?,
9
- ) {
10
- //Guidance customization
11
- private val guidanceCustomizationBackgroundColors: String? = themeBuilder?.get("guidanceCustomizationBackgroundColors") ?: "#FFFFFF"
12
- private val guidanceCustomizationForegroundColor: String? = themeBuilder?.get("guidanceCustomizationForegroundColor") ?: "#FFFFFF"
13
-
14
- //Buttons
15
- private val guidanceCustomizationButtonTextNormalColor: String? = themeBuilder?.get("guidanceCustomizationForegroundColor") ?: "#000000"
16
- private val guidanceCustomizationButtonBackgroundNormalColor: String? = themeBuilder?.get("guidanceCustomizationButtonBackgroundNormalColor") ?: "#4bb75f"
17
-
18
- private val guidanceCustomizationButtonTextHighlightColor: String? = themeBuilder?.get("guidanceCustomizationButtonTextHighlightColor") ?: "#000000"
19
- private val guidanceCustomizationButtonBackgroundHighlightColor: String? = themeBuilder?.get("guidanceCustomizationButtonBackgroundHighlightColor") ?: "#000000"
20
- private val guidanceCustomizationButtonTextDisabledColor: String? = themeBuilder?.get("guidanceCustomizationButtonTextDisabledColor") ?: "#333333"
21
- private val guidanceCustomizationButtonBackgroundDisabledColor: String? = themeBuilder?.get("guidanceCustomizationButtonBackgroundDisabledColor") ?: "#333333"
22
- private val guidanceCustomizationButtonBorderColor: String? = themeBuilder?.get("guidanceCustomizationButtonBorderColor") ?: "#000000"
23
- private val guidanceCustomizationButtonBorderWidth: Int? = themeBuilder?.get("guidanceCustomizationButtonBorderWidth")?.toInt() ?: 0
24
- private val guidanceCustomizationButtonCornerRadius: Int? = themeBuilder?.get("guidanceCustomizationButtonCornerRadius")?.toInt() ?: 25
25
-
26
- //Ready Screen
27
- private val guidanceCustomizationReadyScreenHeaderTextColor: String? = themeBuilder?.get("guidanceCustomizationReadyScreenHeaderTextColor") ?: "#000000"
28
- private val guidanceCustomizationReadyScreenSubtextTextColor: String? = themeBuilder?.get("guidanceCustomizationReadyScreenSubtextTextColor") ?: "#333333"
29
-
30
- //Retry Screen
31
- private val guidanceCustomizationRetryScreenHeaderTextColor: String? = themeBuilder?.get("guidanceCustomizationRetryScreenHeaderTextColor") ?: "#000000"
32
- private val guidanceCustomizationRetryScreenSubtextTextColor: String? = themeBuilder?.get("guidanceCustomizationRetryScreenSubtextTextColor") ?: "#333333"
33
- private val guidanceCustomizationReadyScreenOvalFillColor: String? = themeBuilder?.get("guidanceCustomizationReadyScreenOvalFillColor") ?: "#000000"
34
- private val guidanceCustomizationReadyScreenTextBackgroundColor: String? = themeBuilder?.get("guidanceCustomizationReadyScreenTextBackgroundColor") ?: "#4bb75f"
35
- private val guidanceCustomizationReadyScreenTextBackgroundCornerRadius: Int? = themeBuilder?.get("guidanceCustomizationReadyScreenTextBackgroundCornerRadius")?.toInt() ?: 0
36
- private val guidanceCustomizationRetryScreenImageBorderColor: String? = themeBuilder?.get("guidanceCustomizationRetryScreenImageBorderColor") ?: "#4bb75f"
37
- private val guidanceCustomizationRetryScreenImageBorderWidth: Int? = themeBuilder?.get("guidanceCustomizationRetryScreenImageBorderWidth")?.toInt() ?: 0
38
- private val guidanceCustomizationRetryScreenImageCornerRadius: Int? = themeBuilder?.get("guidanceCustomizationRetryScreenImageCornerRadius")?.toInt() ?: 3
39
- private val guidanceCustomizationRetryScreenOvalStrokeColor: String? = themeBuilder?.get("guidanceCustomizationRetryScreenOvalStrokeColor") ?: "#4bb75f"
40
-
41
- //Result Screen Customization
42
- private val resultScreenCustomizationAnimationRelativeScale: Float = 1.0F
43
- private val resultScreenCustomizationForegroundColor: String? = themeBuilder?.get("resultScreenCustomizationForegroundColor") ?: "#FFFFFF"
44
- private val resultScreenCustomizationBackgroundColors: String? = themeBuilder?.get("resultScreenCustomizationBackgroundColors") ?: "#FFFFFF"
45
- private val resultScreenCustomizationActivityIndicatorColor: String? = themeBuilder?.get("resultScreenCustomizationActivityIndicatorColor") ?: "#FFFFFF"
46
- @DrawableRes
47
- private val resultScreenCustomizationCustomActivityIndicatorImage: Int? = null
48
- private val resultScreenCustomizationCustomActivityIndicatorRotationInterval: Int = 1000
49
- private val resultScreenCustomizationCustomActivityIndicatorAnimation: Int = 0
50
- private val resultScreenCustomizationShowUploadProgressBar: Boolean = true
51
- private val resultScreenCustomizationUploadProgressFillColor: String? = themeBuilder?.get("resultScreenCustomizationUploadProgressFillColor") ?: "#4bb75f"
52
- private val resultScreenCustomizationUploadProgressTrackColor: String? = themeBuilder?.get("resultScreenCustomizationUploadProgressTrackColor") ?: "#333333"
53
- private val resultScreenCustomizationResultAnimationBackgroundColor: String? = themeBuilder?.get("resultScreenCustomizationResultAnimationBackgroundColor") ?: "#05D758"
54
- private val resultScreenCustomizationResultAnimationForegroundColor: String? = themeBuilder?.get("resultScreenCustomizationResultAnimationForegroundColor") ?: "#FFFFFF"
55
-
56
-
57
- //Oval Customization
58
- private val ovalCustomizationStrokeWidth: Int? = themeBuilder?.get("ovalCustomizationStrokeWidth")?.toInt() ?: 3
59
- private val ovalCustomizationStrokeColor: String? = themeBuilder?.get("ovalCustomizationStrokeColor") ?: "#4bb75f"
60
- private val ovalCustomizationProgressStrokeWidth: Int? = themeBuilder?.get("ovalCustomizationProgressStrokeWidth")?.toInt() ?: 2
61
- private val ovalCustomizationProgressColor1: String? = themeBuilder?.get("ovalCustomizationProgressColor1") ?: "#4bb75f"
62
- private val ovalCustomizationProgressColor2: String? = themeBuilder?.get("ovalCustomizationProgressColor2") ?: "#4bb75f"
63
- private val ovalCustomizationProgressRadialOffset: Int? = themeBuilder?.get("ovalCustomizationProgressRadialOffset")?.toInt() ?: 2
64
-
65
- //Frame Customization
66
- private val frameCustomizationBorderWidth: Int? = themeBuilder?.get("frameCustomizationBorderWidth")?.toInt() ?: 0
67
- private val frameCustomizationCornerRadius: Int? = themeBuilder?.get("frameCustomizationCornerRadius")?.toInt() ?: 0
68
- private val frameCustomizationBorderColor: String? = themeBuilder?.get("frameCustomizationBorderColor") ?: "#4bb75f"
69
- private val frameCustomizationBackgroundColor: String? = themeBuilder?.get("frameCustomizationBackgroundColor") ?: "#FFFFFF"
70
- private val frameCustomizationElevation: Int? = themeBuilder?.get("frameCustomizationElevation")?.toInt() ?: 0
71
-
72
- //Overlay Customization
73
- private val overlayCustomizationBackgroundColor: String? = themeBuilder?.get("overlayCustomizationBackgroundColor") ?: "#FFFFFF"
74
-
75
- //Feedback Customization
76
- private val feedbackCustomizationCornerRadius: Int? = themeBuilder?.get("feedbackCustomizationCornerRadius")?.toInt() ?: 2
77
- private val feedbackCustomizationBackgroundColors: String? = themeBuilder?.get("overlayCustomizationBackgroundColor") ?: "#666666"
78
- private val feedbackCustomizationTextColor: String? = themeBuilder?.get("feedbackCustomizationTextColor") ?: "#FFFFFF"
79
-
80
-
81
- fun apply(): Liveness3DTheme {
82
- return Liveness3DTheme.Builder()
83
- .guidanceCustomizationBackgroundColors(guidanceCustomizationBackgroundColors)
84
- .guidanceCustomizationForegroundColor(guidanceCustomizationForegroundColor)
85
- //Botões
86
- .guidanceCustomizationButtonTextNormalColor(guidanceCustomizationButtonTextNormalColor)
87
- .guidanceCustomizationButtonBackgroundNormalColor(guidanceCustomizationButtonBackgroundNormalColor)
88
- .guidanceCustomizationButtonTextHighlightColor(guidanceCustomizationButtonTextHighlightColor)
89
- .guidanceCustomizationButtonBackgroundHighlightColor(guidanceCustomizationButtonBackgroundHighlightColor)
90
- .guidanceCustomizationButtonTextDisabledColor(guidanceCustomizationButtonTextDisabledColor)
91
- .guidanceCustomizationButtonBackgroundDisabledColor(guidanceCustomizationButtonBackgroundDisabledColor)
92
- .guidanceCustomizationButtonBorderColor(guidanceCustomizationButtonBorderColor)
93
- .guidanceCustomizationButtonBorderWidth(guidanceCustomizationButtonBorderWidth)
94
- .guidanceCustomizationButtonCornerRadius(guidanceCustomizationButtonCornerRadius)
95
-
96
-
97
- //Ready Screen
98
- .guidanceCustomizationReadyScreenHeaderTextColor(guidanceCustomizationReadyScreenHeaderTextColor)
99
- .guidanceCustomizationReadyScreenSubtextTextColor(guidanceCustomizationReadyScreenSubtextTextColor)
100
-
101
- //Retry Screen
102
- .guidanceCustomizationRetryScreenHeaderTextColor(guidanceCustomizationRetryScreenHeaderTextColor)
103
- .guidanceCustomizationRetryScreenSubtextTextColor(guidanceCustomizationRetryScreenSubtextTextColor)
104
- .guidanceCustomizationRetryScreenImageBorderColor(guidanceCustomizationRetryScreenImageBorderColor)
105
- .guidanceCustomizationRetryScreenImageBorderWidth(guidanceCustomizationRetryScreenImageBorderWidth)
106
- .guidanceCustomizationRetryScreenImageCornerRadius(guidanceCustomizationRetryScreenImageCornerRadius)
107
- .guidanceCustomizationRetryScreenOvalStrokeColor(guidanceCustomizationRetryScreenOvalStrokeColor)
108
- .guidanceCustomizationReadyScreenOvalFillColor(guidanceCustomizationReadyScreenOvalFillColor)
109
- .guidanceCustomizationReadyScreenTextBackgroundColor(guidanceCustomizationReadyScreenTextBackgroundColor)
110
- .guidanceCustomizationReadyScreenTextBackgroundCornerRadius(guidanceCustomizationReadyScreenTextBackgroundCornerRadius)
111
-
112
- //Result Screen
113
- .resultScreenCustomizationAnimationRelativeScale(resultScreenCustomizationAnimationRelativeScale)
114
- .resultScreenCustomizationForegroundColor(resultScreenCustomizationForegroundColor)
115
- .resultScreenCustomizationBackgroundColors(resultScreenCustomizationBackgroundColors)
116
- .resultScreenCustomizationActivityIndicatorColor(resultScreenCustomizationActivityIndicatorColor)
117
- .resultScreenCustomizationUploadProgressFillColor(resultScreenCustomizationUploadProgressFillColor)
118
- .resultScreenCustomizationUploadProgressTrackColor(resultScreenCustomizationUploadProgressTrackColor)
119
- .resultScreenCustomizationResultAnimationBackgroundColor(resultScreenCustomizationResultAnimationBackgroundColor)
120
- .resultScreenCustomizationResultAnimationForegroundColor(resultScreenCustomizationResultAnimationForegroundColor)
121
-
122
- //Oval
123
- .ovalCustomizationStrokeWidth(ovalCustomizationStrokeWidth)
124
- .ovalCustomizationStrokeColor(ovalCustomizationStrokeColor)
125
- .ovalCustomizationProgressStrokeWidth(ovalCustomizationProgressStrokeWidth)
126
- .ovalCustomizationProgressColor1(ovalCustomizationProgressColor1)
127
- .ovalCustomizationProgressColor2(ovalCustomizationProgressColor2)
128
- .ovalCustomizationProgressRadialOffset(ovalCustomizationProgressRadialOffset)
129
-
130
- //Frame
131
- .frameCustomizationBorderWidth(frameCustomizationBorderWidth)
132
- .frameCustomizationCornerRadius(frameCustomizationCornerRadius)
133
- .frameCustomizationBorderColor(frameCustomizationBorderColor)
134
- .frameCustomizationBackgroundColor(frameCustomizationBackgroundColor)
135
- .frameCustomizationElevation(frameCustomizationElevation)
136
-
137
- //Overlay
138
- .overlayCustomizationBackgroundColor(overlayCustomizationBackgroundColor)
139
-
140
- //Feedback Screen
141
- .feedbackCustomizationCornerRadius(feedbackCustomizationCornerRadius)
142
- .feedbackCustomizationBackgroundColors(feedbackCustomizationBackgroundColors)
143
- .feedbackCustomizationTextColor(feedbackCustomizationTextColor)
144
-
145
- .build()
146
- }
147
- }
1
+ package br.com.oiti.rnliveness3d.theme
2
+
3
+ import androidx.annotation.DrawableRes
4
+ import br.com.oiti.liveness3d.theme.Liveness3DTheme
5
+
6
+ class Liveness3DTheme(
7
+ private var themeBuilder: Map<String, String?>?,
8
+ ) {
9
+ //Guidance customization
10
+ private val guidanceCustomizationBackgroundColors: String? =
11
+ themeBuilder?.get("guidanceCustomizationBackgroundColors") ?: "#FFFFFF"
12
+ private val guidanceCustomizationForegroundColor: String? =
13
+ themeBuilder?.get("guidanceCustomizationForegroundColor") ?: "#FFFFFF"
14
+
15
+ //Buttons
16
+ private val guidanceCustomizationButtonTextNormalColor: String? =
17
+ themeBuilder?.get("guidanceCustomizationForegroundColor") ?: "#000000"
18
+ private val guidanceCustomizationButtonBackgroundNormalColor: String? =
19
+ themeBuilder?.get("guidanceCustomizationButtonBackgroundNormalColor") ?: "#4bb75f"
20
+
21
+ private val guidanceCustomizationButtonTextHighlightColor: String? =
22
+ themeBuilder?.get("guidanceCustomizationButtonTextHighlightColor") ?: "#000000"
23
+ private val guidanceCustomizationButtonBackgroundHighlightColor: String? =
24
+ themeBuilder?.get("guidanceCustomizationButtonBackgroundHighlightColor") ?: "#000000"
25
+ private val guidanceCustomizationButtonTextDisabledColor: String? =
26
+ themeBuilder?.get("guidanceCustomizationButtonTextDisabledColor") ?: "#333333"
27
+ private val guidanceCustomizationButtonBackgroundDisabledColor: String? =
28
+ themeBuilder?.get("guidanceCustomizationButtonBackgroundDisabledColor") ?: "#333333"
29
+ private val guidanceCustomizationButtonBorderColor: String? =
30
+ themeBuilder?.get("guidanceCustomizationButtonBorderColor") ?: "#000000"
31
+ private val guidanceCustomizationButtonBorderWidth: Int? =
32
+ themeBuilder?.get("guidanceCustomizationButtonBorderWidth")?.toInt() ?: 0
33
+ private val guidanceCustomizationButtonCornerRadius: Int? =
34
+ themeBuilder?.get("guidanceCustomizationButtonCornerRadius")?.toInt() ?: 25
35
+
36
+ //Ready Screen
37
+ private val guidanceCustomizationReadyScreenHeaderTextColor: String? =
38
+ themeBuilder?.get("guidanceCustomizationReadyScreenHeaderTextColor") ?: "#000000"
39
+ private val guidanceCustomizationReadyScreenSubtextTextColor: String? =
40
+ themeBuilder?.get("guidanceCustomizationReadyScreenSubtextTextColor") ?: "#333333"
41
+
42
+ //Retry Screen
43
+ private val guidanceCustomizationRetryScreenHeaderTextColor: String? =
44
+ themeBuilder?.get("guidanceCustomizationRetryScreenHeaderTextColor") ?: "#000000"
45
+ private val guidanceCustomizationRetryScreenSubtextTextColor: String? =
46
+ themeBuilder?.get("guidanceCustomizationRetryScreenSubtextTextColor") ?: "#333333"
47
+ private val guidanceCustomizationReadyScreenOvalFillColor: String? =
48
+ themeBuilder?.get("guidanceCustomizationReadyScreenOvalFillColor") ?: "#000000"
49
+ private val guidanceCustomizationReadyScreenTextBackgroundColor: String? =
50
+ themeBuilder?.get("guidanceCustomizationReadyScreenTextBackgroundColor") ?: "#4bb75f"
51
+ private val guidanceCustomizationReadyScreenTextBackgroundCornerRadius: Int? =
52
+ themeBuilder?.get("guidanceCustomizationReadyScreenTextBackgroundCornerRadius")?.toInt() ?: 0
53
+ private val guidanceCustomizationRetryScreenImageBorderColor: String? =
54
+ themeBuilder?.get("guidanceCustomizationRetryScreenImageBorderColor") ?: "#4bb75f"
55
+ private val guidanceCustomizationRetryScreenImageBorderWidth: Int? =
56
+ themeBuilder?.get("guidanceCustomizationRetryScreenImageBorderWidth")?.toInt() ?: 0
57
+ private val guidanceCustomizationRetryScreenImageCornerRadius: Int? =
58
+ themeBuilder?.get("guidanceCustomizationRetryScreenImageCornerRadius")?.toInt() ?: 3
59
+ private val guidanceCustomizationRetryScreenOvalStrokeColor: String? =
60
+ themeBuilder?.get("guidanceCustomizationRetryScreenOvalStrokeColor") ?: "#4bb75f"
61
+
62
+ //Result Screen Customization
63
+ private val resultScreenCustomizationAnimationRelativeScale: Float = 1.0F
64
+ private val resultScreenCustomizationForegroundColor: String? =
65
+ themeBuilder?.get("resultScreenCustomizationForegroundColor") ?: "#FFFFFF"
66
+ private val resultScreenCustomizationBackgroundColors: String? =
67
+ themeBuilder?.get("resultScreenCustomizationBackgroundColors") ?: "#FFFFFF"
68
+ 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
76
+ private val resultScreenCustomizationUploadProgressFillColor: String? =
77
+ themeBuilder?.get("resultScreenCustomizationUploadProgressFillColor") ?: "#4bb75f"
78
+ private val resultScreenCustomizationUploadProgressTrackColor: String? =
79
+ themeBuilder?.get("resultScreenCustomizationUploadProgressTrackColor") ?: "#333333"
80
+ private val resultScreenCustomizationResultAnimationBackgroundColor: String? =
81
+ themeBuilder?.get("resultScreenCustomizationResultAnimationBackgroundColor") ?: "#05D758"
82
+ private val resultScreenCustomizationResultAnimationForegroundColor: String? =
83
+ themeBuilder?.get("resultScreenCustomizationResultAnimationForegroundColor") ?: "#FFFFFF"
84
+
85
+
86
+ //Oval Customization
87
+ private val ovalCustomizationStrokeWidth: Int? =
88
+ themeBuilder?.get("ovalCustomizationStrokeWidth")?.toInt() ?: 3
89
+ private val ovalCustomizationStrokeColor: String? =
90
+ themeBuilder?.get("ovalCustomizationStrokeColor") ?: "#4bb75f"
91
+ private val ovalCustomizationProgressStrokeWidth: Int? =
92
+ themeBuilder?.get("ovalCustomizationProgressStrokeWidth")?.toInt() ?: 2
93
+ private val ovalCustomizationProgressColor1: String? =
94
+ themeBuilder?.get("ovalCustomizationProgressColor1") ?: "#4bb75f"
95
+ private val ovalCustomizationProgressColor2: String? =
96
+ themeBuilder?.get("ovalCustomizationProgressColor2") ?: "#4bb75f"
97
+ private val ovalCustomizationProgressRadialOffset: Int? =
98
+ themeBuilder?.get("ovalCustomizationProgressRadialOffset")?.toInt() ?: 2
99
+
100
+ //Frame Customization
101
+ private val frameCustomizationBorderWidth: Int? =
102
+ themeBuilder?.get("frameCustomizationBorderWidth")?.toInt() ?: 0
103
+ private val frameCustomizationCornerRadius: Int? =
104
+ themeBuilder?.get("frameCustomizationCornerRadius")?.toInt() ?: 0
105
+ private val frameCustomizationBorderColor: String? =
106
+ themeBuilder?.get("frameCustomizationBorderColor") ?: "#4bb75f"
107
+ private val frameCustomizationBackgroundColor: String? =
108
+ themeBuilder?.get("frameCustomizationBackgroundColor") ?: "#FFFFFF"
109
+ private val frameCustomizationElevation: Int? =
110
+ themeBuilder?.get("frameCustomizationElevation")?.toInt() ?: 0
111
+
112
+ //Overlay Customization
113
+ private val overlayCustomizationBackgroundColor: String? =
114
+ themeBuilder?.get("overlayCustomizationBackgroundColor") ?: "#FFFFFF"
115
+
116
+ //Feedback Customization
117
+ private val feedbackCustomizationCornerRadius: Int? =
118
+ themeBuilder?.get("feedbackCustomizationCornerRadius")?.toInt() ?: 2
119
+ private val feedbackCustomizationBackgroundColors: String? =
120
+ themeBuilder?.get("overlayCustomizationBackgroundColor") ?: "#666666"
121
+ private val feedbackCustomizationTextColor: String? =
122
+ themeBuilder?.get("feedbackCustomizationTextColor") ?: "#FFFFFF"
123
+
124
+
125
+ 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()
228
+ }
229
+ }
Binary file
@@ -0,0 +1,5 @@
1
+ #import <RnLiveness3dSpec/RnLiveness3dSpec.h>
2
+
3
+ @interface RnLiveness3d : NSObject <NativeRnLiveness3dSpec>
4
+
5
+ @end
@@ -0,0 +1,72 @@
1
+ #import "RnLiveness3d.h"
2
+ #import "oiti_rn_liveness3d-Swift.h"
3
+ #import <React/RCTUtils.h>
4
+
5
+ @implementation RnLiveness3d {
6
+ RnLiveness3dSwiftModule *_module;
7
+ }
8
+
9
+ + (NSString *)moduleName
10
+ {
11
+ return @"RnLiveness3d";
12
+ }
13
+
14
+ - (instancetype)init
15
+ {
16
+ self = [super init];
17
+ if (self) {
18
+ _module = [RnLiveness3dSwiftModule new];
19
+ }
20
+ return self;
21
+ }
22
+
23
+ /**
24
+ * TurboModules Bridge
25
+ */
26
+
27
+ - (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:
28
+ (const facebook::react::ObjCTurboModule::InitParams &)params
29
+ {
30
+ return std::make_shared<facebook::react::NativeRnLiveness3dSpecJSI>(params);
31
+ }
32
+
33
+ /**
34
+ * Codegen interface implementation
35
+ */
36
+
37
+ - (void)startLiveness3d:(NSDictionary *)args
38
+ resolve:(RCTPromiseResolveBlock)resolve
39
+ reject:(RCTPromiseRejectBlock)reject
40
+ {
41
+ if (_module) {
42
+ [_module startLiveness3d:args
43
+ resolve:resolve
44
+ reject:reject
45
+ presenter:^(UIViewController * _Nonnull viewController, BOOL animated) {
46
+ UIViewController *presentedViewController = RCTPresentedViewController();
47
+ [presentedViewController presentViewController:viewController animated:animated completion:nil];
48
+ }];
49
+ } else {
50
+ reject(@"E_MODULE_NOT_INITIALIZED", @"RnLiveness3dModule not initialized", nil);
51
+ }
52
+ }
53
+
54
+ - (NSNumber *)checkCameraPermissionGranted
55
+ {
56
+ if (_module) {
57
+ BOOL result = [_module checkCameraPermissionGranted];
58
+ return result ? @YES : @NO;
59
+ }
60
+ return @NO;
61
+ }
62
+
63
+ - (void)requestCameraPermission:(RCTResponseSenderBlock)resolve
64
+ {
65
+ if (_module) {
66
+ [_module requestCameraPermission:resolve];
67
+ } else {
68
+ resolve(@[@NO]);
69
+ }
70
+ }
71
+
72
+ @end