@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
package/package.json CHANGED
@@ -1,12 +1,17 @@
1
1
  {
2
2
  "name": "@oiti/rn-liveness3d",
3
- "version": "3.4.0",
3
+ "version": "5.0.0",
4
4
  "description": "test",
5
- "main": "lib/commonjs/index",
6
- "module": "lib/module/index",
7
- "types": "lib/typescript/index.d.ts",
8
- "react-native": "src/index",
9
- "source": "src/index",
5
+ "main": "./lib/module/index.js",
6
+ "types": "./lib/typescript/src/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "source": "./src/index.tsx",
10
+ "types": "./lib/typescript/src/index.d.ts",
11
+ "default": "./lib/module/index.js"
12
+ },
13
+ "./package.json": "./package.json"
14
+ },
10
15
  "files": [
11
16
  "src",
12
17
  "lib",
@@ -14,7 +19,7 @@
14
19
  "ios",
15
20
  "cpp",
16
21
  "*.podspec",
17
- "!lib/typescript/example",
22
+ "react-native.config.js",
18
23
  "!ios/build",
19
24
  "!android/build",
20
25
  "!android/gradle",
@@ -27,20 +32,23 @@
27
32
  "!**/.*"
28
33
  ],
29
34
  "scripts": {
35
+ "example": "yarn workspace testing-example",
30
36
  "test": "jest",
31
- "typescript": "tsc --noEmit",
37
+ "typecheck": "tsc",
32
38
  "lint": "eslint \"**/*.{js,ts,tsx}\"",
39
+ "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
33
40
  "prepare": "bob build",
34
- "release": "release-it",
35
- "example": "yarn --cwd example",
36
- "bootstrap": "yarn example && yarn install && yarn example pods"
41
+ "release": "release-it --only-version"
37
42
  },
38
43
  "keywords": [
39
44
  "react-native",
40
45
  "ios",
41
46
  "android"
42
47
  ],
43
- "repository": "https://github.com/oititec/rn-liveness3d",
48
+ "repository": {
49
+ "type": "git",
50
+ "url": "git+https://github.com/oititec/rn-liveness3d"
51
+ },
44
52
  "author": "catelli <eu@gabrielcatelli.com> (https://github.com/catelli)",
45
53
  "license": "MIT",
