@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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"permissions.d.ts","sourceRoot":"","sources":["../../../src/utils/permissions.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,KASpB,CAAC;AAQN,wBAAgB,gBAAgB,IAAI,OAAO,CAAC,OAAO,CAAC,CAInD;AAED,wBAAgB,aAAa,IAAI,OAAO,CAAC,OAAO,CAAC,CAIhD"}
@@ -0,0 +1,5 @@
1
+ export declare const SCREEN: Readonly<{
2
+ readonly INSTRUCTION_VIEW: 1;
3
+ readonly PERMISSION_VIEW: 2;
4
+ }>;
5
+ //# sourceMappingURL=screenStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"screenStore.d.ts","sourceRoot":"","sources":["../../../src/utils/screenStore.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;EAGR,CAAC"}
@@ -13,12 +13,13 @@ Pod::Spec.new do |s|
13
13
 
14
14
  s.platforms = { :ios => "10.0" }
15
15
  s.source = { :git => "https://github.com/oititec/rn-liveness3d.git", :tag => "#{s.version}" }
16
+ s.source = { :git => "https://github.com/oititec/ios-artifactory.git" }
16
17
 
17
18
  s.source_files = "ios/**/*.{h,m,mm,swift}"
18
19
 
19
20
  s.dependency "React-Core"
20
21
 
21
- s.ios.dependency 'OILiveness3D', '1.0.4'
22
+ s.ios.dependency 'OILiveness3D', '2.0.2'
22
23
 
23
24
  # Don't install the dependencies when we run `pod install` in the old architecture.
24
25
  if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oiti/rn-liveness3d",
3
- "version": "1.1.2",
3
+ "version": "2.0.0",
4
4
  "description": "test",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -56,7 +56,7 @@
56
56
  "@react-native-community/eslint-config": "^3.0.2",
57
57
  "@release-it/conventional-changelog": "^5.0.0",
58
58
  "@types/jest": "^28.1.2",
59
- "@types/react": "~17.0.21",
59
+ "@types/react": "17.0.21",
60
60
  "@types/react-native": "0.70.0",
61
61
  "commitlint": "^17.0.2",
62
62
  "eslint": "^8.4.1",
@@ -66,14 +66,11 @@
66
66
  "pod-install": "^0.1.0",
67
67
  "prettier": "^2.0.5",
68
68
  "react": "18.2.0",
69
- "react-native": "0.71.4",
69
+ "react-native": "0.70.0",
70
70
  "react-native-builder-bob": "^0.20.0",
71
71
  "release-it": "^15.0.0",
72
72
  "typescript": "^4.5.2"
73
73
  },
