@oiti/rn-liveness3d 1.1.2 → 2.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 (412) hide show
  1. package/README.md +33 -237
  2. package/android/build.gradle +4 -18
  3. package/android/settings.gradle +2 -2
  4. package/android/src/main/AndroidManifest.xml +3 -0
  5. package/android/src/main/java/br/com/oiti/rnliveness3d/RnLiveness3dModule.kt +198 -132
  6. package/android/src/main/java/br/com/oiti/rnliveness3d/theme/Liveness3DFonts.kt +44 -0
  7. package/android/src/main/java/br/com/oiti/rnliveness3d/theme/Liveness3DText.kt +68 -0
  8. package/android/src/main/java/br/com/oiti/rnliveness3d/theme/Liveness3DTheme.kt +147 -0
  9. package/ios/Podfile +2 -1
  10. package/ios/Podfile.lock +39 -0
  11. package/ios/Pods/Manifest.lock +24 -19
  12. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/Info.plist +42 -0
  13. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Headers/OICommons-Swift.h +310 -0
  14. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Headers/OICommons.h +15 -0
  15. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Info.plist +0 -0
  16. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Inter-Bold.otf +0 -0
  17. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Inter-Medium.otf +0 -0
  18. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Inter-Regular.otf +0 -0
  19. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.abi.json +9 -0
  20. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.private.swiftinterface +1865 -0
  21. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  22. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.swiftinterface +1865 -0
  23. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/module.modulemap +11 -0
  24. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/OICommons +0 -0
  25. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Ubuntu-Bold.otf +0 -0
  26. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Ubuntu-Medium.otf +0 -0
  27. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Ubuntu-Regular.otf +0 -0
  28. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/dSYMs/OICommons.framework.dSYM/Contents/Info.plist +20 -0
  29. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/dSYMs/OICommons.framework.dSYM/Contents/Resources/DWARF/OICommons +0 -0
  30. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Headers/OICommons-Swift.h +616 -0
  31. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Headers/OICommons.h +15 -0
  32. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Info.plist +0 -0
  33. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Inter-Bold.otf +0 -0
  34. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Inter-Medium.otf +0 -0
  35. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Inter-Regular.otf +0 -0
  36. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.abi.json +9 -0
  37. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +1865 -0
  38. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  39. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.swiftinterface +1865 -0
  40. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.abi.json +9 -0
  41. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +1865 -0
  42. 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
  43. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +1865 -0
  44. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/module.modulemap +11 -0
  45. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/OICommons +0 -0
  46. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Ubuntu-Bold.otf +0 -0
  47. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Ubuntu-Medium.otf +0 -0
  48. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Ubuntu-Regular.otf +0 -0
  49. package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/_CodeSignature/CodeResources +311 -0
  50. package/ios/Pods/OICommons/README.md +1 -0
  51. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/Info.plist +42 -0
  52. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Assets.car +0 -0
  53. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Headers/OIComponents-Swift.h +406 -0
  54. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Headers/OIComponents.h +18 -0
  55. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Info.plist +0 -0
  56. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.abi.json +9 -0
  57. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.private.swiftinterface +724 -0
  58. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  59. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.swiftinterface +724 -0
  60. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/module.modulemap +11 -0
  61. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/OIComponents +0 -0
  62. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/dSYMs/OIComponents.framework.dSYM/Contents/Info.plist +20 -0
  63. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/dSYMs/OIComponents.framework.dSYM/Contents/Resources/DWARF/OIComponents +0 -0
  64. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/dSYMs/OIComponents.framework.dSYM/Contents/Resources/Swift/aarch64/OICommons.swiftinterface +1865 -0
  65. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Assets.car +0 -0
  66. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Headers/OIComponents-Swift.h +808 -0
  67. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Headers/OIComponents.h +18 -0
  68. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Info.plist +0 -0
  69. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.abi.json +9 -0
  70. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +724 -0
  71. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  72. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.swiftinterface +724 -0
  73. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.abi.json +9 -0
  74. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +724 -0
  75. 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
  76. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +724 -0
  77. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/module.modulemap +11 -0
  78. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/OIComponents +0 -0
  79. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/_CodeSignature/CodeResources +256 -0
  80. package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework.zip +0 -0
  81. package/ios/Pods/OIComponents/README.md +1 -0
  82. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/Info.plist +42 -0
  83. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Assets.car +0 -0
  84. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Headers/OILiveness3D-Swift.h +294 -0
  85. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Headers/OILiveness3D.h +18 -0
  86. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Info.plist +0 -0
  87. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.abi.json +9 -0
  88. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.private.swiftinterface +224 -0
  89. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  90. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.swiftinterface +224 -0
  91. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/module.modulemap +11 -0
  92. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/OILiveness3D +0 -0
  93. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Info.plist +20 -0
  94. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/DWARF/OILiveness3D +0 -0
  95. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OICommons.swiftinterface +1865 -0
  96. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OIComponents.swiftinterface +724 -0
  97. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OINetwork.swiftinterface +150 -0
  98. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OISecurity.swiftinterface +141 -0
  99. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Assets.car +0 -0
  100. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Headers/OILiveness3D-Swift.h +584 -0
  101. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Headers/OILiveness3D.h +18 -0
  102. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Info.plist +0 -0
  103. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.abi.json +9 -0
  104. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +224 -0
  105. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  106. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.swiftinterface +224 -0
  107. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.abi.json +9 -0
  108. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +224 -0
  109. 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
  110. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +224 -0
  111. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/module.modulemap +11 -0
  112. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/OILiveness3D +0 -0
  113. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/_CodeSignature/CodeResources +256 -0
  114. package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework.zip +0 -0
  115. package/ios/Pods/OILiveness3D/README.md +32 -0
  116. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/Info.plist +40 -0
  117. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Assets.car +0 -0
  118. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/FaceTecSDK +0 -0
  119. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/GenericGuidanceContentLayout.nib +0 -0
  120. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecPublicApi.h +1915 -0
  121. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecPublicStringKeys.h +104 -0
  122. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecSDK.h +16 -0
  123. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Info.plist +0 -0
  124. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Modules/module.modulemap +6 -0
  125. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/ReadyScreenGuidanceContentLayout.nib +0 -0
  126. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/RetryScreenGuidanceContentLayout.nib +0 -0
  127. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/SharedGuidanceLayout.nib +0 -0
  128. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/9Uo-4b-JiE-view-Ae0-rb-UqS.nib +0 -0
  129. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/CJ6-MX-bJp-view-8JL-Rc-0g1.nib +0 -0
  130. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceScanViewController.nib +0 -0
  131. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceTecAdditionalReviewViewController.nib +0 -0
  132. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceTecOCRConfirmationViewController.nib +0 -0
  133. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/IDCaptureViewController.nib +0 -0
  134. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/IDSelectionViewController.nib +0 -0
  135. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/Info.plist +0 -0
  136. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/Pyw-6G-JSY-view-Zue-Eo-Q2U.nib +0 -0
  137. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/alz-Ia-X3d-view-IKu-EI-Hug.nib +0 -0
  138. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/l2Q-cc-kD8-view-UUy-6c-meu.nib +0 -0
  139. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/af.lproj/FaceTec.strings +0 -0
  140. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/ar.lproj/FaceTec.strings +0 -0
  141. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/attributions.txt +137 -0
  142. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/1f5b84f51ce0fcfbb76e904b7bcaa7560f601e1394a0b29367a09385312287eb +0 -0
  143. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/2b075ac1a6132b5b8a4c9ef0ba6b0cd84db7838aca9a000e50d907f40770a4ab +0 -0
  144. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/59cc2a9af81aaca2376702c2490650f4da2775fa673274db98aad41b7ef101c0 +0 -0
  145. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/5b63e98b991aedabb60665503384f30bffd939decf9433883b30b78011ee501a +0 -0
  146. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/66388dc76dc16bc6b76b682edd218a575bf45b9b +0 -0
  147. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/6b3133f0f39ff89a2a169d61176ee17cafacc5e288f334e2b64ee82892d11ccd +0 -0
  148. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/9077d16225f9314163ef1e7db6fc7d4088bb903d134bd95f23d5591ca4dfbfca +0 -0
  149. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/a74f2afb9d20f2375ccbd14e67c094b85c89ceb608f7cf8ae04f3f646a6c5672 +0 -0
  150. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/b501893e75f62ee1707643e35b21109927b07ed5b202321c961b424cbc2e4695 +0 -0
  151. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/dbd7a353f0130bb983d6ba05917e9be991d70e8f028df4b74e30bc6497ef7f71 +0 -0
  152. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/f2.xml +0 -0
  153. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/fd6d368a5658496536e2bfae170d1b823a3629b242cafc09784bfba4e56d8c80 +0 -0
  154. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/marker +0 -0
  155. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/vu0ilin6we3lrzo5f83f7qs2jul4aq7v4aoynrmch8zfvpi8ezrfyafa4t0fx87l +0 -0
  156. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/de.lproj/FaceTec.strings +0 -0
  157. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/el.lproj/FaceTec.strings +0 -0
  158. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/en.lproj/FaceTec.strings +0 -0
  159. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/es.lproj/FaceTec.strings +0 -0
  160. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/fr.lproj/FaceTec.strings +0 -0
  161. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/kk.lproj/FaceTec.strings +0 -0
  162. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/nb.lproj/FaceTec.strings +0 -0
  163. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/pt-BR.lproj/FaceTec.strings +0 -0
  164. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/ru.lproj/FaceTec.strings +0 -0
  165. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/strip-unused-architectures-from-target.sh +62 -0
  166. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/FaceTecSDK +0 -0
  167. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecPublicApi.h +1915 -0
  168. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecPublicStringKeys.h +104 -0
  169. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecSDK.h +16 -0
  170. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Info.plist +0 -0
  171. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Modules/module.modulemap +6 -0
  172. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/_CodeSignature/CodeResources +146 -0
  173. package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework.zip +0 -0
  174. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/Info.plist +42 -0
  175. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Headers/OINetwork-Swift.h +265 -0
  176. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Headers/OINetwork.h +15 -0
  177. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Info.plist +0 -0
  178. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.abi.json +9 -0
  179. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.private.swiftinterface +150 -0
  180. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  181. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.swiftinterface +150 -0
  182. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/module.modulemap +11 -0
  183. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/OINetwork +0 -0
  184. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/dSYMs/OINetwork.framework.dSYM/Contents/Info.plist +20 -0
  185. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/dSYMs/OINetwork.framework.dSYM/Contents/Resources/DWARF/OINetwork +0 -0
  186. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/dSYMs/OINetwork.framework.dSYM/Contents/Resources/Swift/aarch64/OICommons.swiftinterface +1865 -0
  187. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Headers/OINetwork-Swift.h +526 -0
  188. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Headers/OINetwork.h +15 -0
  189. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Info.plist +0 -0
  190. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.abi.json +9 -0
  191. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +150 -0
  192. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  193. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.swiftinterface +150 -0
  194. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/x86_64-apple-ios-simulator.abi.json +9 -0
  195. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +150 -0
  196. 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
  197. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +150 -0
  198. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/module.modulemap +11 -0
  199. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/OINetwork +0 -0
  200. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/_CodeSignature/CodeResources +245 -0
  201. package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework.zip +0 -0
  202. package/ios/Pods/OINetwork/README.md +1 -0
  203. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/Info.plist +42 -0
  204. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Headers/OISecurity-Swift.h +264 -0
  205. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Headers/OISecurity.h +16 -0
  206. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Info.plist +0 -0
  207. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.abi.json +9 -0
  208. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.private.swiftinterface +141 -0
  209. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  210. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.swiftinterface +141 -0
  211. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/module.modulemap +11 -0
  212. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/OISecurity +0 -0
  213. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/_CodeSignature/CodeResources +190 -0
  214. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/dSYMs/OISecurity.framework.dSYM/Contents/Info.plist +20 -0
  215. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/dSYMs/OISecurity.framework.dSYM/Contents/Resources/DWARF/OISecurity +0 -0
  216. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/dSYMs/OISecurity.framework.dSYM/Contents/Resources/Swift/aarch64/OINetwork.swiftinterface +150 -0
  217. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Headers/OISecurity-Swift.h +524 -0
  218. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Headers/OISecurity.h +16 -0
  219. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Info.plist +0 -0
  220. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.abi.json +9 -0
  221. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +141 -0
  222. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  223. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.swiftinterface +141 -0
  224. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.abi.json +9 -0
  225. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +141 -0
  226. 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
  227. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +141 -0
  228. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/module.modulemap +11 -0
  229. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/OISecurity +0 -0
  230. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/_CodeSignature/CodeResources +245 -0
  231. package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework.zip +0 -0
  232. package/ios/Pods/OISecurity/README.md +1 -0
  233. package/ios/Pods/Pods.xcodeproj/project.pbxproj +1235 -0
  234. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OICommons.xcscheme +58 -0
  235. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OIComponents.xcscheme +58 -0
  236. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OILiveness3D.xcscheme +58 -0
  237. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OILiveness3D_FT.xcscheme +58 -0
  238. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OINetwork.xcscheme +58 -0
  239. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OISecurity.xcscheme +58 -0
  240. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/Pods-RnLiveness3d.xcscheme +58 -0
  241. package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/xcschememanagement.plist +46 -0
  242. package/ios/Pods/Target Support Files/OICommons/OICommons-xcframeworks.sh +121 -0
  243. package/ios/Pods/Target Support Files/OICommons/OICommons.debug.xcconfig +15 -0
  244. package/ios/Pods/Target Support Files/OICommons/OICommons.release.xcconfig +15 -0
  245. package/ios/Pods/Target Support Files/OIComponents/OIComponents-xcframeworks.sh +121 -0
  246. package/ios/Pods/Target Support Files/OIComponents/OIComponents.debug.xcconfig +16 -0
  247. package/ios/Pods/Target Support Files/OIComponents/OIComponents.release.xcconfig +16 -0
  248. package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D-xcframeworks.sh +121 -0
  249. package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D.debug.xcconfig +16 -0
  250. package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D.release.xcconfig +16 -0
  251. package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT-xcframeworks.sh +121 -0
  252. package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT.debug.xcconfig +13 -0
  253. package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT.release.xcconfig +13 -0
  254. package/ios/Pods/Target Support Files/OINetwork/OINetwork-xcframeworks.sh +121 -0
  255. package/ios/Pods/Target Support Files/OINetwork/OINetwork.debug.xcconfig +16 -0
  256. package/ios/Pods/Target Support Files/OINetwork/OINetwork.release.xcconfig +16 -0
  257. package/ios/Pods/Target Support Files/OISecurity/OISecurity-xcframeworks.sh +121 -0
  258. package/ios/Pods/Target Support Files/OISecurity/OISecurity.debug.xcconfig +16 -0
  259. package/ios/Pods/Target Support Files/OISecurity/OISecurity.release.xcconfig +16 -0
  260. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-Info.plist +26 -0
  261. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-acknowledgements.markdown +23 -0
  262. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-acknowledgements.plist +79 -0
  263. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-dummy.m +5 -0
  264. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-umbrella.h +16 -0
  265. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.debug.xcconfig +13 -0
  266. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.modulemap +6 -0
  267. package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.release.xcconfig +13 -0
  268. package/ios/RnLiveness3d.m +8 -3
  269. package/ios/RnLiveness3d.swift +198 -114
  270. package/ios/RnLiveness3d.xcworkspace/xcuserdata/gabrielcatelligoulart.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  271. package/lib/commonjs/@types/ArgsType.js +4 -0
  272. package/lib/commonjs/@types/FontsType.js +2 -0
  273. package/lib/commonjs/@types/FontsType.js.map +1 -0
  274. package/lib/commonjs/@types/ResultType.js +2 -0
  275. package/lib/commonjs/@types/ResultType.js.map +1 -0
  276. package/lib/commonjs/@types/ResultTypes.js +6 -0
  277. package/lib/commonjs/@types/ResultTypes.js.map +1 -0
  278. package/lib/commonjs/@types/TextsType.js +2 -0
  279. package/lib/commonjs/@types/TextsType.js.map +1 -0
  280. package/lib/commonjs/@types/ThemeType.js +2 -0
  281. package/lib/commonjs/@types/ThemeType.js.map +1 -0
  282. package/lib/commonjs/actions/BackButton.js +35 -0
  283. package/lib/commonjs/actions/BackButton.js.map +1 -0
  284. package/lib/commonjs/actions/ContinueButton.js +43 -0
  285. package/lib/commonjs/actions/ContinueButton.js.map +1 -0
  286. package/lib/commonjs/actions/PermissionButton.js +35 -0
  287. package/lib/commonjs/actions/PermissionButton.js.map +1 -0
  288. package/lib/commonjs/context/Liveness3DContext.js +104 -0
  289. package/lib/commonjs/context/Liveness3DContext.js.map +1 -0
  290. package/lib/commonjs/helpers/Liveness3DHelper.js +34 -0
  291. package/lib/commonjs/helpers/Liveness3DHelper.js.map +1 -0
  292. package/lib/commonjs/index.js +121 -78
  293. package/lib/commonjs/index.js.map +1 -1
  294. package/lib/commonjs/interfaces/Liveness3DHelper.js +6 -0
  295. package/lib/commonjs/interfaces/Liveness3DHelper.js.map +1 -0
  296. package/lib/commonjs/interfaces/OitiBackButtonInterface.js +6 -0
  297. package/lib/commonjs/interfaces/OitiBackButtonInterface.js.map +1 -0
  298. package/lib/commonjs/interfaces/OitiContinueButton.js +6 -0
  299. package/lib/commonjs/interfaces/OitiContinueButton.js.map +1 -0
  300. package/lib/commonjs/interfaces/OitiPermissionButtonInterface.js +6 -0
  301. package/lib/commonjs/interfaces/OitiPermissionButtonInterface.js.map +1 -0
  302. package/lib/commonjs/screens/Liveness3D/InstructionsView.js +4 -4
  303. package/lib/commonjs/screens/Liveness3D/InstructionsView.js.map +1 -1
  304. package/lib/commonjs/utils/continueButton.js +17 -0
  305. package/lib/commonjs/utils/continueButton.js.map +1 -0
  306. package/lib/commonjs/utils/permissions.js +30 -0
  307. package/lib/commonjs/utils/permissions.js.map +1 -0
  308. package/lib/commonjs/utils/screenStore.js +12 -0
  309. package/lib/commonjs/utils/screenStore.js.map +1 -0
  310. package/lib/module/@types/ArgsType.js +1 -1
  311. package/lib/module/@types/FontsType.js +2 -0
  312. package/lib/module/@types/FontsType.js.map +1 -0
  313. package/lib/module/@types/ResultType.js +2 -0
  314. package/lib/module/@types/ResultType.js.map +1 -0
  315. package/lib/module/@types/ResultTypes.js +2 -0
  316. package/lib/module/@types/ResultTypes.js.map +1 -0
  317. package/lib/module/@types/TextsType.js +2 -0
  318. package/lib/module/@types/TextsType.js.map +1 -0
  319. package/lib/module/@types/ThemeType.js +2 -0
  320. package/lib/module/@types/ThemeType.js.map +1 -0
  321. package/lib/module/actions/BackButton.js +26 -0
  322. package/lib/module/actions/BackButton.js.map +1 -0
  323. package/lib/module/actions/ContinueButton.js +34 -0
  324. package/lib/module/actions/ContinueButton.js.map +1 -0
  325. package/lib/module/actions/PermissionButton.js +26 -0
  326. package/lib/module/actions/PermissionButton.js.map +1 -0
  327. package/lib/module/context/Liveness3DContext.js +92 -0
  328. package/lib/module/context/Liveness3DContext.js.map +1 -0
  329. package/lib/module/helpers/Liveness3DHelper.js +25 -0
  330. package/lib/module/helpers/Liveness3DHelper.js.map +1 -0
  331. package/lib/module/index.js +97 -75
  332. package/lib/module/index.js.map +1 -1
  333. package/lib/module/interfaces/Liveness3DHelper.js +2 -0
  334. package/lib/module/interfaces/Liveness3DHelper.js.map +1 -0
  335. package/lib/module/interfaces/OitiBackButtonInterface.js +2 -0
  336. package/lib/module/interfaces/OitiBackButtonInterface.js.map +1 -0
  337. package/lib/module/interfaces/OitiContinueButton.js +2 -0
  338. package/lib/module/interfaces/OitiContinueButton.js.map +1 -0
  339. package/lib/module/interfaces/OitiPermissionButtonInterface.js +2 -0
  340. package/lib/module/interfaces/OitiPermissionButtonInterface.js.map +1 -0
  341. package/lib/module/screens/Liveness3D/InstructionsView.js +4 -4
  342. package/lib/module/screens/Liveness3D/InstructionsView.js.map +1 -1
  343. package/lib/module/utils/continueButton.js +10 -0
  344. package/lib/module/utils/continueButton.js.map +1 -0
  345. package/lib/module/utils/permissions.js +21 -0
  346. package/lib/module/utils/permissions.js.map +1 -0
  347. package/lib/module/utils/screenStore.js +5 -0
  348. package/lib/module/utils/screenStore.js.map +1 -0
  349. package/lib/typescript/@types/ArgsType.d.ts +9 -9
  350. package/lib/typescript/@types/ArgsType.d.ts.map +1 -1
  351. package/lib/typescript/@types/FontsType.d.ts +12 -0
  352. package/lib/typescript/@types/FontsType.d.ts.map +1 -0
  353. package/lib/typescript/@types/ResultType.d.ts +13 -0
  354. package/lib/typescript/@types/ResultType.d.ts.map +1 -0
  355. package/lib/typescript/@types/ResultTypes.d.ts +6 -0
  356. package/lib/typescript/@types/ResultTypes.d.ts.map +1 -0
  357. package/lib/typescript/@types/TextsType.d.ts +36 -0
  358. package/lib/typescript/@types/TextsType.d.ts.map +1 -0
  359. package/lib/typescript/@types/ThemeType.d.ts +48 -0
  360. package/lib/typescript/@types/ThemeType.d.ts.map +1 -0
  361. package/lib/typescript/actions/BackButton.d.ts +4 -0
  362. package/lib/typescript/actions/BackButton.d.ts.map +1 -0
  363. package/lib/typescript/actions/ContinueButton.d.ts +4 -0
  364. package/lib/typescript/actions/ContinueButton.d.ts.map +1 -0
  365. package/lib/typescript/actions/PermissionButton.d.ts +4 -0
  366. package/lib/typescript/actions/PermissionButton.d.ts.map +1 -0
  367. package/lib/typescript/context/Liveness3DContext.d.ts +28 -0
  368. package/lib/typescript/context/Liveness3DContext.d.ts.map +1 -0
  369. package/lib/typescript/helpers/Liveness3DHelper.d.ts +4 -0
  370. package/lib/typescript/helpers/Liveness3DHelper.d.ts.map +1 -0
  371. package/lib/typescript/index.d.ts +21 -8
  372. package/lib/typescript/index.d.ts.map +1 -1
  373. package/lib/typescript/interfaces/Liveness3DHelper.d.ts +7 -0
  374. package/lib/typescript/interfaces/Liveness3DHelper.d.ts.map +1 -0
  375. package/lib/typescript/interfaces/OitiBackButtonInterface.d.ts +6 -0
  376. package/lib/typescript/interfaces/OitiBackButtonInterface.d.ts.map +1 -0
  377. package/lib/typescript/interfaces/OitiContinueButton.d.ts +6 -0
  378. package/lib/typescript/interfaces/OitiContinueButton.d.ts.map +1 -0
  379. package/lib/typescript/interfaces/OitiPermissionButtonInterface.d.ts +6 -0
  380. package/lib/typescript/interfaces/OitiPermissionButtonInterface.d.ts.map +1 -0
  381. package/lib/typescript/screens/Liveness3D/InstructionsView.d.ts +1 -0
  382. package/lib/typescript/screens/Liveness3D/InstructionsView.d.ts.map +1 -1
  383. package/lib/typescript/screens/PermissionView.d.ts +1 -0
  384. package/lib/typescript/screens/PermissionView.d.ts.map +1 -1
  385. package/lib/typescript/utils/continueButton.d.ts +2 -0
  386. package/lib/typescript/utils/continueButton.d.ts.map +1 -0
  387. package/lib/typescript/utils/permissions.d.ts +4 -0
  388. package/lib/typescript/utils/permissions.d.ts.map +1 -0
  389. package/lib/typescript/utils/screenStore.d.ts +5 -0
  390. package/lib/typescript/utils/screenStore.d.ts.map +1 -0
  391. package/oiti-rn-liveness3d.podspec +2 -1
  392. package/package.json +3 -6
  393. package/src/@types/ArgsType.ts +10 -10
  394. package/src/@types/FontsType.ts +22 -0
  395. package/src/@types/ResultType.ts +13 -0
  396. package/src/@types/ResultTypes.ts +6 -0
  397. package/src/@types/TextsType.ts +41 -0
  398. package/src/@types/ThemeType.ts +64 -0
  399. package/src/actions/BackButton.tsx +27 -0
  400. package/src/actions/ContinueButton.tsx +35 -0
  401. package/src/actions/PermissionButton.tsx +27 -0
  402. package/src/context/Liveness3DContext.tsx +122 -0
  403. package/src/helpers/Liveness3DHelper.tsx +24 -0
  404. package/src/index.tsx +120 -87
  405. package/src/interfaces/Liveness3DHelper.tsx +7 -0
  406. package/src/interfaces/OitiBackButtonInterface.tsx +6 -0
  407. package/src/interfaces/OitiContinueButton.tsx +6 -0
  408. package/src/interfaces/OitiPermissionButtonInterface.tsx +6 -0
  409. package/src/screens/Liveness3D/InstructionsView.tsx +8 -8
  410. package/src/utils/continueButton.tsx +12 -0
  411. package/src/utils/permissions.tsx +30 -0
  412. package/src/utils/screenStore.tsx +4 -0