46
54
  "bugs": {
@@ -50,31 +58,42 @@
50
58
  "publishConfig": {
51
59
  "registry": "https://registry.npmjs.org/"
52
60
  },
61
+ "dependencies": {
62
+ "@react-navigation/native": "^6.1.6",
63
+ "@react-navigation/native-stack": "^6.9.12",
64
+ "react-native-safe-area-context": "^4.5.0",
65
+ "react-native-screens": "^3.20.0"
66
+ },
53
67
  "devDependencies": {
54
68
  "@arkweid/lefthook": "^0.7.7",
55
69
  "@commitlint/config-conventional": "^17.0.2",
70
+ "@eslint/compat": "^1.4.0",
56
71
  "@react-native-community/eslint-config": "^3.0.2",
57
72
  "@release-it/conventional-changelog": "^5.0.0",
58
73
  "@types/jest": "^28.1.2",
59
- "@types/react": "17.0.21",
60
- "@types/react-native": "0.70.0",
74
+ "@types/react": "^19.1.0",
75
+ "@types/react-native": "0.73.0",
61
76
  "commitlint": "^17.0.2",
62
- "eslint": "^8.4.1",
77
+ "eslint": "^9.0.0",
63
78
  "eslint-config-prettier": "^8.5.0",
64
79
  "eslint-plugin-prettier": "^4.0.0",
65
80
  "jest": "^28.1.1",
66
81
  "pod-install": "^0.1.0",
67
82
  "prettier": "^2.0.5",
68
- "react": "18.2.0",
69
- "react-native": "0.70.0",
83
+ "react": "19.1.0",
84
+ "react-native": "0.81.4",
70
85
  "react-native-builder-bob": "^0.20.0",
71
86
  "release-it": "^15.0.0",
72
- "typescript": "^4.5.2"
87
+ "typescript": "^5.0.4"
73
88
  },
74
89
  "peerDependencies": {
75
90
  "react": "*",
76
91
  "react-native": "*"
77
92
  },
93
+ "workspaces": [
94
+ "example"
95
+ ],
96
+ "packageManager": "yarn@3.6.1",
78
97
  "jest": {
79
98
  "preset": "react-native",
80
99
  "modulePathIgnorePatterns": [
@@ -100,33 +119,12 @@
100
119
  },
101
120
  "plugins": {
102
121
  "@release-it/conventional-changelog": {
103
- "preset": "angular"
104
- }
105
- }
106
- },
107
- "eslintConfig": {
108
- "root": true,
109
- "extends": [
110
- "@react-native-community",
111
- "prettier"
112
- ],
113
- "rules": {
114
- "prettier/prettier": [
115
- "error",
116
- {
117
- "quoteProps": "consistent",
118
- "singleQuote": true,
119
- "tabWidth": 2,
120
- "trailingComma": "es5",
121
- "useTabs": false
122
+ "preset": {
123
+ "name": "angular"
122
124
  }
123
- ]
125
+ }
124
126
  }
125
127
  },
126
- "eslintIgnore": [
127
- "node_modules/",
128
- "lib/"
129
- ],
130
128
  "prettier": {
131
129
  "quoteProps": "consistent",
132
130
  "singleQuote": true,
@@ -138,8 +136,12 @@
138
136
  "source": "src",
139
137
  "output": "lib",
140
138
  "targets": [
141
- "commonjs",
142
- "module",
139
+ [
140
+ "module",
141
+ {
142
+ "esm": true
143
+ }
144
+ ],
143
145
  [
144
146
  "typescript",
145
147
  {
@@ -148,10 +150,17 @@
148
150
  ]
149
151
  ]
150
152
  },
151
- "dependencies": {
152
- "@react-navigation/native": "^6.1.6",
153
- "@react-navigation/native-stack": "^6.9.12",
154
- "react-native-safe-area-context": "^4.5.0",
155
- "react-native-screens": "^3.20.0"
153
+ "codegenConfig": {
154
+ "name": "RnLiveness3dSpec",
155
+ "type": "modules",
156
+ "jsSrcsDir": "src",
157
+ "android": {
158
+ "javaPackageName": "br.com.oiti.rnliveness3d"
159
+ }
160
+ },
161
+ "create-react-native-library": {
162
+ "languages": "kotlin-objc",
163
+ "type": "turbo-module",
164
+ "version": "0.54.6"
156
165
  }
157
166
  }
@@ -1,10 +1,9 @@
1
- import { FontsType } from './FontsType';
2
- import { TextsType } from './TextsType';
3
- import { ThemeType } from './ThemeType';
1
+ import type { FontsType } from './FontsType';
2
+ import type { TextsType } from './TextsType';
3
+ import type { ThemeType } from './ThemeType';
4
4
 
5
5
  export type ArgsType = {
6
6
  appkey: string;
7
- ticket?: string | null;
8
7
  environment: 'HML' | 'PRD';
9
8
  liveness3Dtext?: TextsType;
10
9
  theme?: ThemeType;
@@ -1,6 +1,8 @@
1
- import { onErrorType, onSuccessType } from './ResultType';
1
+ import type { ReactNode } from 'react';
2
+ import type { onErrorType, onSuccessType } from './ResultType';
2
3
 
3
4
  export type ResultType = {
4
5
  onSuccess: (result: onSuccessType) => void;
5
6
  onError: (error: onErrorType) => void;
7
+ children?: ReactNode;
6
8
  };
@@ -0,0 +1,9 @@
1
+ import { TurboModuleRegistry, type TurboModule } from 'react-native';
2
+
3
+ export interface Spec extends TurboModule {
4
+ checkCameraPermissionGranted(): boolean;
5
+ requestCameraPermission(resolve: (result: boolean) => void): void;
6
+ startLiveness3d(args: Object): Promise<any>;
7
+ }
8
+
9
+ export default TurboModuleRegistry.getEnforcing<Spec>('RnLiveness3d');
@@ -1,7 +1,7 @@
1
1
  import React, { useRef } from 'react';
2
2
  import { TouchableOpacity } from 'react-native';
3
3
  import { useLiveness3DContext } from '../context/Liveness3DContext';
4
- import { OitiBackButtonInterface } from '../interfaces/OitiBackButtonInterface';
4
+ import type { OitiBackButtonInterface } from '../interfaces/OitiBackButtonInterface';
5
5
 
6
6
  export const BackButton: React.FC<OitiBackButtonInterface> = ({
7
7
  children,
@@ -2,7 +2,7 @@ import React, { useRef } from 'react';
2
2
  import { TouchableOpacity } from 'react-native';
3
3
  import { useLiveness3DContext } from '../context/Liveness3DContext';
4
4
  import { continueButton } from '../utils/continueButton';
5
- import { OitiContinueButtonInterface } from '../interfaces/OitiContinueButton';
5
+ import type { OitiContinueButtonInterface } from '../interfaces/OitiContinueButton';
6
6
 
7
7
  export const ContinueButton: React.FC<OitiContinueButtonInterface> = ({
8
8
  children,
@@ -12,10 +12,11 @@ export const ContinueButton: React.FC<OitiContinueButtonInterface> = ({
12
12
  const { setScreen, startLiveness } = useLiveness3DContext();
13
13
 
14
14
  function onContinue() {
15
- continueButton().then((result) => {
16
- result === true && startLiveness();
17
- result === false && setScreen(2);
18
- });
15
+ if (continueButton() === true) {
16
+ startLiveness();
17
+ } else {
18
+ setScreen(2);
19
+ }
19
20
  }
20
21
 
21
22
  const handlePress = () => {
@@ -1,17 +1,17 @@
1
1
  import React, { useRef } from 'react';
2
2
  import { TouchableOpacity } from 'react-native';
3
3
  import { useLiveness3DContext } from '../context/Liveness3DContext';
4
- import { OitiPermissionButtonInterface } from '../interfaces/OitiPermissionButtonInterface';
4
+ import type { OitiPermissionButtonInterface } from '../interfaces/OitiPermissionButtonInterface';
5
5
 
6
6
  export const PermissionButton: React.FC<OitiPermissionButtonInterface> = ({
7
7
  children,
8
8
  ...props
9
9
  }) => {
10
10
  const touchableOpacityRef = useRef(null);
11
- const { onAskPermission } = useLiveness3DContext();
11
+ const { onRequestCameraPermission } = useLiveness3DContext();
12
12
 
13
13
  const handlePress = () => {
14
- onAskPermission();
14
+ onRequestCameraPermission();
15
15
  };
16
16
 
17
17
  return (
@@ -1,10 +1,9 @@
1
1
  import { startLiveness3d } from '../index';
2
- import React, { createContext, FC, useContext, useState } from 'react';
3
- import { ArgsType } from '../@types/ArgsType';
4
- import { onErrorType, onSuccessType } from '../@types/ResultType';
5
- import { ResultType } from '../@types/ResultTypes';
6
- import { askPermission } from '../utils/permissions';
7
- import { Platform } from 'react-native';
2
+ import React, { createContext, type FC, useContext, useState } from 'react';
3
+ import type { ArgsType } from '../@types/ArgsType';
4
+ import type { onErrorType, onSuccessType } from '../@types/ResultType';
5
+ import type { ResultType } from '../@types/ResultTypes';
6
+ import { requestCameraPermission } from '../utils/permissions';
8
7
 
9
8
  export const SCREEN = Object.freeze({
10
9
  INSTRUCTION_VIEW: 1,
@@ -21,7 +20,7 @@ interface Liveness3DContextType {
21
20
  onLiveness3DError: (error: onErrorType) => void;
22
21
  onLiveness3DSuccess: (result: onSuccessType) => void;
23
22
  onBack: () => any;
24
- onAskPermission: () => any;
23
+ onRequestCameraPermission: () => any;
25
24
  startLiveness: () => any;
26
25
  callbackView: string;
27
26
  setCallbackView: React.Dispatch<React.SetStateAction<string>>;
@@ -62,24 +61,12 @@ export const Liveness3DProvider: FC<ResultType> = ({
62
61
 
63
62
  function startLiveness() {
64
63
  if (options) {
65
- startLiveness3d(options)
66
- .then((result) => {
67
- {
68
- if (Platform.OS == 'android') {
69
- //@ts-ignore
70
- onSuccess(JSON.parse(result) as onSuccessType);
71
- } else {
72
- onSuccess(result as onSuccessType);
73
- }
74
- }
75
- })
76
- .catch((error) => {
77
- onError(error as onErrorType);
78
- });
64
+ startLiveness3d(options, onSuccess, onError);
79
65
  }
80
66
  }
81
- function onAskPermission() {
82
- askPermission().then((result) => {
67
+
68
+ function onRequestCameraPermission() {
69
+ requestCameraPermission().then((result) => {
83
70
  result === true && startLiveness();
84
71
  result === false && setScreen(1);
85
72
  });
@@ -96,7 +83,7 @@ export const Liveness3DProvider: FC<ResultType> = ({
96
83
  options,
97
84
  setOptions,
98
85
  startLiveness,
99
- onAskPermission,
86
+ onRequestCameraPermission,
100
87
  callbackView,
101
88
  setCallbackView,
102
89
  };
@@ -1,4 +1,4 @@
1
- import React, { useEffect, type FC } from 'react';
1
+ import { useEffect, type FC } from 'react';
2
2
  import { useLiveness3DContext } from '../context/Liveness3DContext';
3
3
  import type { Liveness3DHelperInterface } from '../interfaces/Liveness3DHelper';
4
4
 
package/src/index.tsx CHANGED
@@ -1,5 +1,5 @@
1
- import React, { FC } from 'react';
2
- import { NativeModules, Platform } from 'react-native';
1
+ import type { FC } from 'react';
2
+ import { Platform } from 'react-native';
3
3
  import type { ArgsType, LoadingType } from './@types/ArgsType';
4
4
  import InstructionsView from './screens/Liveness3D/InstructionsView';
5
5
  import PermissionView from './screens/PermissionView';
@@ -10,31 +10,20 @@ import {
10
10
  useLiveness3DContext,
11
11
  } from './context/Liveness3DContext';
12
12
  import { Liveness3DHelper } from './helpers/Liveness3DHelper';
13
-
14
- const LINKING_ERROR =
15
- `The package '@oiti/rn-liveness3d' doesn't seem to be linked. Make sure: \n\n` +
16
- Platform.select({ ios: "- You have run 'pod install'\n", default: '' }) +
17
- '- You rebuilt the app after installing the package\n' +
18
- '- You are not using Expo Go\n';
19
-
20
- export const RnLiveness3d = NativeModules.RnLiveness3d
21
- ? NativeModules.RnLiveness3d
22
- : new Proxy(
23
- {},
24
- {
25
- get() {
26
- throw new Error(LINKING_ERROR);
27
- },
28
- }
29
- );
13
+ import {
14
+ checkCameraPermissionGranted,
15
+ requestCameraPermission,
16
+ } from './utils/permissions';
17
+ import RnLiveness3d from './NativeRnLiveness3d';
30
18
 
31
19
  export function startLiveness3d(
32
20
  options: ArgsType,
21
+ onSuccess: (result: onSuccessType) => void,
22
+ onError: (error: onErrorType) => void,
33
23
  loading?: LoadingType
34
- ): Promise<onErrorType | onSuccessType> {
24
+ ) {
35
25
  let args: ArgsType = {
36
26
  appkey: options?.appkey === undefined ? '' : options?.appkey,
37
- ticket: options?.ticket,
38
27
  environment:
39
28
  options?.environment === undefined ? 'HML' : options?.environment,
40
29
  liveness3Dtext: options?.liveness3Dtext || {},
@@ -43,103 +32,15 @@ export function startLiveness3d(
43
32
  loading: loading,
44
33
  };
45
34
 
46
- if (Platform.OS === 'android') {
47
- return RnLiveness3d.startliveness3d(
48
- args.appkey,
49
- args.ticket,
50
- loading?.type ? loading?.type : 'default',
51
- loading?.size ? loading?.size * 200 : 1 * 200,
52
- loading?.backgroundColor ? loading?.backgroundColor : '#333333',
53
- loading?.loadingColor ? loading?.loadingColor : '#05D758',
54
- args?.theme,
55
- args?.fonts,
56
- args?.liveness3Dtext,
57
- args?.environment
58
- );
59
- }
60
- return RnLiveness3d.startliveness3d(args);
61
- }
62
-
63
- export function checkIosPermission(): Promise<any> {
64
- return RnLiveness3d.checkiospermission({ p: 'granted' });
65
- }
66
- export function checkIosPermissionGranted(): Promise<any> {
67
- return RnLiveness3d.checkpermissiongranted({ p: 'granted' });
68
- }
69
-
70
- export function checkcamerapermissionAndroid(): Promise<any> {
71
- return RnLiveness3d.checkcamerapermission();
72
- }
73
- export function askcamerapermissionAndroid(): Promise<any> {
74
- return RnLiveness3d.askcamerapermission();
75
- }
76
-
77
- export const requestCameraPermission = async (
78
- options: ArgsType,
79
- onSuccess: (result: onSuccessType) => void,
80
- onError: (error: onErrorType) => void,
81
- loading?: LoadingType
82
- ) => {
83
- if (Platform.OS === 'ios') {
84
- checkIosPermission().then(async (result) => {
85
- if (result === true) {
86
- await startLiveness3d(options, loading)
87
- .then((result) => {
88
- if (Platform.OS == 'android') {
89
- //@ts-ignore
90
- onSuccess(JSON.parse(result) as onSuccessType);
91
- } else {
92
- onSuccess(result as onSuccessType);
93
- }
94
- })
95
- .catch((error) => onError(error as onErrorType));
96
- }
97
- if (result === false) {
98
- return;
35
+ RnLiveness3d.startLiveness3d(args)
36
+ .then((result) => {
37
+ if (Platform.OS === 'android') {
38
+ onSuccess(JSON.parse(result) as onSuccessType);
39
+ } else {
40
+ onSuccess(result as onSuccessType);
99
41
  }
100
- });
101
- }
102
-
103
- if (Platform.OS === 'android') {
104
- try {
105
- await askcamerapermissionAndroid().then(async (res) => {
106
- if (res === true) {
107
- await startLiveness3d(options, loading)
108
- .then((result) => {
109
- if (Platform.OS == 'android') {
110
- //@ts-ignore
111
- onSuccess(JSON.parse(result) as onSuccessType);
112
- } else {
113
- onSuccess(result as onSuccessType);
114
- }
115
- })
116
- .catch((error) => onError(error as onErrorType));
117
- } else {
118
- console.log('Camera permission denied');
119
- }
120
- });
121
- } catch (err) {
122
- console.warn(err);
123
- }
124
- }
125
- };
126
-
127
- async function checkPermission(): Promise<boolean> {
128
- if (Platform.OS === 'ios') {
129
- const grantediso = await checkIosPermissionGranted();
130
- if (grantediso === true) {
131
- return true;
132
- }
133
- if (grantediso === false) {
134
- return false;
135
- }
136
- }
137
- const granted = await checkcamerapermissionAndroid();
138
- if (granted) {
139
- return true;
140
- } else {
141
- return false;
142
- }
42
+ })
43
+ .catch((error) => onError(error as onErrorType));
143
44
  }
144
45
 
145
46
  export function Liveness3dView({
@@ -208,23 +109,14 @@ export function GetIntructionView({
208
109
  }
209
110
  async function verifyPermission() {
210
111
  if (screen === 1) {
211
- if ((await checkPermission()) === true) {
212
- startLiveness3d(options, loading)
213
- .then((result) => {
214
- if (Platform.OS == 'android') {
215
- //@ts-ignore
216
- onSuccess(JSON.parse(result) as onSuccessType);
217
- } else {
218
- onSuccess(result as onSuccessType);
219
- }
220
- })
221
- .catch((error) => onError(error as onErrorType));
112
+ if (checkCameraPermissionGranted() === true) {
113
+ startLiveness3d(options, onSuccess, onError, loading);
222
114
  } else {
223
115
  setScreen(2);
224
116
  }
225
117
  }
226
118
  if (screen === 2) {
227
- await requestCameraPermission(options, onSuccess, onError);
119
+ await requestCameraPermission();
228
120
  setScreen(1);
229
121
  }
230
122
  }
@@ -235,14 +127,14 @@ export function GetIntructionView({
235
127
  (!CustomInstructionView ? (
236
128
  <InstructionsView onVerify={verifyPermission} onBack={onBackScreen} />
237
129
  ) : (
238
- CustomInstructionView
130
+ <CustomInstructionView />
239
131
  ))}
240
132
 
241
133
  {screen === 2 &&
242
134
  (!CustomPermissionView ? (
243
135
  <PermissionView onVerify={verifyPermission} onBack={onBackScreen} />
244
136
  ) : (
245
- CustomPermissionView
137
+ <CustomPermissionView />
246
138
  ))}
247
139
  </>
248
140
  );
@@ -251,3 +143,7 @@ export function GetIntructionView({
251
143
  export { ContinueButton } from './actions/ContinueButton';
252
144
  export { PermissionButton } from './actions/PermissionButton';
253
145
  export { BackButton } from './actions/BackButton';
146
+ export type { onErrorType, onSuccessType } from './@types/ResultType';
147
+ export type { ArgsType, LoadingType } from './@types/ArgsType';
148
+ export type { FontsType } from './@types/FontsType';
149
+ export type { ThemeType } from './@types/ThemeType';
@@ -1,7 +1,9 @@
1
- import { onErrorType } from '../@types/ResultType';
2
- import { ArgsType } from '../@types/ArgsType';
1
+ import type { ReactNode } from 'react';
2
+ import type { onErrorType } from '../@types/ResultType';
3
+ import type { ArgsType } from '../@types/ArgsType';
3
4
 
4
5
  export interface Liveness3DHelperInterface {
5
6
  options: ArgsType;
6
7
  onError: (error: onErrorType) => void;
8
+ children?: ReactNode;
7
9
  }
@@ -1,5 +1,3 @@
1
- import * as React from 'react';
2
-
3
1
  import {
4
2
  StyleSheet,
5
3
  View,
@@ -1,4 +1,3 @@
1
- import * as React from 'react';
2
1
  import { Dimensions } from 'react-native';
3
2
 
4
3
  import { StyleSheet, View, Text, Image, TouchableOpacity } from 'react-native';
@@ -1,12 +1,5 @@
1
- import { verifyPermission } from './permissions';
1
+ import { checkCameraPermissionGranted } from './permissions';
2
2
 
3
- export const continueButton = async (): Promise<boolean> => {
4
- return verifyPermission()
5
- .then((result) => {
6
- return result;
7
- })
8
- .catch((error) => {
9
- console.error(error);
10
- return false;
11
- });
3
+ export const continueButton = (): boolean => {
4
+ return checkCameraPermissionGranted();
12
5
  };
@@ -1,30 +1,13 @@
1
- import { NativeModules, Platform } from 'react-native';
1
+ import RnLiveness3d from '../NativeRnLiveness3d';
2
2
 
3
- export const RnLiveness3d = NativeModules.RnLiveness3d
4
- ? NativeModules.RnLiveness3d
5
- : new Proxy(
6
- {},
7
- {
8
- get() {
9
- throw new Error(LINKING_ERROR);
10
- },
11
- }
12
- );
13
-
14
- const LINKING_ERROR =
15
- `The package '@oiti/rn-liveness3d' doesn't seem to be linked. Make sure: \n\n` +
16
- Platform.select({ ios: "- You have run 'pod install'\n", default: '' }) +
17
- '- You rebuilt the app after installing the package\n' +
18
- '- You are not using Expo Go\n';
19
-
20
- export function verifyPermission(): Promise<boolean> {
21
- return Platform.OS === 'android'
22
- ? RnLiveness3d.checkcamerapermission()
23
- : RnLiveness3d.checkiospermission({ p: 'granted' });
3
+ export function checkCameraPermissionGranted(): boolean {
4
+ return RnLiveness3d.checkCameraPermissionGranted();
24
5
  }
25
6
 
26
- export function askPermission(): Promise<boolean> {
27
- return Platform.OS === 'android'
28
- ? RnLiveness3d.askcamerapermission()
29
- : RnLiveness3d.checkpermissiongranted({ p: 'granted' });
7
+ export function requestCameraPermission(): Promise<boolean> {
8
+ return new Promise((resolve, _reject) => {
9
+ RnLiveness3d.requestCameraPermission((result) => {
10
+ resolve(result);
11
+ });
12
+ });
30
13
  }
@@ -1,6 +0,0 @@
1
- dependencyResolutionManagement {
2
- //repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
3
- repositories {
4
- maven { url "https://raw.githubusercontent.com/oititec/android-oiti-versions/master" }
5
- }
6
- }
package/ios/Podfile DELETED
@@ -1,13 +0,0 @@
1
- platform :ios, '12.4'
2
-
3
- source 'https://github.com/oititec/ios-artifactory-beta.git'
4
- source 'https://github.com/CocoaPods/Specs.git'
5
-
6
-
7
- target 'RnLiveness3d' do
8
- # Comment the next line if you don't want to use dynamic frameworks
9
- use_frameworks!
10
-
11
- pod 'OILiveness3D', '3.4.0'
12
-
13
- end