74
- "resolutions": {
75
- "@types/react": "17.0.21"
76
- },
77
74
  "peerDependencies": {
78
75
  "react": "*",
79
76
  "react-native": "*"
@@ -1,15 +1,15 @@
1
+ import { FontsType } from './FontsType';
2
+ import { TextsType } from './TextsType';
3
+ import { ThemeType } from './ThemeType';
4
+
1
5
  export type ArgsType = {
2
6
  appkey: string;
3
- environment: '.HML' | '.PRD';
4
- baseUrl: string;
5
- apparence: ApparenceType;
6
- liveness3Dtext: object;
7
- loading: LoadingType;
8
- };
9
-
10
- export type ApparenceType = {
11
- backgroundColor: string | undefined;
12
- loadingColor: string | undefined;
7
+ ticket?: string | null;
8
+ environment: 'HML' | 'PRD';
9
+ liveness3Dtext?: TextsType;
10
+ theme?: ThemeType;
11
+ fonts?: FontsType;
12
+ loading?: LoadingType;
13
13
  };
14
14
 
15
15
  export type LoadingType = {
@@ -0,0 +1,22 @@
1
+ export type FontsType = {
2
+ /* Guidance */
3
+ guidanceCustomizationHeaderFont?: string;
4
+ guidanceCustomizationSubtextFont?: string;
5
+
6
+ /* Button */
7
+ guidanceCustomizationButtonFont?: string;
8
+
9
+ /* Ready Screen */
10
+ readyScreenCustomizationHeaderFont?: string;
11
+ readyScreenCustomizationSubtextFont?: string;
12
+
13
+ /* Retry Screen */
14
+ retryScreenCustomizationHeaderFont?: string;
15
+ retryScreenCustomizationSubtextFont?: string;
16
+
17
+ /* Result Screen */
18
+ resultScreenCustomizationMessageFont?: string;
19
+
20
+ /* Feedback */
21
+ feedbackCustomizationTextFont?: string;
22
+ };
@@ -0,0 +1,13 @@
1
+ export type onSuccessType = {
2
+ valid: boolean;
3
+ cause: string;
4
+ codId: string;
5
+ protocol: string;
6
+ blob: string;
7
+ };
8
+
9
+ export type onErrorType = {
10
+ code: string;
11
+ message: string;
12
+ error?: Error;
13
+ };
@@ -0,0 +1,6 @@
1
+ import { onErrorType, onSuccessType } from './ResultType';
2
+
3
+ export type ResultType = {
4
+ onSuccess: (result: onSuccessType) => void;
5
+ onError: (error: onErrorType) => void;
6
+ };
@@ -0,0 +1,41 @@
1
+ export type TextsType = {
2
+ READY_HEADER_1?: string;
3
+ READY_HEADER_2?: string;
4
+ READY_MESSAGE_1?: string;
5
+ READY_MESSAGE_2?: string;
6
+ READY_BUTTON?: string;
7
+
8
+ /* Retry Screen */
9
+ RETRY_HEADER?: string;
10
+ RETRY_SUBHEADER?: string;
11
+ RETRY_YOUR_PICTURE?: string;
12
+ RETRY_IDEAL_PICTURE?: string;
13
+ RETRY_MESSAGE_SMILE?: string;
14
+ RETRY_MESSAGE_LIGHTING?: string;
15
+ RETRY_MESSAGE_CONTRAST?: string;
16
+ RETRY_BUTTON?: string;
17
+
18
+ /* Result Screen */
19
+ RESULT_UPLOAD_MESSAGE?: string;
20
+ RESULT_SUCCESS_MESSAGE?: string;
21
+
22
+ /* Feedback */
23
+ FEEDBACK_CENTER_FACE?: string;
24
+ FEEDBACK_FACE_NOT_FOUND?: string;
25
+ FEEDBACK_FACE_NOT_LOOKING_STRAIGHT_AHEAD?: string;
26
+ FEEDBACK_POSITION_FACE_STRAIGHT_IN_OVAL?: string;
27
+ FEEDBACK_FACE_NOT_UPRIGHT?: string;
28
+ FEEDBACK_HOLD_STEADY?: string;
29
+ FEEDBACK_MOVE_PHONE_AWAY?: string;
30
+ FEEDBACK_MOVE_PHONE_CLOSER?: string;
31
+ FEEDBACK_MOVE_PHONE_TO_EYE_LEVEL?: string;
32
+ FEEDBACK_USE_EVEN_LIGHTING?: string;
33
+ FEEDBACK_FRAME_YOUR_FACE?: string;
34
+ FEEDBACK_HOLD_STEADY_1?: string;
35
+ FEEDBACK_HOLD_STEADY_2?: string;
36
+ FEEDBACK_HOLD_STEADY_3?: string;
37
+ FEEDBACK_REMOVE_DARK_GLASSES?: string;
38
+ FEEDBACK_NEUTRAL_EXPRESSION?: string;
39
+ FEEDBACK_CONDITIONS_TOO_BRIGHT?: string;
40
+ FEEDBACK_BRIGHTEN_YOUR_ENVIRONMENT?: string;
41
+ };
@@ -0,0 +1,64 @@
1
+ export type ThemeType = {
2
+ /* Guidance */
3
+ guidanceCustomizationBackgroundColors?: string;
4
+ guidanceCustomizationForegroundColor?: string;
5
+
6
+ /* Button */
7
+ guidanceCustomizationButtonTextNormalColor?: string;
8
+ guidanceCustomizationButtonBackgroundNormalColor?: string;
9
+ guidanceCustomizationButtonTextHighlightColor?: string;
10
+ guidanceCustomizationButtonBackgroundHighlightColor?: string;
11
+ guidanceCustomizationButtonTextDisabledColor?: string;
12
+ guidanceCustomizationButtonBackgroundDisabledColor?: string;
13
+ guidanceCustomizationButtonBorderColor?: string;
14
+ guidanceCustomizationButtonBorderWidth?: number;
15
+ guidanceCustomizationButtonCornerRadius?: number;
16
+
17
+ /* Ready Screen */
18
+ guidanceCustomizationReadyScreenHeaderTextColor?: string;
19
+ guidanceCustomizationReadyScreenSubtextTextColor?: string;
20
+
21
+ /* Retry Screen */
22
+ guidanceCustomizationRetryScreenHeaderTextColor?: string;
23
+ guidanceCustomizationRetryScreenSubtextTextColor?: string;
24
+ guidanceCustomizationRetryScreenImageBorderColor?: string;
25
+ guidanceCustomizationRetryScreenImageBorderWidth?: number;
26
+ guidanceCustomizationRetryScreenImageCornerRadius?: number;
27
+ guidanceCustomizationRetryScreenOvalStrokeColor?: string;
28
+ guidanceCustomizationReadyScreenOvalFillColor?: string;
29
+ guidanceCustomizationReadyScreenTextBackgroundColor?: string;
30
+ guidanceCustomizationReadyScreenTextBackgroundCornerRadius?: string;
31
+
32
+ /* Result Screen */
33
+ resultScreenCustomizationForegroundColor?: string;
34
+ resultScreenCustomizationBackgroundColors?: string;
35
+ resultScreenCustomizationActivityIndicatorColor?: string;
36
+ resultScreenCustomizationCustomActivityIndicatorRotationInterval?: string;
37
+ resultScreenCustomizationUploadProgressFillColor?: string;
38
+ resultScreenCustomizationUploadProgressTrackColor?: string;
39
+ resultScreenCustomizationResultAnimationBackgroundColor?: string;
40
+ resultScreenCustomizationResultAnimationForegroundColor?: string;
41
+
42
+ /* Oval */
43
+ ovalCustomizationStrokeWidth?: number;
44
+ ovalCustomizationStrokeColor?: string;
45
+ ovalCustomizationProgressStrokeWidth?: number;
46
+ ovalCustomizationProgressColor1?: string;
47
+ ovalCustomizationProgressColor2?: string;
48
+ ovalCustomizationProgressRadialOffset?: string;
49
+
50
+ /* Frame */
51
+ frameCustomizationBorderWidth?: number;
52
+ frameCustomizationCornerRadius?: number;
53
+ frameCustomizationBorderColor?: string;
54
+ frameCustomizationBackgroundColor?: string;
55
+ frameCustomizationElevation?: string;
56
+
57
+ /* Overlay */
58
+ overlayCustomizationBackgroundColor?: string;
59
+
60
+ /* Feedback */
61
+ feedbackCustomizationCornerRadius?: number;
62
+ feedbackCustomizationBackgroundColors?: string;
63
+ feedbackCustomizationTextColor?: string;
64
+ };
@@ -0,0 +1,27 @@
1
+ import React, { useRef } from 'react';
2
+ import { TouchableOpacity } from 'react-native';
3
+ import { useLiveness3DContext } from '../context/Liveness3DContext';
4
+ import { OitiBackButtonInterface } from '../interfaces/OitiBackButtonInterface';
5
+
6
+ export const BackButton: React.FC<OitiBackButtonInterface> = ({
7
+ children,
8
+ ...props
9
+ }) => {
10
+ const touchableOpacityRef = useRef(null);
11
+ const { onBack } = useLiveness3DContext();
12
+
13
+ const handlePress = () => {
14
+ onBack();
15
+ };
16
+
17
+ return (
18
+ //@ts-ignore
19
+ <TouchableOpacity
20
+ ref={touchableOpacityRef}
21
+ onPress={handlePress}
22
+ {...props}
23
+ >
24
+ {children}
25
+ </TouchableOpacity>
26
+ );
27
+ };
@@ -0,0 +1,35 @@
1
+ import React, { useRef } from 'react';
2
+ import { TouchableOpacity } from 'react-native';
3
+ import { useLiveness3DContext } from '../context/Liveness3DContext';
4
+ import { continueButton } from '../utils/continueButton';
5
+ import { OitiContinueButtonInterface } from '../interfaces/OitiContinueButton';
6
+
7
+ export const ContinueButton: React.FC<OitiContinueButtonInterface> = ({
8
+ children,
9
+ ...props
10
+ }) => {
11
+ const touchableOpacityRef = useRef(null);
12
+ const { setScreen, startLiveness } = useLiveness3DContext();
13
+
14
+ function onContinue() {
15
+ continueButton().then((result) => {
16
+ result === true && startLiveness();
17
+ result === false && setScreen(2);
18
+ });
19
+ }
20
+
21
+ const handlePress = () => {
22
+ onContinue();
23
+ };
24
+
25
+ return (
26
+ //@ts-ignore
27
+ <TouchableOpacity
28
+ ref={touchableOpacityRef}
29
+ onPress={handlePress}
30
+ {...props}
31
+ >
32
+ {children}
33
+ </TouchableOpacity>
34
+ );
35
+ };
@@ -0,0 +1,27 @@
1
+ import React, { useRef } from 'react';
2
+ import { TouchableOpacity } from 'react-native';
3
+ import { useLiveness3DContext } from '../context/Liveness3DContext';
4
+ import { OitiPermissionButtonInterface } from '../interfaces/OitiPermissionButtonInterface';
5
+
6
+ export const PermissionButton: React.FC<OitiPermissionButtonInterface> = ({
7
+ children,
8
+ ...props
9
+ }) => {
10
+ const touchableOpacityRef = useRef(null);
11
+ const { onAskPermission } = useLiveness3DContext();
12
+
13
+ const handlePress = () => {
14
+ onAskPermission();
15
+ };
16
+
17
+ return (
18
+ //@ts-ignore
19
+ <TouchableOpacity
20
+ ref={touchableOpacityRef}
21
+ onPress={handlePress}
22
+ {...props}
23
+ >
24
+ {children}
25
+ </TouchableOpacity>
26
+ );
27
+ };
@@ -0,0 +1,122 @@
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';
8
+
9
+ export const SCREEN = Object.freeze({
10
+ INSTRUCTION_VIEW: 1,
11
+ PERMISSION_VIEW: 2,
12
+ } as const);
13
+
14
+ interface Liveness3DContextType {
15
+ screen: number;
16
+ setScreen: React.Dispatch<React.SetStateAction<number>>;
17
+ navigation: any;
18
+ setNavigation: React.Dispatch<React.SetStateAction<any>>;
19
+ options: ArgsType | undefined;
20
+ setOptions: React.Dispatch<React.SetStateAction<ArgsType | undefined>>;
21
+ onLiveness3DError: (error: onErrorType) => void;
22
+ onLiveness3DSuccess: (result: onSuccessType) => void;
23
+ onBack: () => any;
24
+ onAskPermission: () => any;
25
+ startLiveness: () => any;
26
+ callbackView: string;
27
+ setCallbackView: React.Dispatch<React.SetStateAction<string>>;
28
+ }
29
+
30
+ const Liveness3DContext = createContext<Liveness3DContextType | undefined>(
31
+ undefined
32
+ );
33
+
34
+ export const Liveness3DProvider: FC<ResultType> = ({
35
+ children,
36
+ onError,
37
+ onSuccess,
38
+ }) => {
39
+ const [screen, setScreen] = useState<number>(1);
40
+ const [navigation, setNavigation] = useState<any>();
41
+ const [options, setOptions] = useState<ArgsType>();
42
+ const [callbackView, setCallbackView] = useState<string>('');
43
+
44
+ const onLiveness3DError = (error: onErrorType) => {
45
+ onError(error);
46
+ };
47
+
48
+ const onLiveness3DSuccess = (result: onSuccessType) => {
49
+ onSuccess(result);
50
+ };
51
+
52
+ function onBack() {
53
+ switch (screen) {
54
+ case SCREEN.INSTRUCTION_VIEW:
55
+ onLiveness3DError({ code: '0', message: 'RESULT_CANCELED' });
56
+ break;
57
+ case SCREEN.PERMISSION_VIEW:
58
+ setScreen(1);
59
+ break;
60
+ }
61
+ }
62
+
63
+ function startLiveness() {
64
+ 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
+ });
79
+ }
80
+ }
81
+ function onAskPermission() {
82
+ askPermission().then((result) => {
83
+ result === true && startLiveness();
84
+ result === false && setScreen(1);
85
+ });
86
+ }
87
+
88
+ const contextValue: Liveness3DContextType = {
89
+ screen,
90
+ setScreen,
91
+ navigation,
92
+ setNavigation,
93
+ onLiveness3DError,
94
+ onLiveness3DSuccess,
95
+ onBack,
96
+ options,
97
+ setOptions,
98
+ startLiveness,
99
+ onAskPermission,
100
+ callbackView,
101
+ setCallbackView,
102
+ };
103
+
104
+ return (
105
+ //@ts-ignore
106
+ <Liveness3DContext.Provider value={contextValue}>
107
+ {children}
108
+ </Liveness3DContext.Provider>
109
+ );
110
+ };
111
+
112
+ export const useLiveness3DContext = (): Liveness3DContextType => {
113
+ const context = useContext(Liveness3DContext);
114
+ if (!context) {
115
+ throw new Error(
116
+ 'useLiveness3DContext must be used within a Liveness3DProvider'
117
+ );
118
+ }
119
+ return context;
120
+ };
121
+
122
+ export default Liveness3DContext;
@@ -0,0 +1,24 @@
1
+ import React, { useEffect, type FC } from 'react';
2
+ import { useLiveness3DContext } from '../context/Liveness3DContext';
3
+ import type { Liveness3DHelperInterface } from '../interfaces/Liveness3DHelper';
4
+
5
+ export const Liveness3DHelper: FC<Liveness3DHelperInterface> = ({
6
+ children,
7
+ options,
8
+ onError,
9
+ }) => {
10
+ const { setNavigation, setOptions, setCallbackView } = useLiveness3DContext();
11
+
12
+ useEffect(() => {
13
+ if (
14
+ options.appkey === null ||
15
+ options.appkey === undefined ||
16
+ options.appkey === ''
17
+ ) {
18
+ onError({ code: '0', message: 'invalidAppKey' });
19
+ }
20
+ setOptions(options);
21
+ }, [options, onError, setNavigation, setOptions, setCallbackView]);
22
+
23
+ return <>{children}</>;
24
+ };