@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.
- package/README.md +33 -237
- package/android/build.gradle +4 -18
- package/android/settings.gradle +2 -2
- package/android/src/main/AndroidManifest.xml +3 -0
- package/android/src/main/java/br/com/oiti/rnliveness3d/RnLiveness3dModule.kt +198 -132
- package/android/src/main/java/br/com/oiti/rnliveness3d/theme/Liveness3DFonts.kt +44 -0
- package/android/src/main/java/br/com/oiti/rnliveness3d/theme/Liveness3DText.kt +68 -0
- package/android/src/main/java/br/com/oiti/rnliveness3d/theme/Liveness3DTheme.kt +147 -0
- package/ios/Podfile +2 -1
- package/ios/Podfile.lock +39 -0
- package/ios/Pods/Manifest.lock +24 -19
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/Info.plist +42 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Headers/OICommons-Swift.h +310 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Headers/OICommons.h +15 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Info.plist +0 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Inter-Bold.otf +0 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Inter-Medium.otf +0 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Inter-Regular.otf +0 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.abi.json +9 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.private.swiftinterface +1865 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.swiftinterface +1865 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/module.modulemap +11 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/OICommons +0 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Ubuntu-Bold.otf +0 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Ubuntu-Medium.otf +0 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Ubuntu-Regular.otf +0 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/dSYMs/OICommons.framework.dSYM/Contents/Info.plist +20 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/dSYMs/OICommons.framework.dSYM/Contents/Resources/DWARF/OICommons +0 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Headers/OICommons-Swift.h +616 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Headers/OICommons.h +15 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Info.plist +0 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Inter-Bold.otf +0 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Inter-Medium.otf +0 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Inter-Regular.otf +0 -0
- 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
- 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
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.swiftinterface +1865 -0
- 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
- 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
- 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
- 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
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/module.modulemap +11 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/OICommons +0 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Ubuntu-Bold.otf +0 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Ubuntu-Medium.otf +0 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Ubuntu-Regular.otf +0 -0
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/_CodeSignature/CodeResources +311 -0
- package/ios/Pods/OICommons/README.md +1 -0
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/Info.plist +42 -0
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Assets.car +0 -0
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Headers/OIComponents-Swift.h +406 -0
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Headers/OIComponents.h +18 -0
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Info.plist +0 -0
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.abi.json +9 -0
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.private.swiftinterface +724 -0
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.swiftinterface +724 -0
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/module.modulemap +11 -0
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/OIComponents +0 -0
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/dSYMs/OIComponents.framework.dSYM/Contents/Info.plist +20 -0
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/dSYMs/OIComponents.framework.dSYM/Contents/Resources/DWARF/OIComponents +0 -0
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/dSYMs/OIComponents.framework.dSYM/Contents/Resources/Swift/aarch64/OICommons.swiftinterface +1865 -0
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Assets.car +0 -0
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Headers/OIComponents-Swift.h +808 -0
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Headers/OIComponents.h +18 -0
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Info.plist +0 -0
- 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
- 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
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.swiftinterface +724 -0
- 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
- 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
- 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
- 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
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/module.modulemap +11 -0
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/OIComponents +0 -0
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/_CodeSignature/CodeResources +256 -0
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework.zip +0 -0
- package/ios/Pods/OIComponents/README.md +1 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/Info.plist +42 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Assets.car +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Headers/OILiveness3D-Swift.h +294 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Headers/OILiveness3D.h +18 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Info.plist +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.abi.json +9 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.private.swiftinterface +224 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.swiftinterface +224 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/module.modulemap +11 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/OILiveness3D +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Info.plist +20 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/DWARF/OILiveness3D +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OICommons.swiftinterface +1865 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OIComponents.swiftinterface +724 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OINetwork.swiftinterface +150 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OISecurity.swiftinterface +141 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Assets.car +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Headers/OILiveness3D-Swift.h +584 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Headers/OILiveness3D.h +18 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Info.plist +0 -0
- 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
- 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
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.swiftinterface +224 -0
- 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
- 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
- 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
- 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
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/module.modulemap +11 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/OILiveness3D +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/_CodeSignature/CodeResources +256 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework.zip +0 -0
- package/ios/Pods/OILiveness3D/README.md +32 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/Info.plist +40 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Assets.car +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/FaceTecSDK +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/GenericGuidanceContentLayout.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecPublicApi.h +1915 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecPublicStringKeys.h +104 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecSDK.h +16 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Info.plist +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Modules/module.modulemap +6 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/ReadyScreenGuidanceContentLayout.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/RetryScreenGuidanceContentLayout.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/SharedGuidanceLayout.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/9Uo-4b-JiE-view-Ae0-rb-UqS.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/CJ6-MX-bJp-view-8JL-Rc-0g1.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceScanViewController.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceTecAdditionalReviewViewController.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/FaceTecOCRConfirmationViewController.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/IDCaptureViewController.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/IDSelectionViewController.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/Info.plist +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/Pyw-6G-JSY-view-Zue-Eo-Q2U.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/alz-Ia-X3d-view-IKu-EI-Hug.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Storyboard.storyboardc/l2Q-cc-kD8-view-UUy-6c-meu.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/af.lproj/FaceTec.strings +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/ar.lproj/FaceTec.strings +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/attributions.txt +137 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/1f5b84f51ce0fcfbb76e904b7bcaa7560f601e1394a0b29367a09385312287eb +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/2b075ac1a6132b5b8a4c9ef0ba6b0cd84db7838aca9a000e50d907f40770a4ab +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/59cc2a9af81aaca2376702c2490650f4da2775fa673274db98aad41b7ef101c0 +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/5b63e98b991aedabb60665503384f30bffd939decf9433883b30b78011ee501a +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/66388dc76dc16bc6b76b682edd218a575bf45b9b +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/6b3133f0f39ff89a2a169d61176ee17cafacc5e288f334e2b64ee82892d11ccd +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/9077d16225f9314163ef1e7db6fc7d4088bb903d134bd95f23d5591ca4dfbfca +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/a74f2afb9d20f2375ccbd14e67c094b85c89ceb608f7cf8ae04f3f646a6c5672 +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/b501893e75f62ee1707643e35b21109927b07ed5b202321c961b424cbc2e4695 +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/dbd7a353f0130bb983d6ba05917e9be991d70e8f028df4b74e30bc6497ef7f71 +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/f2.xml +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/fd6d368a5658496536e2bfae170d1b823a3629b242cafc09784bfba4e56d8c80 +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/marker +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/vu0ilin6we3lrzo5f83f7qs2jul4aq7v4aoynrmch8zfvpi8ezrfyafa4t0fx87l +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/de.lproj/FaceTec.strings +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/el.lproj/FaceTec.strings +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/en.lproj/FaceTec.strings +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/es.lproj/FaceTec.strings +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/fr.lproj/FaceTec.strings +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/kk.lproj/FaceTec.strings +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/nb.lproj/FaceTec.strings +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/pt-BR.lproj/FaceTec.strings +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/ru.lproj/FaceTec.strings +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/strip-unused-architectures-from-target.sh +62 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/FaceTecSDK +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecPublicApi.h +1915 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecPublicStringKeys.h +104 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecSDK.h +16 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Info.plist +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Modules/module.modulemap +6 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/_CodeSignature/CodeResources +146 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework.zip +0 -0
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/Info.plist +42 -0
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Headers/OINetwork-Swift.h +265 -0
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Headers/OINetwork.h +15 -0
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Info.plist +0 -0
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.abi.json +9 -0
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.private.swiftinterface +150 -0
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.swiftinterface +150 -0
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/module.modulemap +11 -0
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/OINetwork +0 -0
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/dSYMs/OINetwork.framework.dSYM/Contents/Info.plist +20 -0
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/dSYMs/OINetwork.framework.dSYM/Contents/Resources/DWARF/OINetwork +0 -0
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/dSYMs/OINetwork.framework.dSYM/Contents/Resources/Swift/aarch64/OICommons.swiftinterface +1865 -0
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Headers/OINetwork-Swift.h +526 -0
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Headers/OINetwork.h +15 -0
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Info.plist +0 -0
- 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
- 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
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.swiftinterface +150 -0
- 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
- 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
- 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
- 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
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/module.modulemap +11 -0
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/OINetwork +0 -0
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/_CodeSignature/CodeResources +245 -0
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework.zip +0 -0
- package/ios/Pods/OINetwork/README.md +1 -0
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/Info.plist +42 -0
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Headers/OISecurity-Swift.h +264 -0
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Headers/OISecurity.h +16 -0
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Info.plist +0 -0
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.abi.json +9 -0
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.private.swiftinterface +141 -0
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.swiftinterface +141 -0
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/module.modulemap +11 -0
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/OISecurity +0 -0
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/_CodeSignature/CodeResources +190 -0
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/dSYMs/OISecurity.framework.dSYM/Contents/Info.plist +20 -0
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/dSYMs/OISecurity.framework.dSYM/Contents/Resources/DWARF/OISecurity +0 -0
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/dSYMs/OISecurity.framework.dSYM/Contents/Resources/Swift/aarch64/OINetwork.swiftinterface +150 -0
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Headers/OISecurity-Swift.h +524 -0
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Headers/OISecurity.h +16 -0
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Info.plist +0 -0
- 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
- 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
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.swiftinterface +141 -0
- 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
- 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
- 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
- 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
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/module.modulemap +11 -0
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/OISecurity +0 -0
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/_CodeSignature/CodeResources +245 -0
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework.zip +0 -0
- package/ios/Pods/OISecurity/README.md +1 -0
- package/ios/Pods/Pods.xcodeproj/project.pbxproj +1235 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OICommons.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OIComponents.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OILiveness3D.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OILiveness3D_FT.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OINetwork.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OISecurity.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/Pods-RnLiveness3d.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/xcschememanagement.plist +46 -0
- package/ios/Pods/Target Support Files/OICommons/OICommons-xcframeworks.sh +121 -0
- package/ios/Pods/Target Support Files/OICommons/OICommons.debug.xcconfig +15 -0
- package/ios/Pods/Target Support Files/OICommons/OICommons.release.xcconfig +15 -0
- package/ios/Pods/Target Support Files/OIComponents/OIComponents-xcframeworks.sh +121 -0
- package/ios/Pods/Target Support Files/OIComponents/OIComponents.debug.xcconfig +16 -0
- package/ios/Pods/Target Support Files/OIComponents/OIComponents.release.xcconfig +16 -0
- package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D-xcframeworks.sh +121 -0
- package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D.debug.xcconfig +16 -0
- package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D.release.xcconfig +16 -0
- package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT-xcframeworks.sh +121 -0
- package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT.debug.xcconfig +13 -0
- package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT.release.xcconfig +13 -0
- package/ios/Pods/Target Support Files/OINetwork/OINetwork-xcframeworks.sh +121 -0
- package/ios/Pods/Target Support Files/OINetwork/OINetwork.debug.xcconfig +16 -0
- package/ios/Pods/Target Support Files/OINetwork/OINetwork.release.xcconfig +16 -0
- package/ios/Pods/Target Support Files/OISecurity/OISecurity-xcframeworks.sh +121 -0
- package/ios/Pods/Target Support Files/OISecurity/OISecurity.debug.xcconfig +16 -0
- package/ios/Pods/Target Support Files/OISecurity/OISecurity.release.xcconfig +16 -0
- package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-Info.plist +26 -0
- package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-acknowledgements.markdown +23 -0
- package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-acknowledgements.plist +79 -0
- package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-dummy.m +5 -0
- package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-umbrella.h +16 -0
- package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.debug.xcconfig +13 -0
- package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.modulemap +6 -0
- package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.release.xcconfig +13 -0
- package/ios/RnLiveness3d.m +8 -3
- package/ios/RnLiveness3d.swift +198 -114
- package/ios/RnLiveness3d.xcworkspace/xcuserdata/gabrielcatelligoulart.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/lib/commonjs/@types/ArgsType.js +4 -0
- package/lib/commonjs/@types/FontsType.js +2 -0
- package/lib/commonjs/@types/FontsType.js.map +1 -0
- package/lib/commonjs/@types/ResultType.js +2 -0
- package/lib/commonjs/@types/ResultType.js.map +1 -0
- package/lib/commonjs/@types/ResultTypes.js +6 -0
- package/lib/commonjs/@types/ResultTypes.js.map +1 -0
- package/lib/commonjs/@types/TextsType.js +2 -0
- package/lib/commonjs/@types/TextsType.js.map +1 -0
- package/lib/commonjs/@types/ThemeType.js +2 -0
- package/lib/commonjs/@types/ThemeType.js.map +1 -0
- package/lib/commonjs/actions/BackButton.js +35 -0
- package/lib/commonjs/actions/BackButton.js.map +1 -0
- package/lib/commonjs/actions/ContinueButton.js +43 -0
- package/lib/commonjs/actions/ContinueButton.js.map +1 -0
- package/lib/commonjs/actions/PermissionButton.js +35 -0
- package/lib/commonjs/actions/PermissionButton.js.map +1 -0
- package/lib/commonjs/context/Liveness3DContext.js +104 -0
- package/lib/commonjs/context/Liveness3DContext.js.map +1 -0
- package/lib/commonjs/helpers/Liveness3DHelper.js +34 -0
- package/lib/commonjs/helpers/Liveness3DHelper.js.map +1 -0
- package/lib/commonjs/index.js +121 -78
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/interfaces/Liveness3DHelper.js +6 -0
- package/lib/commonjs/interfaces/Liveness3DHelper.js.map +1 -0
- package/lib/commonjs/interfaces/OitiBackButtonInterface.js +6 -0
- package/lib/commonjs/interfaces/OitiBackButtonInterface.js.map +1 -0
- package/lib/commonjs/interfaces/OitiContinueButton.js +6 -0
- package/lib/commonjs/interfaces/OitiContinueButton.js.map +1 -0
- package/lib/commonjs/interfaces/OitiPermissionButtonInterface.js +6 -0
- package/lib/commonjs/interfaces/OitiPermissionButtonInterface.js.map +1 -0
- package/lib/commonjs/screens/Liveness3D/InstructionsView.js +4 -4
- package/lib/commonjs/screens/Liveness3D/InstructionsView.js.map +1 -1
- package/lib/commonjs/utils/continueButton.js +17 -0
- package/lib/commonjs/utils/continueButton.js.map +1 -0
- package/lib/commonjs/utils/permissions.js +30 -0
- package/lib/commonjs/utils/permissions.js.map +1 -0
- package/lib/commonjs/utils/screenStore.js +12 -0
- package/lib/commonjs/utils/screenStore.js.map +1 -0
- package/lib/module/@types/ArgsType.js +1 -1
- package/lib/module/@types/FontsType.js +2 -0
- package/lib/module/@types/FontsType.js.map +1 -0
- package/lib/module/@types/ResultType.js +2 -0
- package/lib/module/@types/ResultType.js.map +1 -0
- package/lib/module/@types/ResultTypes.js +2 -0
- package/lib/module/@types/ResultTypes.js.map +1 -0
- package/lib/module/@types/TextsType.js +2 -0
- package/lib/module/@types/TextsType.js.map +1 -0
- package/lib/module/@types/ThemeType.js +2 -0
- package/lib/module/@types/ThemeType.js.map +1 -0
- package/lib/module/actions/BackButton.js +26 -0
- package/lib/module/actions/BackButton.js.map +1 -0
- package/lib/module/actions/ContinueButton.js +34 -0
- package/lib/module/actions/ContinueButton.js.map +1 -0
- package/lib/module/actions/PermissionButton.js +26 -0
- package/lib/module/actions/PermissionButton.js.map +1 -0
- package/lib/module/context/Liveness3DContext.js +92 -0
- package/lib/module/context/Liveness3DContext.js.map +1 -0
- package/lib/module/helpers/Liveness3DHelper.js +25 -0
- package/lib/module/helpers/Liveness3DHelper.js.map +1 -0
- package/lib/module/index.js +97 -75
- package/lib/module/index.js.map +1 -1
- package/lib/module/interfaces/Liveness3DHelper.js +2 -0
- package/lib/module/interfaces/Liveness3DHelper.js.map +1 -0
- package/lib/module/interfaces/OitiBackButtonInterface.js +2 -0
- package/lib/module/interfaces/OitiBackButtonInterface.js.map +1 -0
- package/lib/module/interfaces/OitiContinueButton.js +2 -0
- package/lib/module/interfaces/OitiContinueButton.js.map +1 -0
- package/lib/module/interfaces/OitiPermissionButtonInterface.js +2 -0
- package/lib/module/interfaces/OitiPermissionButtonInterface.js.map +1 -0
- package/lib/module/screens/Liveness3D/InstructionsView.js +4 -4
- package/lib/module/screens/Liveness3D/InstructionsView.js.map +1 -1
- package/lib/module/utils/continueButton.js +10 -0
- package/lib/module/utils/continueButton.js.map +1 -0
- package/lib/module/utils/permissions.js +21 -0
- package/lib/module/utils/permissions.js.map +1 -0
- package/lib/module/utils/screenStore.js +5 -0
- package/lib/module/utils/screenStore.js.map +1 -0
- package/lib/typescript/@types/ArgsType.d.ts +9 -9
- package/lib/typescript/@types/ArgsType.d.ts.map +1 -1
- package/lib/typescript/@types/FontsType.d.ts +12 -0
- package/lib/typescript/@types/FontsType.d.ts.map +1 -0
- package/lib/typescript/@types/ResultType.d.ts +13 -0
- package/lib/typescript/@types/ResultType.d.ts.map +1 -0
- package/lib/typescript/@types/ResultTypes.d.ts +6 -0
- package/lib/typescript/@types/ResultTypes.d.ts.map +1 -0
- package/lib/typescript/@types/TextsType.d.ts +36 -0
- package/lib/typescript/@types/TextsType.d.ts.map +1 -0
- package/lib/typescript/@types/ThemeType.d.ts +48 -0
- package/lib/typescript/@types/ThemeType.d.ts.map +1 -0
- package/lib/typescript/actions/BackButton.d.ts +4 -0
- package/lib/typescript/actions/BackButton.d.ts.map +1 -0
- package/lib/typescript/actions/ContinueButton.d.ts +4 -0
- package/lib/typescript/actions/ContinueButton.d.ts.map +1 -0
- package/lib/typescript/actions/PermissionButton.d.ts +4 -0
- package/lib/typescript/actions/PermissionButton.d.ts.map +1 -0
- package/lib/typescript/context/Liveness3DContext.d.ts +28 -0
- package/lib/typescript/context/Liveness3DContext.d.ts.map +1 -0
- package/lib/typescript/helpers/Liveness3DHelper.d.ts +4 -0
- package/lib/typescript/helpers/Liveness3DHelper.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +21 -8
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/interfaces/Liveness3DHelper.d.ts +7 -0
- package/lib/typescript/interfaces/Liveness3DHelper.d.ts.map +1 -0
- package/lib/typescript/interfaces/OitiBackButtonInterface.d.ts +6 -0
- package/lib/typescript/interfaces/OitiBackButtonInterface.d.ts.map +1 -0
- package/lib/typescript/interfaces/OitiContinueButton.d.ts +6 -0
- package/lib/typescript/interfaces/OitiContinueButton.d.ts.map +1 -0
- package/lib/typescript/interfaces/OitiPermissionButtonInterface.d.ts +6 -0
- package/lib/typescript/interfaces/OitiPermissionButtonInterface.d.ts.map +1 -0
- package/lib/typescript/screens/Liveness3D/InstructionsView.d.ts +1 -0
- package/lib/typescript/screens/Liveness3D/InstructionsView.d.ts.map +1 -1
- package/lib/typescript/screens/PermissionView.d.ts +1 -0
- package/lib/typescript/screens/PermissionView.d.ts.map +1 -1
- package/lib/typescript/utils/continueButton.d.ts +2 -0
- package/lib/typescript/utils/continueButton.d.ts.map +1 -0
- package/lib/typescript/utils/permissions.d.ts +4 -0
- package/lib/typescript/utils/permissions.d.ts.map +1 -0
- package/lib/typescript/utils/screenStore.d.ts +5 -0
- package/lib/typescript/utils/screenStore.d.ts.map +1 -0
- package/oiti-rn-liveness3d.podspec +2 -1
- package/package.json +3 -6
- package/src/@types/ArgsType.ts +10 -10
- package/src/@types/FontsType.ts +22 -0
- package/src/@types/ResultType.ts +13 -0
- package/src/@types/ResultTypes.ts +6 -0
- package/src/@types/TextsType.ts +41 -0
- package/src/@types/ThemeType.ts +64 -0
- package/src/actions/BackButton.tsx +27 -0
- package/src/actions/ContinueButton.tsx +35 -0
- package/src/actions/PermissionButton.tsx +27 -0
- package/src/context/Liveness3DContext.tsx +122 -0
- package/src/helpers/Liveness3DHelper.tsx +24 -0
- package/src/index.tsx +120 -87
- package/src/interfaces/Liveness3DHelper.tsx +7 -0
- package/src/interfaces/OitiBackButtonInterface.tsx +6 -0
- package/src/interfaces/OitiContinueButton.tsx +6 -0
- package/src/interfaces/OitiPermissionButtonInterface.tsx +6 -0
- package/src/screens/Liveness3D/InstructionsView.tsx +8 -8
- package/src/utils/continueButton.tsx +12 -0
- package/src/utils/permissions.tsx +30 -0
- package/src/utils/screenStore.tsx +4 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.continueButton = void 0;
|
|
7
|
+
var _permissions = require("./permissions");
|
|
8
|
+
const continueButton = async () => {
|
|
9
|
+
return (0, _permissions.verifyPermission)().then(result => {
|
|
10
|
+
return result;
|
|
11
|
+
}).catch(error => {
|
|
12
|
+
console.error(error);
|
|
13
|
+
return false;
|
|
14
|
+
});
|
|
15
|
+
};
|
|
16
|
+
exports.continueButton = continueButton;
|
|
17
|
+
//# sourceMappingURL=continueButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_permissions","require","continueButton","verifyPermission","then","result","catch","error","console","exports"],"sourceRoot":"../../../src","sources":["utils/continueButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEO,MAAMC,cAAc,GAAG,MAAAA,CAAA,KAA8B;EAC1D,OAAO,IAAAC,6BAAgB,GAAE,CACtBC,IAAI,CAAEC,MAAM,IAAK;IAChB,OAAOA,MAAM;EACf,CAAC,CAAC,CACDC,KAAK,CAAEC,KAAK,IAAK;IAChBC,OAAO,CAACD,KAAK,CAACA,KAAK,CAAC;IACpB,OAAO,KAAK;EACd,CAAC,CAAC;AACN,CAAC;AAACE,OAAA,CAAAP,cAAA,GAAAA,cAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.RnLiveness3d = void 0;
|
|
7
|
+
exports.askPermission = askPermission;
|
|
8
|
+
exports.verifyPermission = verifyPermission;
|
|
9
|
+
var _reactNative = require("react-native");
|
|
10
|
+
const RnLiveness3d = _reactNative.NativeModules.RnLiveness3d ? _reactNative.NativeModules.RnLiveness3d : new Proxy({}, {
|
|
11
|
+
get() {
|
|
12
|
+
throw new Error(LINKING_ERROR);
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
exports.RnLiveness3d = RnLiveness3d;
|
|
16
|
+
const LINKING_ERROR = `The package '@oiti/rn-liveness3d' doesn't seem to be linked. Make sure: \n\n` + _reactNative.Platform.select({
|
|
17
|
+
ios: "- You have run 'pod install'\n",
|
|
18
|
+
default: ''
|
|
19
|
+
}) + '- You rebuilt the app after installing the package\n' + '- You are not using Expo Go\n';
|
|
20
|
+
function verifyPermission() {
|
|
21
|
+
return _reactNative.Platform.OS === 'android' ? RnLiveness3d.checkcamerapermission() : RnLiveness3d.checkiospermission({
|
|
22
|
+
p: 'granted'
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
function askPermission() {
|
|
26
|
+
return _reactNative.Platform.OS === 'android' ? RnLiveness3d.askcamerapermission() : RnLiveness3d.checkpermissiongranted({
|
|
27
|
+
p: 'granted'
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=permissions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","RnLiveness3d","NativeModules","Proxy","get","Error","LINKING_ERROR","exports","Platform","select","ios","default","verifyPermission","OS","checkcamerapermission","checkiospermission","p","askPermission","askcamerapermission","checkpermissiongranted"],"sourceRoot":"../../../src","sources":["utils/permissions.tsx"],"mappings":";;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEO,MAAMC,YAAY,GAAGC,0BAAa,CAACD,YAAY,GAClDC,0BAAa,CAACD,YAAY,GAC1B,IAAIE,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACC,aAAa,CAAC;EAChC;AACF,CAAC,CACF;AAACC,OAAA,CAAAN,YAAA,GAAAA,YAAA;AAEN,MAAMK,aAAa,GAChB,8EAA6E,GAC9EE,qBAAQ,CAACC,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAE1B,SAASC,gBAAgBA,CAAA,EAAqB;EACnD,OAAOJ,qBAAQ,CAACK,EAAE,KAAK,SAAS,GAC5BZ,YAAY,CAACa,qBAAqB,EAAE,GACpCb,YAAY,CAACc,kBAAkB,CAAC;IAAEC,CAAC,EAAE;EAAU,CAAC,CAAC;AACvD;AAEO,SAASC,aAAaA,CAAA,EAAqB;EAChD,OAAOT,qBAAQ,CAACK,EAAE,KAAK,SAAS,GAC5BZ,YAAY,CAACiB,mBAAmB,EAAE,GAClCjB,YAAY,CAACkB,sBAAsB,CAAC;IAAEH,CAAC,EAAE;EAAU,CAAC,CAAC;AAC3D"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SCREEN = void 0;
|
|
7
|
+
const SCREEN = Object.freeze({
|
|
8
|
+
INSTRUCTION_VIEW: 1,
|
|
9
|
+
PERMISSION_VIEW: 2
|
|
10
|
+
});
|
|
11
|
+
exports.SCREEN = SCREEN;
|
|
12
|
+
//# sourceMappingURL=screenStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["SCREEN","Object","freeze","INSTRUCTION_VIEW","PERMISSION_VIEW","exports"],"sourceRoot":"../../../src","sources":["utils/screenStore.tsx"],"mappings":";;;;;;AAAO,MAAMA,MAAM,GAAGC,MAAM,CAACC,MAAM,CAAC;EAClCC,gBAAgB,EAAE,CAAC;EACnBC,eAAe,EAAE;AACnB,CAAC,CAAU;AAACC,OAAA,CAAAL,MAAA,GAAAA,MAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=ArgsType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/FontsType.ts"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/ResultType.ts"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/ResultTypes.ts"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/TextsType.ts"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["@types/ThemeType.ts"],"mappings":""}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
import React, { useRef } from 'react';
|
|
3
|
+
import { TouchableOpacity } from 'react-native';
|
|
4
|
+
import { useLiveness3DContext } from '../context/Liveness3DContext';
|
|
5
|
+
export const BackButton = _ref => {
|
|
6
|
+
let {
|
|
7
|
+
children,
|
|
8
|
+
...props
|
|
9
|
+
} = _ref;
|
|
10
|
+
const touchableOpacityRef = useRef(null);
|
|
11
|
+
const {
|
|
12
|
+
onBack
|
|
13
|
+
} = useLiveness3DContext();
|
|
14
|
+
const handlePress = () => {
|
|
15
|
+
onBack();
|
|
16
|
+
};
|
|
17
|
+
return (
|
|
18
|
+
/*#__PURE__*/
|
|
19
|
+
//@ts-ignore
|
|
20
|
+
React.createElement(TouchableOpacity, _extends({
|
|
21
|
+
ref: touchableOpacityRef,
|
|
22
|
+
onPress: handlePress
|
|
23
|
+
}, props), children)
|
|
24
|
+
);
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=BackButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useRef","TouchableOpacity","useLiveness3DContext","BackButton","_ref","children","props","touchableOpacityRef","onBack","handlePress","createElement","_extends","ref","onPress"],"sourceRoot":"../../../src","sources":["actions/BackButton.tsx"],"mappings":";AAAA,OAAOA,KAAK,IAAIC,MAAM,QAAQ,OAAO;AACrC,SAASC,gBAAgB,QAAQ,cAAc;AAC/C,SAASC,oBAAoB,QAAQ,8BAA8B;AAGnE,OAAO,MAAMC,UAA6C,GAAGC,IAAA,IAGvD;EAAA,IAHwD;IAC5DC,QAAQ;IACR,GAAGC;EACL,CAAC,GAAAF,IAAA;EACC,MAAMG,mBAAmB,GAAGP,MAAM,CAAC,IAAI,CAAC;EACxC,MAAM;IAAEQ;EAAO,CAAC,GAAGN,oBAAoB,EAAE;EAEzC,MAAMO,WAAW,GAAGA,CAAA,KAAM;IACxBD,MAAM,EAAE;EACV,CAAC;EAED;IAAA;IACE;IACAT,KAAA,CAAAW,aAAA,CAACT,gBAAgB,EAAAU,QAAA;MACfC,GAAG,EAAEL,mBAAoB;MACzBM,OAAO,EAAEJ;IAAY,GACjBH,KAAK,GAERD,QAAQ;EACQ;AAEvB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
import React, { useRef } from 'react';
|
|
3
|
+
import { TouchableOpacity } from 'react-native';
|
|
4
|
+
import { useLiveness3DContext } from '../context/Liveness3DContext';
|
|
5
|
+
import { continueButton } from '../utils/continueButton';
|
|
6
|
+
export const ContinueButton = _ref => {
|
|
7
|
+
let {
|
|
8
|
+
children,
|
|
9
|
+
...props
|
|
10
|
+
} = _ref;
|
|
11
|
+
const touchableOpacityRef = useRef(null);
|
|
12
|
+
const {
|
|
13
|
+
setScreen,
|
|
14
|
+
startLiveness
|
|
15
|
+
} = useLiveness3DContext();
|
|
16
|
+
function onContinue() {
|
|
17
|
+
continueButton().then(result => {
|
|
18
|
+
result === true && startLiveness();
|
|
19
|
+
result === false && setScreen(2);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
const handlePress = () => {
|
|
23
|
+
onContinue();
|
|
24
|
+
};
|
|
25
|
+
return (
|
|
26
|
+
/*#__PURE__*/
|
|
27
|
+
//@ts-ignore
|
|
28
|
+
React.createElement(TouchableOpacity, _extends({
|
|
29
|
+
ref: touchableOpacityRef,
|
|
30
|
+
onPress: handlePress
|
|
31
|
+
}, props), children)
|
|
32
|
+
);
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=ContinueButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useRef","TouchableOpacity","useLiveness3DContext","continueButton","ContinueButton","_ref","children","props","touchableOpacityRef","setScreen","startLiveness","onContinue","then","result","handlePress","createElement","_extends","ref","onPress"],"sourceRoot":"../../../src","sources":["actions/ContinueButton.tsx"],"mappings":";AAAA,OAAOA,KAAK,IAAIC,MAAM,QAAQ,OAAO;AACrC,SAASC,gBAAgB,QAAQ,cAAc;AAC/C,SAASC,oBAAoB,QAAQ,8BAA8B;AACnE,SAASC,cAAc,QAAQ,yBAAyB;AAGxD,OAAO,MAAMC,cAAqD,GAAGC,IAAA,IAG/D;EAAA,IAHgE;IACpEC,QAAQ;IACR,GAAGC;EACL,CAAC,GAAAF,IAAA;EACC,MAAMG,mBAAmB,GAAGR,MAAM,CAAC,IAAI,CAAC;EACxC,MAAM;IAAES,SAAS;IAAEC;EAAc,CAAC,GAAGR,oBAAoB,EAAE;EAE3D,SAASS,UAAUA,CAAA,EAAG;IACpBR,cAAc,EAAE,CAACS,IAAI,CAAEC,MAAM,IAAK;MAChCA,MAAM,KAAK,IAAI,IAAIH,aAAa,EAAE;MAClCG,MAAM,KAAK,KAAK,IAAIJ,SAAS,CAAC,CAAC,CAAC;IAClC,CAAC,CAAC;EACJ;EAEA,MAAMK,WAAW,GAAGA,CAAA,KAAM;IACxBH,UAAU,EAAE;EACd,CAAC;EAED;IAAA;IACE;IACAZ,KAAA,CAAAgB,aAAA,CAACd,gBAAgB,EAAAe,QAAA;MACfC,GAAG,EAAET,mBAAoB;MACzBU,OAAO,EAAEJ;IAAY,GACjBP,KAAK,GAERD,QAAQ;EACQ;AAEvB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
import React, { useRef } from 'react';
|
|
3
|
+
import { TouchableOpacity } from 'react-native';
|
|
4
|
+
import { useLiveness3DContext } from '../context/Liveness3DContext';
|
|
5
|
+
export const PermissionButton = _ref => {
|
|
6
|
+
let {
|
|
7
|
+
children,
|
|
8
|
+
...props
|
|
9
|
+
} = _ref;
|
|
10
|
+
const touchableOpacityRef = useRef(null);
|
|
11
|
+
const {
|
|
12
|
+
onAskPermission
|
|
13
|
+
} = useLiveness3DContext();
|
|
14
|
+
const handlePress = () => {
|
|
15
|
+
onAskPermission();
|
|
16
|
+
};
|
|
17
|
+
return (
|
|
18
|
+
/*#__PURE__*/
|
|
19
|
+
//@ts-ignore
|
|
20
|
+
React.createElement(TouchableOpacity, _extends({
|
|
21
|
+
ref: touchableOpacityRef,
|
|
22
|
+
onPress: handlePress
|
|
23
|
+
}, props), children)
|
|
24
|
+
);
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=PermissionButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useRef","TouchableOpacity","useLiveness3DContext","PermissionButton","_ref","children","props","touchableOpacityRef","onAskPermission","handlePress","createElement","_extends","ref","onPress"],"sourceRoot":"../../../src","sources":["actions/PermissionButton.tsx"],"mappings":";AAAA,OAAOA,KAAK,IAAIC,MAAM,QAAQ,OAAO;AACrC,SAASC,gBAAgB,QAAQ,cAAc;AAC/C,SAASC,oBAAoB,QAAQ,8BAA8B;AAGnE,OAAO,MAAMC,gBAAyD,GAAGC,IAAA,IAGnE;EAAA,IAHoE;IACxEC,QAAQ;IACR,GAAGC;EACL,CAAC,GAAAF,IAAA;EACC,MAAMG,mBAAmB,GAAGP,MAAM,CAAC,IAAI,CAAC;EACxC,MAAM;IAAEQ;EAAgB,CAAC,GAAGN,oBAAoB,EAAE;EAElD,MAAMO,WAAW,GAAGA,CAAA,KAAM;IACxBD,eAAe,EAAE;EACnB,CAAC;EAED;IAAA;IACE;IACAT,KAAA,CAAAW,aAAA,CAACT,gBAAgB,EAAAU,QAAA;MACfC,GAAG,EAAEL,mBAAoB;MACzBM,OAAO,EAAEJ;IAAY,GACjBH,KAAK,GAERD,QAAQ;EACQ;AAEvB,CAAC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { startLiveness3d } from '../index';
|
|
2
|
+
import React, { createContext, useContext, useState } from 'react';
|
|
3
|
+
import { askPermission } from '../utils/permissions';
|
|
4
|
+
import { Platform } from 'react-native';
|
|
5
|
+
export const SCREEN = Object.freeze({
|
|
6
|
+
INSTRUCTION_VIEW: 1,
|
|
7
|
+
PERMISSION_VIEW: 2
|
|
8
|
+
});
|
|
9
|
+
const Liveness3DContext = /*#__PURE__*/createContext(undefined);
|
|
10
|
+
export const Liveness3DProvider = _ref => {
|
|
11
|
+
let {
|
|
12
|
+
children,
|
|
13
|
+
onError,
|
|
14
|
+
onSuccess
|
|
15
|
+
} = _ref;
|
|
16
|
+
const [screen, setScreen] = useState(1);
|
|
17
|
+
const [navigation, setNavigation] = useState();
|
|
18
|
+
const [options, setOptions] = useState();
|
|
19
|
+
const [callbackView, setCallbackView] = useState('');
|
|
20
|
+
const onLiveness3DError = error => {
|
|
21
|
+
onError(error);
|
|
22
|
+
};
|
|
23
|
+
const onLiveness3DSuccess = result => {
|
|
24
|
+
onSuccess(result);
|
|
25
|
+
};
|
|
26
|
+
function onBack() {
|
|
27
|
+
switch (screen) {
|
|
28
|
+
case SCREEN.INSTRUCTION_VIEW:
|
|
29
|
+
onLiveness3DError({
|
|
30
|
+
code: '0',
|
|
31
|
+
message: 'RESULT_CANCELED'
|
|
32
|
+
});
|
|
33
|
+
break;
|
|
34
|
+
case SCREEN.PERMISSION_VIEW:
|
|
35
|
+
setScreen(1);
|
|
36
|
+
break;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
function startLiveness() {
|
|
40
|
+
if (options) {
|
|
41
|
+
startLiveness3d(options).then(result => {
|
|
42
|
+
{
|
|
43
|
+
if (Platform.OS == 'android') {
|
|
44
|
+
//@ts-ignore
|
|
45
|
+
onSuccess(JSON.parse(result));
|
|
46
|
+
} else {
|
|
47
|
+
onSuccess(result);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}).catch(error => {
|
|
51
|
+
onError(error);
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function onAskPermission() {
|
|
56
|
+
askPermission().then(result => {
|
|
57
|
+
result === true && startLiveness();
|
|
58
|
+
result === false && setScreen(1);
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
const contextValue = {
|
|
62
|
+
screen,
|
|
63
|
+
setScreen,
|
|
64
|
+
navigation,
|
|
65
|
+
setNavigation,
|
|
66
|
+
onLiveness3DError,
|
|
67
|
+
onLiveness3DSuccess,
|
|
68
|
+
onBack,
|
|
69
|
+
options,
|
|
70
|
+
setOptions,
|
|
71
|
+
startLiveness,
|
|
72
|
+
onAskPermission,
|
|
73
|
+
callbackView,
|
|
74
|
+
setCallbackView
|
|
75
|
+
};
|
|
76
|
+
return (
|
|
77
|
+
/*#__PURE__*/
|
|
78
|
+
//@ts-ignore
|
|
79
|
+
React.createElement(Liveness3DContext.Provider, {
|
|
80
|
+
value: contextValue
|
|
81
|
+
}, children)
|
|
82
|
+
);
|
|
83
|
+
};
|
|
84
|
+
export const useLiveness3DContext = () => {
|
|
85
|
+
const context = useContext(Liveness3DContext);
|
|
86
|
+
if (!context) {
|
|
87
|
+
throw new Error('useLiveness3DContext must be used within a Liveness3DProvider');
|
|
88
|
+
}
|
|
89
|
+
return context;
|
|
90
|
+
};
|
|
91
|
+
export default Liveness3DContext;
|
|
92
|
+
//# sourceMappingURL=Liveness3DContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["startLiveness3d","React","createContext","useContext","useState","askPermission","Platform","SCREEN","Object","freeze","INSTRUCTION_VIEW","PERMISSION_VIEW","Liveness3DContext","undefined","Liveness3DProvider","_ref","children","onError","onSuccess","screen","setScreen","navigation","setNavigation","options","setOptions","callbackView","setCallbackView","onLiveness3DError","error","onLiveness3DSuccess","result","onBack","code","message","startLiveness","then","OS","JSON","parse","catch","onAskPermission","contextValue","createElement","Provider","value","useLiveness3DContext","context","Error"],"sourceRoot":"../../../src","sources":["context/Liveness3DContext.tsx"],"mappings":"AAAA,SAASA,eAAe,QAAQ,UAAU;AAC1C,OAAOC,KAAK,IAAIC,aAAa,EAAMC,UAAU,EAAEC,QAAQ,QAAQ,OAAO;AAItE,SAASC,aAAa,QAAQ,sBAAsB;AACpD,SAASC,QAAQ,QAAQ,cAAc;AAEvC,OAAO,MAAMC,MAAM,GAAGC,MAAM,CAACC,MAAM,CAAC;EAClCC,gBAAgB,EAAE,CAAC;EACnBC,eAAe,EAAE;AACnB,CAAC,CAAU;AAkBX,MAAMC,iBAAiB,gBAAGV,aAAa,CACrCW,SAAS,CACV;AAED,OAAO,MAAMC,kBAAkC,GAAGC,IAAA,IAI5C;EAAA,IAJ6C;IACjDC,QAAQ;IACRC,OAAO;IACPC;EACF,CAAC,GAAAH,IAAA;EACC,MAAM,CAACI,MAAM,EAAEC,SAAS,CAAC,GAAGhB,QAAQ,CAAS,CAAC,CAAC;EAC/C,MAAM,CAACiB,UAAU,EAAEC,aAAa,CAAC,GAAGlB,QAAQ,EAAO;EACnD,MAAM,CAACmB,OAAO,EAAEC,UAAU,CAAC,GAAGpB,QAAQ,EAAY;EAClD,MAAM,CAACqB,YAAY,EAAEC,eAAe,CAAC,GAAGtB,QAAQ,CAAS,EAAE,CAAC;EAE5D,MAAMuB,iBAAiB,GAAIC,KAAkB,IAAK;IAChDX,OAAO,CAACW,KAAK,CAAC;EAChB,CAAC;EAED,MAAMC,mBAAmB,GAAIC,MAAqB,IAAK;IACrDZ,SAAS,CAACY,MAAM,CAAC;EACnB,CAAC;EAED,SAASC,MAAMA,CAAA,EAAG;IAChB,QAAQZ,MAAM;MACZ,KAAKZ,MAAM,CAACG,gBAAgB;QAC1BiB,iBAAiB,CAAC;UAAEK,IAAI,EAAE,GAAG;UAAEC,OAAO,EAAE;QAAkB,CAAC,CAAC;QAC5D;MACF,KAAK1B,MAAM,CAACI,eAAe;QACzBS,SAAS,CAAC,CAAC,CAAC;QACZ;IAAM;EAEZ;EAEA,SAASc,aAAaA,CAAA,EAAG;IACvB,IAAIX,OAAO,EAAE;MACXvB,eAAe,CAACuB,OAAO,CAAC,CACrBY,IAAI,CAAEL,MAAM,IAAK;QAChB;UACE,IAAIxB,QAAQ,CAAC8B,EAAE,IAAI,SAAS,EAAE;YAC5B;YACAlB,SAAS,CAACmB,IAAI,CAACC,KAAK,CAACR,MAAM,CAAC,CAAkB;UAChD,CAAC,MAAM;YACLZ,SAAS,CAACY,MAAM,CAAkB;UACpC;QACF;MACF,CAAC,CAAC,CACDS,KAAK,CAAEX,KAAK,IAAK;QAChBX,OAAO,CAACW,KAAK,CAAgB;MAC/B,CAAC,CAAC;IACN;EACF;EACA,SAASY,eAAeA,CAAA,EAAG;IACzBnC,aAAa,EAAE,CAAC8B,IAAI,CAAEL,MAAM,IAAK;MAC/BA,MAAM,KAAK,IAAI,IAAII,aAAa,EAAE;MAClCJ,MAAM,KAAK,KAAK,IAAIV,SAAS,CAAC,CAAC,CAAC;IAClC,CAAC,CAAC;EACJ;EAEA,MAAMqB,YAAmC,GAAG;IAC1CtB,MAAM;IACNC,SAAS;IACTC,UAAU;IACVC,aAAa;IACbK,iBAAiB;IACjBE,mBAAmB;IACnBE,MAAM;IACNR,OAAO;IACPC,UAAU;IACVU,aAAa;IACbM,eAAe;IACff,YAAY;IACZC;EACF,CAAC;EAED;IAAA;IACE;IACAzB,KAAA,CAAAyC,aAAA,CAAC9B,iBAAiB,CAAC+B,QAAQ;MAACC,KAAK,EAAEH;IAAa,GAC7CzB,QAAQ;EACkB;AAEjC,CAAC;AAED,OAAO,MAAM6B,oBAAoB,GAAGA,CAAA,KAA6B;EAC/D,MAAMC,OAAO,GAAG3C,UAAU,CAACS,iBAAiB,CAAC;EAC7C,IAAI,CAACkC,OAAO,EAAE;IACZ,MAAM,IAAIC,KAAK,CACb,+DAA+D,CAChE;EACH;EACA,OAAOD,OAAO;AAChB,CAAC;AAED,eAAelC,iBAAiB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React, { useEffect } from 'react';
|
|
2
|
+
import { useLiveness3DContext } from '../context/Liveness3DContext';
|
|
3
|
+
export const Liveness3DHelper = _ref => {
|
|
4
|
+
let {
|
|
5
|
+
children,
|
|
6
|
+
options,
|
|
7
|
+
onError
|
|
8
|
+
} = _ref;
|
|
9
|
+
const {
|
|
10
|
+
setNavigation,
|
|
11
|
+
setOptions,
|
|
12
|
+
setCallbackView
|
|
13
|
+
} = useLiveness3DContext();
|
|
14
|
+
useEffect(() => {
|
|
15
|
+
if (options.appkey === null || options.appkey === undefined || options.appkey === '') {
|
|
16
|
+
onError({
|
|
17
|
+
code: '0',
|
|
18
|
+
message: 'invalidAppKey'
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
setOptions(options);
|
|
22
|
+
}, [options, onError, setNavigation, setOptions, setCallbackView]);
|
|
23
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, children);
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=Liveness3DHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useEffect","useLiveness3DContext","Liveness3DHelper","_ref","children","options","onError","setNavigation","setOptions","setCallbackView","appkey","undefined","code","message","createElement","Fragment"],"sourceRoot":"../../../src","sources":["helpers/Liveness3DHelper.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAiB,OAAO;AACjD,SAASC,oBAAoB,QAAQ,8BAA8B;AAGnE,OAAO,MAAMC,gBAA+C,GAAGC,IAAA,IAIzD;EAAA,IAJ0D;IAC9DC,QAAQ;IACRC,OAAO;IACPC;EACF,CAAC,GAAAH,IAAA;EACC,MAAM;IAAEI,aAAa;IAAEC,UAAU;IAAEC;EAAgB,CAAC,GAAGR,oBAAoB,EAAE;EAE7ED,SAAS,CAAC,MAAM;IACd,IACEK,OAAO,CAACK,MAAM,KAAK,IAAI,IACvBL,OAAO,CAACK,MAAM,KAAKC,SAAS,IAC5BN,OAAO,CAACK,MAAM,KAAK,EAAE,EACrB;MACAJ,OAAO,CAAC;QAAEM,IAAI,EAAE,GAAG;QAAEC,OAAO,EAAE;MAAgB,CAAC,CAAC;IAClD;IACAL,UAAU,CAACH,OAAO,CAAC;EACrB,CAAC,EAAE,CAACA,OAAO,EAAEC,OAAO,EAAEC,aAAa,EAAEC,UAAU,EAAEC,eAAe,CAAC,CAAC;EAElE,oBAAOV,KAAA,CAAAe,aAAA,CAAAf,KAAA,CAAAgB,QAAA,QAAGX,QAAQ,CAAI;AACxB,CAAC"}
|
package/lib/module/index.js
CHANGED
|
@@ -1,49 +1,33 @@
|
|
|
1
|
-
import React
|
|
2
|
-
import { NativeModules, Platform
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { NativeModules, Platform } from 'react-native';
|
|
3
3
|
import InstructionsView from './screens/Liveness3D/InstructionsView';
|
|
4
4
|
import PermissionView from './screens/PermissionView';
|
|
5
|
+
import { Liveness3DProvider, SCREEN, useLiveness3DContext } from './context/Liveness3DContext';
|
|
6
|
+
import { Liveness3DHelper } from './helpers/Liveness3DHelper';
|
|
5
7
|
const LINKING_ERROR = `The package '@oiti/rn-liveness3d' doesn't seem to be linked. Make sure: \n\n` + Platform.select({
|
|
6
8
|
ios: "- You have run 'pod install'\n",
|
|
7
9
|
default: ''
|
|
8
10
|
}) + '- You rebuilt the app after installing the package\n' + '- You are not using Expo Go\n';
|
|
9
|
-
const
|
|
10
|
-
INSTRUCTION_VIEW: 1,
|
|
11
|
-
PERMISSION_VIEW: 2
|
|
12
|
-
});
|
|
13
|
-
const RnLiveness3d = NativeModules.RnLiveness3d ? NativeModules.RnLiveness3d : new Proxy({}, {
|
|
11
|
+
export const RnLiveness3d = NativeModules.RnLiveness3d ? NativeModules.RnLiveness3d : new Proxy({}, {
|
|
14
12
|
get() {
|
|
15
13
|
throw new Error(LINKING_ERROR);
|
|
16
14
|
}
|
|
17
15
|
});
|
|
18
16
|
export function startLiveness3d(options, loading) {
|
|
19
|
-
var _options$apparence, _options$apparence2, _options$apparence3, _options$apparence4;
|
|
20
17
|
let args = {
|
|
21
18
|
appkey: (options === null || options === void 0 ? void 0 : options.appkey) === undefined ? '' : options === null || options === void 0 ? void 0 : options.appkey,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
},
|
|
28
|
-
liveness3Dtext: options.liveness3Dtext || [],
|
|
19
|
+
ticket: options === null || options === void 0 ? void 0 : options.ticket,
|
|
20
|
+
environment: (options === null || options === void 0 ? void 0 : options.environment) === undefined ? 'HML' : options === null || options === void 0 ? void 0 : options.environment,
|
|
21
|
+
liveness3Dtext: (options === null || options === void 0 ? void 0 : options.liveness3Dtext) || {},
|
|
22
|
+
theme: (options === null || options === void 0 ? void 0 : options.theme) || {},
|
|
23
|
+
fonts: (options === null || options === void 0 ? void 0 : options.fonts) || {},
|
|
29
24
|
loading: loading
|
|
30
25
|
};
|
|
31
26
|
if (Platform.OS === 'android') {
|
|
32
|
-
return RnLiveness3d.startliveness3d(args.appkey, loading === null || loading === void 0 ? void 0 : loading.type, (loading === null || loading === void 0 ? void 0 : loading.size) * 200, loading === null || loading === void 0 ? void 0 : loading.backgroundColor, loading === null || loading === void 0 ? void 0 : loading.loadingColor);
|
|
27
|
+
return RnLiveness3d.startliveness3d(args.appkey, args.ticket, loading !== null && loading !== void 0 && loading.type ? loading === null || loading === void 0 ? void 0 : loading.type : 'default', loading !== null && loading !== void 0 && loading.size ? (loading === null || loading === void 0 ? void 0 : loading.size) * 200 : 1 * 200, loading !== null && loading !== void 0 && loading.backgroundColor ? loading === null || loading === void 0 ? void 0 : loading.backgroundColor : '#333333', loading !== null && loading !== void 0 && loading.loadingColor ? loading === null || loading === void 0 ? void 0 : loading.loadingColor : '#05D758', args === null || args === void 0 ? void 0 : args.theme, args === null || args === void 0 ? void 0 : args.fonts, args === null || args === void 0 ? void 0 : args.liveness3Dtext);
|
|
33
28
|
}
|
|
34
29
|
return RnLiveness3d.startliveness3d(args);
|
|
35
30
|
}
|
|
36
|
-
export function logEvent3D(name, appkey) {
|
|
37
|
-
if (Platform.OS === 'ios') {
|
|
38
|
-
return RnLiveness3d.logevent({
|
|
39
|
-
event: name,
|
|
40
|
-
appkey: appkey
|
|
41
|
-
});
|
|
42
|
-
} else {
|
|
43
|
-
console.log(name, appkey);
|
|
44
|
-
return RnLiveness3d.logevent(name, appkey);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
31
|
export function checkIosPermission() {
|
|
48
32
|
return RnLiveness3d.checkiospermission({
|
|
49
33
|
p: 'granted'
|
|
@@ -54,46 +38,62 @@ export function checkIosPermissionGranted() {
|
|
|
54
38
|
p: 'granted'
|
|
55
39
|
});
|
|
56
40
|
}
|
|
57
|
-
|
|
58
|
-
|
|
41
|
+
export function checkcamerapermissionAndroid() {
|
|
42
|
+
return RnLiveness3d.checkcamerapermission();
|
|
43
|
+
}
|
|
44
|
+
export function askcamerapermissionAndroid() {
|
|
45
|
+
return RnLiveness3d.askcamerapermission();
|
|
46
|
+
}
|
|
47
|
+
export const requestCameraPermission = async (options, onSuccess, onError, loading) => {
|
|
59
48
|
if (Platform.OS === 'ios') {
|
|
60
|
-
checkIosPermission().then(result => {
|
|
61
|
-
if (result ===
|
|
62
|
-
|
|
49
|
+
checkIosPermission().then(async result => {
|
|
50
|
+
if (result === true) {
|
|
51
|
+
await startLiveness3d(options, loading).then(result => {
|
|
52
|
+
if (Platform.OS == 'android') {
|
|
53
|
+
//@ts-ignore
|
|
54
|
+
onSuccess(JSON.parse(result));
|
|
55
|
+
} else {
|
|
56
|
+
onSuccess(result);
|
|
57
|
+
}
|
|
58
|
+
}).catch(error => onError(error));
|
|
63
59
|
}
|
|
64
|
-
if (result ===
|
|
60
|
+
if (result === false) {
|
|
65
61
|
return;
|
|
66
62
|
}
|
|
67
63
|
});
|
|
68
64
|
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
65
|
+
if (Platform.OS === 'android') {
|
|
66
|
+
try {
|
|
67
|
+
await askcamerapermissionAndroid().then(async res => {
|
|
68
|
+
if (res === true) {
|
|
69
|
+
await startLiveness3d(options, loading).then(result => {
|
|
70
|
+
if (Platform.OS == 'android') {
|
|
71
|
+
//@ts-ignore
|
|
72
|
+
onSuccess(JSON.parse(result));
|
|
73
|
+
} else {
|
|
74
|
+
onSuccess(result);
|
|
75
|
+
}
|
|
76
|
+
}).catch(error => onError(error));
|
|
77
|
+
} else {
|
|
78
|
+
console.log('Camera permission denied');
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
} catch (err) {
|
|
82
|
+
console.warn(err);
|
|
81
83
|
}
|
|
82
|
-
} catch (err) {
|
|
83
|
-
console.warn(err);
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
async function checkPermission() {
|
|
87
87
|
if (Platform.OS === 'ios') {
|
|
88
88
|
const grantediso = await checkIosPermissionGranted();
|
|
89
|
-
if (grantediso ===
|
|
89
|
+
if (grantediso === true) {
|
|
90
90
|
return true;
|
|
91
91
|
}
|
|
92
|
-
if (grantediso ===
|
|
92
|
+
if (grantediso === false) {
|
|
93
93
|
return false;
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
const granted = await
|
|
96
|
+
const granted = await checkcamerapermissionAndroid();
|
|
97
97
|
if (granted) {
|
|
98
98
|
return true;
|
|
99
99
|
} else {
|
|
@@ -105,27 +105,49 @@ export function Liveness3dView(_ref) {
|
|
|
105
105
|
CustomInstructionView,
|
|
106
106
|
CustomPermissionView,
|
|
107
107
|
options,
|
|
108
|
-
loading
|
|
108
|
+
loading,
|
|
109
|
+
onSuccess,
|
|
110
|
+
onError,
|
|
111
|
+
onBack
|
|
109
112
|
} = _ref;
|
|
110
|
-
return
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
return (
|
|
114
|
+
/*#__PURE__*/
|
|
115
|
+
//@ts-ignore
|
|
116
|
+
React.createElement(Liveness3DProvider, {
|
|
117
|
+
onError: onError,
|
|
118
|
+
onSuccess: onSuccess
|
|
119
|
+
}, /*#__PURE__*/React.createElement(Liveness3DHelper, {
|
|
120
|
+
options: options,
|
|
121
|
+
onError: onError
|
|
122
|
+
}, /*#__PURE__*/React.createElement(GetIntructionView, {
|
|
123
|
+
CustomInstructionView: CustomInstructionView,
|
|
124
|
+
CustomPermissionView: CustomPermissionView,
|
|
125
|
+
options: options,
|
|
126
|
+
loading: loading,
|
|
127
|
+
onSuccess: onSuccess,
|
|
128
|
+
onError: onError,
|
|
129
|
+
onBack: onBack
|
|
130
|
+
})))
|
|
131
|
+
);
|
|
116
132
|
}
|
|
117
133
|
export function GetIntructionView(_ref2) {
|
|
118
134
|
let {
|
|
119
135
|
CustomInstructionView,
|
|
120
136
|
CustomPermissionView,
|
|
121
137
|
options,
|
|
122
|
-
loading
|
|
138
|
+
loading,
|
|
139
|
+
onSuccess,
|
|
140
|
+
onError,
|
|
141
|
+
onBack
|
|
123
142
|
} = _ref2;
|
|
124
|
-
const
|
|
125
|
-
|
|
143
|
+
const {
|
|
144
|
+
setScreen,
|
|
145
|
+
screen
|
|
146
|
+
} = useLiveness3DContext();
|
|
147
|
+
function onBackScreen() {
|
|
126
148
|
switch (screen) {
|
|
127
149
|
case SCREEN.INSTRUCTION_VIEW:
|
|
128
|
-
|
|
150
|
+
onBack();
|
|
129
151
|
break;
|
|
130
152
|
case SCREEN.PERMISSION_VIEW:
|
|
131
153
|
setScreen(1);
|
|
@@ -134,33 +156,33 @@ export function GetIntructionView(_ref2) {
|
|
|
134
156
|
}
|
|
135
157
|
async function verifyPermission() {
|
|
136
158
|
if (screen === 1) {
|
|
137
|
-
logEvent3D('ACTION_L3FT_instructionContinue', options.appkey);
|
|
138
159
|
if ((await checkPermission()) === true) {
|
|
139
|
-
startLiveness3d(options, loading).then(result =>
|
|
160
|
+
startLiveness3d(options, loading).then(result => {
|
|
161
|
+
if (Platform.OS == 'android') {
|
|
162
|
+
//@ts-ignore
|
|
163
|
+
onSuccess(JSON.parse(result));
|
|
164
|
+
} else {
|
|
165
|
+
onSuccess(result);
|
|
166
|
+
}
|
|
167
|
+
}).catch(error => onError(error));
|
|
140
168
|
} else {
|
|
141
169
|
setScreen(2);
|
|
142
170
|
}
|
|
143
171
|
}
|
|
144
172
|
if (screen === 2) {
|
|
145
|
-
|
|
146
|
-
await requestCameraPermission(options);
|
|
173
|
+
await requestCameraPermission(options, onSuccess, onError);
|
|
147
174
|
setScreen(1);
|
|
148
175
|
}
|
|
149
176
|
}
|
|
150
|
-
useEffect(() => {
|
|
151
|
-
if (screen === 1) {
|
|
152
|
-
logEvent3D('STATE_L3FT_instructionView', options.appkey);
|
|
153
|
-
}
|
|
154
|
-
if (screen === 2) {
|
|
155
|
-
logEvent3D('STATE_L3FT_permissionView', options.appkey);
|
|
156
|
-
}
|
|
157
|
-
});
|
|
158
177
|
return /*#__PURE__*/React.createElement(React.Fragment, null, screen === 1 && (!CustomInstructionView ? /*#__PURE__*/React.createElement(InstructionsView, {
|
|
159
178
|
onVerify: verifyPermission,
|
|
160
|
-
onBack:
|
|
179
|
+
onBack: onBackScreen
|
|
161
180
|
}) : CustomInstructionView), screen === 2 && (!CustomPermissionView ? /*#__PURE__*/React.createElement(PermissionView, {
|
|
162
181
|
onVerify: verifyPermission,
|
|
163
|
-
onBack:
|
|
182
|
+
onBack: onBackScreen
|
|
164
183
|
}) : CustomPermissionView));
|
|
165
184
|
}
|
|
185
|
+
export { ContinueButton } from './actions/ContinueButton';
|
|
186
|
+
export { PermissionButton } from './actions/PermissionButton';
|
|
187
|
+
export { BackButton } from './actions/BackButton';
|
|
166
188
|
//# sourceMappingURL=index.js.map
|