package/src/index.tsx CHANGED
@@ -1,8 +1,15 @@
1
- import React, { FC, useEffect, useState } from 'react';
2
- import { NativeModules, Platform, PermissionsAndroid } from 'react-native';
1
+ import React, { FC } from 'react';
2
+ import { NativeModules, 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';
6
+ import type { onErrorType, onSuccessType } from './@types/ResultType';
7
+ import {
8
+ Liveness3DProvider,
9
+ SCREEN,
10
+ useLiveness3DContext,
11
+ } from './context/Liveness3DContext';
12
+ import { Liveness3DHelper } from './helpers/Liveness3DHelper';
6
13
 
7
14
  const LINKING_ERROR =
8
15
  `The package '@oiti/rn-liveness3d' doesn't seem to be linked. Make sure: \n\n` +
@@ -10,12 +17,7 @@ const LINKING_ERROR =
10
17
  '- You rebuilt the app after installing the package\n' +
11
18
  '- You are not using Expo Go\n';
12
19
 
13
- const SCREEN = Object.freeze({
14
- INSTRUCTION_VIEW: 1,
15
- PERMISSION_VIEW: 2,
16
- } as const);
17
-
18
- const RnLiveness3d = NativeModules.RnLiveness3d
20
+ export const RnLiveness3d = NativeModules.RnLiveness3d
19
21
  ? NativeModules.RnLiveness3d
20
22
  : new Proxy(
21
23
  {},
@@ -28,49 +30,35 @@ const RnLiveness3d = NativeModules.RnLiveness3d
28
30
 
29
31
  export function startLiveness3d(
30
32
  options: ArgsType,
31
- loading?: any
32
- ): Promise<any> {
33
+ loading?: LoadingType
34
+ ): Promise<onErrorType | onSuccessType> {
33
35
  let args: ArgsType = {
34
36
  appkey: options?.appkey === undefined ? '' : options?.appkey,
37
+ ticket: options?.ticket,
35
38
  environment:
36
- options?.environment === undefined ? '.HML' : options?.environment,
37
- baseUrl: options?.baseUrl === undefined ? '' : options?.baseUrl,
38
- apparence: {
39
- backgroundColor:
40
- options?.apparence?.backgroundColor === ''
41
- ? '#1E1E1E'
42
- : options?.apparence?.backgroundColor,
43
- loadingColor:
44
- options?.apparence?.loadingColor === ''
45
- ? '#05D758'
46
- : options?.apparence?.loadingColor,
47
- },
48
- liveness3Dtext: options.liveness3Dtext || [],
39
+ options?.environment === undefined ? 'HML' : options?.environment,
40
+ liveness3Dtext: options?.liveness3Dtext || {},
41
+ theme: options?.theme || {},
42
+ fonts: options?.fonts || {},
49
43
  loading: loading,
50
44
  };
51
45
 
52
46
  if (Platform.OS === 'android') {
53
47
  return RnLiveness3d.startliveness3d(
54
48
  args.appkey,
55
- loading?.type,
56
- loading?.size * 200,
57
- loading?.backgroundColor,
58
- loading?.loadingColor
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
59
57
  );
60
58
  }
61
-
62
59
  return RnLiveness3d.startliveness3d(args);
63
60
  }
64
61
 
65
- export function logEvent3D(name: string, appkey: string): Promise<any> {
66
- if (Platform.OS === 'ios') {
67
- return RnLiveness3d.logevent({ event: name, appkey: appkey });
68
- } else {
69
- console.log(name, appkey);
70
- return RnLiveness3d.logevent(name, appkey);
71
- }
72
- }
73
-
74
62
  export function checkIosPermission(): Promise<any> {
75
63
  return RnLiveness3d.checkiospermission({ p: 'granted' });
76
64
  }
@@ -78,52 +66,74 @@ export function checkIosPermissionGranted(): Promise<any> {
78
66
  return RnLiveness3d.checkpermissiongranted({ p: 'granted' });
79
67
  }
80
68
 
81
- const PERMISSIONS_REQUEST: any = PermissionsAndroid.PERMISSIONS.CAMERA;
69
+ export function checkcamerapermissionAndroid(): Promise<any> {
70
+ return RnLiveness3d.checkcamerapermission();
71
+ }
72
+ export function askcamerapermissionAndroid(): Promise<any> {
73
+ return RnLiveness3d.askcamerapermission();
74
+ }
82
75
 
83
- const requestCameraPermission = async (
76
+ export const requestCameraPermission = async (
84
77
  options: ArgsType,
78
+ onSuccess: (result: onSuccessType) => void,
79
+ onError: (error: onErrorType) => void,
85
80
  loading?: LoadingType
86
81
  ) => {
87
82
  if (Platform.OS === 'ios') {
88
- checkIosPermission().then((result) => {
89
- if (result === 'true') {
90
- return RnLiveness3d.startliveness3d(options);
83
+ checkIosPermission().then(async (result) => {
84
+ if (result === true) {
85
+ await startLiveness3d(options, loading)
86
+ .then((result) => {
87
+ if (Platform.OS == 'android') {
88
+ //@ts-ignore
89
+ onSuccess(JSON.parse(result) as onSuccessType);
90
+ } else {
91
+ onSuccess(result as onSuccessType);
92
+ }
93
+ })
94
+ .catch((error) => onError(error as onErrorType));
91
95
  }
92
- if (result === 'false') {
96
+ if (result === false) {
93
97
  return;
94
98
  }
95
99
  });
96
100
  }
97
- try {
98
- const granted = await PermissionsAndroid.request(PERMISSIONS_REQUEST, {
99
- title: '',
100
- message: 'Precisamos acessar sua câmera',
101
- buttonNeutral: 'Ver Depois',
102
- buttonNegative: 'Cancelar',
103
- buttonPositive: 'OK',
104
- });
105
101
 
106
- if (granted === PermissionsAndroid.RESULTS.GRANTED) {
107
- startLiveness3d(options, loading).then((result) => console.log(result));
108
- } else {
109
- console.log('Camera permission denied');
102
+ if (Platform.OS === 'android') {
103
+ try {
104
+ await askcamerapermissionAndroid().then(async (res) => {
105
+ if (res === true) {
106
+ await startLiveness3d(options, loading)
107
+ .then((result) => {
108
+ if (Platform.OS == 'android') {
109
+ //@ts-ignore
110
+ onSuccess(JSON.parse(result) as onSuccessType);
111
+ } else {
112
+ onSuccess(result as onSuccessType);
113
+ }
114
+ })
115
+ .catch((error) => onError(error as onErrorType));
116
+ } else {
117
+ console.log('Camera permission denied');
118
+ }
119
+ });
120
+ } catch (err) {
121
+ console.warn(err);
110
122
  }
111
- } catch (err) {
112
- console.warn(err);
113
123
  }
114
124
  };
115
125
 
116
126
  async function checkPermission(): Promise<boolean> {
117
127
  if (Platform.OS === 'ios') {
118
128
  const grantediso = await checkIosPermissionGranted();
119
- if (grantediso === 'true') {
129
+ if (grantediso === true) {
120
130
  return true;
121
131
  }
122
- if (grantediso === 'false') {
132
+ if (grantediso === false) {
123
133
  return false;
124
134
  }
125
135
  }
126
- const granted = await PermissionsAndroid.check(PERMISSIONS_REQUEST);
136
+ const granted = await checkcamerapermissionAndroid();
127
137
  if (granted) {
128
138
  return true;
129
139
  } else {
@@ -136,19 +146,33 @@ export function Liveness3dView({
136
146
  CustomPermissionView,
137
147
  options,
138
148
  loading,
149
+ onSuccess,
150
+ onError,
151
+ onBack,
139
152
  }: {
140
- CustomInstructionView: FC;
141
- CustomPermissionView: FC;
153
+ CustomInstructionView?: FC;
154
+ CustomPermissionView?: FC;
142
155
  options: ArgsType;
143
156
  loading: LoadingType;
157
+ onSuccess: (result: onSuccessType) => void;
158
+ onError: (error: onErrorType) => void;
159
+ onBack: () => void;
144
160
  }) {
145
161
  return (
146
- <GetIntructionView
147
- CustomInstructionView={CustomInstructionView}
148
- CustomPermissionView={CustomPermissionView}
149
- options={options}
150
- loading={loading}
151
- />
162
+ //@ts-ignore
163
+ <Liveness3DProvider onError={onError} onSuccess={onSuccess}>
164
+ <Liveness3DHelper options={options} onError={onError}>
165
+ <GetIntructionView
166
+ CustomInstructionView={CustomInstructionView}
167
+ CustomPermissionView={CustomPermissionView}
168
+ options={options}
169
+ loading={loading}
170
+ onSuccess={onSuccess}
171
+ onError={onError}
172
+ onBack={onBack}
173
+ />
174
+ </Liveness3DHelper>
175
+ </Liveness3DProvider>
152
176
  );
153
177
  }
154
178
 
@@ -157,18 +181,24 @@ export function GetIntructionView({
157
181
  CustomPermissionView,
158
182
  options,
159
183
  loading,
184
+ onSuccess,
185
+ onError,
186
+ onBack,
160
187
  }: {
161
- CustomInstructionView: FC;
162
- CustomPermissionView: FC;
188
+ CustomInstructionView?: FC;
189
+ CustomPermissionView?: FC;
163
190
  options: ArgsType;
164
191
  loading: LoadingType;
192
+ onSuccess: (result: onSuccessType) => void;
193
+ onError: (error: onErrorType) => void;
194
+ onBack: () => void;
165
195
  }) {
166
- const [screen, setScreen] = useState(1);
196
+ const { setScreen, screen } = useLiveness3DContext();
167
197
 
168
- function onBack() {
198
+ function onBackScreen() {
169
199
  switch (screen) {
170
200
  case SCREEN.INSTRUCTION_VIEW:
171
- setScreen(1);
201
+ onBack();
172
202
  break;
173
203
  case SCREEN.PERMISSION_VIEW:
174
204
  setScreen(1);
@@ -177,43 +207,46 @@ export function GetIntructionView({
177
207
  }
178
208
  async function verifyPermission() {
179
209
  if (screen === 1) {
180
- logEvent3D('ACTION_L3FT_instructionContinue', options.appkey);
181
210
  if ((await checkPermission()) === true) {
182
- startLiveness3d(options, loading).then((result) => console.log(result));
211
+ startLiveness3d(options, loading)
212
+ .then((result) => {
213
+ if (Platform.OS == 'android') {
214
+ //@ts-ignore
215
+ onSuccess(JSON.parse(result) as onSuccessType);
216
+ } else {
217
+ onSuccess(result as onSuccessType);
218
+ }
219
+ })
220
+ .catch((error) => onError(error as onErrorType));
183
221
  } else {
184
222
  setScreen(2);
185
223
  }
186
224
  }
187
225
  if (screen === 2) {
188
- logEvent3D('ACTION_L3FT_permissionVerify', options.appkey);
189
- await requestCameraPermission(options);
226
+ await requestCameraPermission(options, onSuccess, onError);
190
227
  setScreen(1);
191
228
  }
192
229
  }
193
- useEffect(() => {
194
- if (screen === 1) {
195
- logEvent3D('STATE_L3FT_instructionView', options.appkey);
196
- }
197
- if (screen === 2) {
198
- logEvent3D('STATE_L3FT_permissionView', options.appkey);
199
- }
200
- });
201
230
 
202
231
  return (
203
232
  <>
204
233
  {screen === 1 &&
205
234
  (!CustomInstructionView ? (
206
- <InstructionsView onVerify={verifyPermission} onBack={onBack} />
235
+ <InstructionsView onVerify={verifyPermission} onBack={onBackScreen} />
207
236
  ) : (
208
237
  CustomInstructionView
209
238
  ))}
210
239
 
211
240
  {screen === 2 &&
212
241
  (!CustomPermissionView ? (
213
- <PermissionView onVerify={verifyPermission} onBack={onBack} />
242
+ <PermissionView onVerify={verifyPermission} onBack={onBackScreen} />
214
243
  ) : (
215
244
  CustomPermissionView
216
245
  ))}
217
246
  </>
218
247
  );
219
248
  }
249
+
250
+ export { ContinueButton } from './actions/ContinueButton';
251
+ export { PermissionButton } from './actions/PermissionButton';
252
+ export { BackButton } from './actions/BackButton';
@@ -0,0 +1,7 @@
1
+ import { onErrorType } from '../@types/ResultType';
2
+ import { ArgsType } from '../@types/ArgsType';
3
+
4
+ export interface Liveness3DHelperInterface {
5
+ options: ArgsType;
6
+ onError: (error: onErrorType) => void;
7
+ }
@@ -0,0 +1,6 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { TouchableOpacityProps } from 'react-native';
3
+
4
+ export interface OitiBackButtonInterface extends TouchableOpacityProps {
5
+ children: ReactNode;
6
+ }
@@ -0,0 +1,6 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { TouchableOpacityProps } from 'react-native';
3
+
4
+ export interface OitiContinueButtonInterface extends TouchableOpacityProps {
5
+ children: ReactNode;
6
+ }
@@ -0,0 +1,6 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { TouchableOpacityProps } from 'react-native';
3
+
4
+ export interface OitiPermissionButtonInterface extends TouchableOpacityProps {
5
+ children: ReactNode;
6
+ }
@@ -25,13 +25,13 @@ export default function InstructionsView({
25
25
  }) {
26
26
  return (
27
27
  <View style={styles.container}>
28
+ <TouchableOpacity onPress={() => onBack()} style={styles.navigationBar}>
29
+ <Image
30
+ source={require('../../assets/images/left-arrow.png')}
31
+ style={styles.leftArrow}
32
+ />
33
+ </TouchableOpacity>
28
34
  <View style={styles.boxImg}>
29
- <TouchableOpacity onPress={() => onBack()} style={styles.navigationBar}>
30
- <Image
31
- source={require('../../assets/images/left-arrow.png')}
32
- style={styles.leftArrow}
33
- />
34
- </TouchableOpacity>
35
35
  <View style={styles.imgContainer}>
36
36
  <Image
37
37
  source={require('../../assets/images/img_face.png')}
@@ -193,8 +193,8 @@ const styles = StyleSheet.create({
193
193
  leftArrow: {
194
194
  marginTop: normalize(70, scaleH),
195
195
  marginLeft: 20,
196
- width: 25,
197
- height: 25,
196
+ width: normalize(25, scaleW),
197
+ height: normalize(35, scaleH),
198
198
  },
199
199
  imgFace: {
200
200
  height: '100%',
@@ -0,0 +1,12 @@
1
+ import { verifyPermission } from './permissions';
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
+ });
12
+ };
@@ -0,0 +1,30 @@
1
+ import { NativeModules, Platform } from 'react-native';
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' });
24
+ }
25
+
26
+ export function askPermission(): Promise<boolean> {
27
+ return Platform.OS === 'android'
28
+ ? RnLiveness3d.askcamerapermission()
29
+ : RnLiveness3d.checkpermissiongranted({ p: 'granted' });
30
+ }
@@ -0,0 +1,4 @@
1
+ export const SCREEN = Object.freeze({
2
+ INSTRUCTION_VIEW: 1,
3
+ PERMISSION_VIEW: 2,
4
+ } as const);