@oiti/rn-liveness3d 3.4.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +39 -107
- package/android/gradle.properties +5 -5
- package/android/src/main/AndroidManifest.xml +1 -8
- package/android/src/main/java/br/com/oiti/rnliveness3d/RnLiveness3dModule.kt +218 -192
- package/android/src/main/java/br/com/oiti/rnliveness3d/RnLiveness3dPackage.kt +25 -8
- package/android/src/main/java/br/com/oiti/rnliveness3d/theme/Liveness3DFonts.kt +32 -38
- package/android/src/main/java/br/com/oiti/rnliveness3d/theme/Liveness3DText.kt +5 -3
- package/android/src/main/java/br/com/oiti/rnliveness3d/theme/Liveness3DTheme.kt +229 -147
- package/android/src/res/font/sixty.ttf +0 -0
- package/ios/RnLiveness3d.h +5 -0
- package/ios/RnLiveness3d.mm +72 -0
- package/ios/{RnLiveness3d.swift → RnLiveness3dSwiftModule.swift} +131 -132
- package/lib/module/@types/ArgsType.js.map +1 -1
- package/lib/module/@types/FontsType.js.map +1 -1
- package/lib/module/@types/ResultType.js.map +1 -1
- package/lib/module/@types/ResultTypes.js.map +1 -1
- package/lib/module/@types/TextsType.js.map +1 -1
- package/lib/module/@types/ThemeType.js.map +1 -1
- package/lib/module/NativeRnLiveness3d.js +3 -0
- package/lib/module/NativeRnLiveness3d.js.map +1 -0
- package/lib/module/actions/BackButton.js +5 -6
- package/lib/module/actions/BackButton.js.map +1 -1
- package/lib/module/actions/ContinueButton.js +10 -10
- package/lib/module/actions/ContinueButton.js.map +1 -1
- package/lib/module/actions/PermissionButton.js +7 -8
- package/lib/module/actions/PermissionButton.js.map +1 -1
- package/lib/module/context/Liveness3DContext.js +10 -23
- package/lib/module/context/Liveness3DContext.js.map +1 -1
- package/lib/module/helpers/Liveness3DHelper.js +6 -7
- package/lib/module/helpers/Liveness3DHelper.js.map +1 -1
- package/lib/module/index.js +33 -120
- package/lib/module/index.js.map +1 -1
- package/lib/module/interfaces/Liveness3DHelper.js.map +1 -1
- package/lib/module/interfaces/OitiBackButtonInterface.js.map +1 -1
- package/lib/module/interfaces/OitiContinueButton.js.map +1 -1
- package/lib/module/interfaces/OitiPermissionButtonInterface.js.map +1 -1
- package/lib/module/screens/Liveness3D/InstructionsView.js +4 -6
- package/lib/module/screens/Liveness3D/InstructionsView.js.map +1 -1
- package/lib/module/screens/PermissionView.js +4 -6
- package/lib/module/screens/PermissionView.js.map +1 -1
- package/lib/module/utils/continueButton.js +3 -8
- package/lib/module/utils/continueButton.js.map +1 -1
- package/lib/module/utils/normalize.js.map +1 -1
- package/lib/module/utils/permissions.js +8 -17
- package/lib/module/utils/permissions.js.map +1 -1
- package/lib/module/utils/screenStore.js.map +1 -1
- package/oiti-rn-liveness3d.podspec +6 -22
- package/package.json +58 -49
- package/src/@types/ArgsType.ts +3 -4
- package/src/@types/ResultTypes.ts +3 -1
- package/src/NativeRnLiveness3d.ts +9 -0
- package/src/actions/BackButton.tsx +1 -1
- package/src/actions/ContinueButton.tsx +6 -5
- package/src/actions/PermissionButton.tsx +3 -3
- package/src/context/Liveness3DContext.tsx +11 -24
- package/src/helpers/Liveness3DHelper.tsx +1 -1
- package/src/index.tsx +27 -131
- package/src/interfaces/Liveness3DHelper.tsx +4 -2
- package/src/screens/Liveness3D/InstructionsView.tsx +0 -2
- package/src/screens/PermissionView.tsx +0 -1
- package/src/utils/continueButton.tsx +3 -10
- package/src/utils/permissions.tsx +9 -26
- package/android/settings.gradle +0 -6
- package/ios/Podfile +0 -13
- package/ios/Podfile.lock +0 -38
- package/ios/Pods/Manifest.lock +0 -38
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/Info.plist +0 -46
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Headers/OICommons-Swift.h +0 -327
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Headers/OICommons.h +0 -15
- 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 +0 -9
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -1818
- 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 +0 -1818
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64/OICommons.framework/Modules/module.modulemap +0 -11
- 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 +0 -20
- 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 +0 -650
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Headers/OICommons.h +0 -15
- 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 +0 -9
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -1818
- 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 +0 -1818
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -9
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/OICommons.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -1818
- 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 +0 -1818
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework/ios-arm64_x86_64-simulator/OICommons.framework/Modules/module.modulemap +0 -11
- 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 +0 -311
- package/ios/Pods/OICommons/Frameworks/OICommons.xcframework.zip +0 -0
- package/ios/Pods/OICommons/README.md +0 -1
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/Info.plist +0 -46
- 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 +0 -455
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Headers/OIComponents.h +0 -18
- 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 +0 -9
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -732
- 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 +0 -732
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64/OIComponents.framework/Modules/module.modulemap +0 -11
- 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 +0 -20
- 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_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 +0 -906
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Headers/OIComponents.h +0 -18
- 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 +0 -9
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -732
- 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 +0 -732
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -9
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/OIComponents.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -732
- 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 +0 -732
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework/ios-arm64_x86_64-simulator/OIComponents.framework/Modules/module.modulemap +0 -11
- 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 +0 -256
- package/ios/Pods/OIComponents/Frameworks/OIComponents.xcframework.zip +0 -0
- package/ios/Pods/OIComponents/README.md +0 -1
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/Info.plist +0 -46
- 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 +0 -343
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Headers/OILiveness3D.h +0 -18
- 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/Media/Por_favor_pressione_o_botao_para_iniciar.mp3 +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/Toque_duas_veezs_em_qualquer_lugar_da_tela.mp3 +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/carregando.mp3 +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/escaneamento_feito_com_sucesso.mp3 +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/por_favor_chegue_mais_perto.mp3 +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/por_favor_tente_novamente.mp3 +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/prepare-se_para_seu_reconhecimento_facial.mp3 +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/rosto_muito_longe.mp3 +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/segure_firme.mp3 +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/suporte_vocal_desligado.mp3 +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Media/suporte_vocal_ligado.mp3 +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.abi.json +0 -9
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -226
- 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 +0 -226
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/OILiveness3D.framework/Modules/module.modulemap +0 -11
- 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 +0 -20
- 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 +0 -1818
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OIComponents.swiftinterface +0 -732
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OINetwork.swiftinterface +0 -144
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64/dSYMs/OILiveness3D.framework.dSYM/Contents/Resources/Swift/aarch64/OISecurity.swiftinterface +0 -164
- 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 +0 -682
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Headers/OILiveness3D.h +0 -18
- 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/Media/Por_favor_pressione_o_botao_para_iniciar.mp3 +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/Toque_duas_veezs_em_qualquer_lugar_da_tela.mp3 +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/carregando.mp3 +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/escaneamento_feito_com_sucesso.mp3 +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/por_favor_chegue_mais_perto.mp3 +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/por_favor_tente_novamente.mp3 +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/prepare-se_para_seu_reconhecimento_facial.mp3 +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/rosto_muito_longe.mp3 +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/segure_firme.mp3 +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/suporte_vocal_desligado.mp3 +0 -0
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Media/suporte_vocal_ligado.mp3 +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 +0 -9
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -226
- 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 +0 -226
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -9
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/OILiveness3D.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -226
- 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 +0 -226
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework/ios-arm64_x86_64-simulator/OILiveness3D.framework/Modules/module.modulemap +0 -11
- 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 +0 -377
- package/ios/Pods/OILiveness3D/Framework/OILiveness3D.xcframework.zip +0 -0
- package/ios/Pods/OILiveness3D/README.md +0 -32
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/Info.plist +0 -44
- 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 +0 -1932
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecPublicStringKeys.h +0 -105
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/Headers/FaceTecSDK.h +0 -16
- 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 +0 -6
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64/FaceTecSDK.framework/PrivacyInfo.xcprivacy +0 -29
- 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/FaceTecIDFeedbackViewController.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/QWA-8Y-vUM-view-wJB-Z5-eD2.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 +0 -137
- 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 +0 -62
- 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 +0 -1932
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecPublicStringKeys.h +0 -105
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecSDK.h +0 -16
- 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 +0 -6
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_x86_64-simulator/FaceTecSDK.framework/_CodeSignature/CodeResources +0 -146
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework.zip +0 -0
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/Info.plist +0 -46
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Headers/OINetwork-Swift.h +0 -312
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Headers/OINetwork.h +0 -15
- 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 +0 -9
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -144
- 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 +0 -144
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64/OINetwork.framework/Modules/module.modulemap +0 -11
- 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 +0 -20
- 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 +0 -1818
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Headers/OINetwork-Swift.h +0 -620
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Headers/OINetwork.h +0 -15
- 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 +0 -9
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -144
- 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 +0 -144
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -9
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/OINetwork.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -144
- 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 +0 -144
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework/ios-arm64_x86_64-simulator/OINetwork.framework/Modules/module.modulemap +0 -11
- 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 +0 -245
- package/ios/Pods/OINetwork/Frameworks/OINetwork.xcframework.zip +0 -0
- package/ios/Pods/OINetwork/README.md +0 -1
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/Info.plist +0 -46
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Headers/OISecurity-Swift.h +0 -311
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Headers/OISecurity.h +0 -16
- 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 +0 -9
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios.private.swiftinterface +0 -164
- 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 +0 -164
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/OISecurity.framework/Modules/module.modulemap +0 -11
- 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/PrivacyInfo.xcprivacy +0 -37
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/dSYMs/OISecurity.framework.dSYM/Contents/Info.plist +0 -20
- 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/OICommons.swiftinterface +0 -1818
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64/dSYMs/OISecurity.framework.dSYM/Contents/Resources/Swift/aarch64/OINetwork.swiftinterface +0 -144
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Headers/OISecurity-Swift.h +0 -618
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Headers/OISecurity.h +0 -16
- 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 +0 -9
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -164
- 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 +0 -164
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -9
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/OISecurity.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +0 -164
- 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 +0 -164
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/Modules/module.modulemap +0 -11
- 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/PrivacyInfo.xcprivacy +0 -37
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework/ios-arm64_x86_64-simulator/OISecurity.framework/_CodeSignature/CodeResources +0 -256
- package/ios/Pods/OISecurity/Frameworks/OISecurity.xcframework.zip +0 -0
- package/ios/Pods/OISecurity/README.md +0 -1
- package/ios/Pods/Pods.xcodeproj/project.pbxproj +0 -1239
- package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OICommons.xcscheme +0 -58
- package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OIComponents.xcscheme +0 -58
- package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OILiveness3D.xcscheme +0 -58
- package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OILiveness3D_FT.xcscheme +0 -58
- package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OINetwork.xcscheme +0 -58
- package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/OISecurity.xcscheme +0 -58
- package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/Pods-RnLiveness3d.xcscheme +0 -58
- package/ios/Pods/Pods.xcodeproj/xcuserdata/gabrielcatelligoulart.xcuserdatad/xcschemes/xcschememanagement.plist +0 -46
- package/ios/Pods/Target Support Files/OICommons/OICommons-xcframeworks.sh +0 -121
- package/ios/Pods/Target Support Files/OICommons/OICommons.debug.xcconfig +0 -15
- package/ios/Pods/Target Support Files/OICommons/OICommons.release.xcconfig +0 -15
- package/ios/Pods/Target Support Files/OIComponents/OIComponents-xcframeworks.sh +0 -121
- package/ios/Pods/Target Support Files/OIComponents/OIComponents.debug.xcconfig +0 -15
- package/ios/Pods/Target Support Files/OIComponents/OIComponents.release.xcconfig +0 -15
- package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D-xcframeworks.sh +0 -121
- package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D.debug.xcconfig +0 -16
- package/ios/Pods/Target Support Files/OILiveness3D/OILiveness3D.release.xcconfig +0 -16
- package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT-xcframeworks.sh +0 -121
- package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT.debug.xcconfig +0 -13
- package/ios/Pods/Target Support Files/OILiveness3D_FT/OILiveness3D_FT.release.xcconfig +0 -13
- package/ios/Pods/Target Support Files/OINetwork/OINetwork-xcframeworks.sh +0 -121
- package/ios/Pods/Target Support Files/OINetwork/OINetwork.debug.xcconfig +0 -16
- package/ios/Pods/Target Support Files/OINetwork/OINetwork.release.xcconfig +0 -16
- package/ios/Pods/Target Support Files/OISecurity/OISecurity-xcframeworks.sh +0 -121
- package/ios/Pods/Target Support Files/OISecurity/OISecurity.debug.xcconfig +0 -16
- package/ios/Pods/Target Support Files/OISecurity/OISecurity.release.xcconfig +0 -16
- package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-Info.plist +0 -26
- package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-acknowledgements.markdown +0 -23
- package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-acknowledgements.plist +0 -79
- package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-dummy.m +0 -5
- package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-umbrella.h +0 -16
- package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.debug.xcconfig +0 -14
- package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.modulemap +0 -6
- package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d.release.xcconfig +0 -14
- package/ios/RnLiveness3d-Bridging-Header.h +0 -2
- package/ios/RnLiveness3d.m +0 -34
- package/ios/RnLiveness3d.xcodeproj/project.pbxproj +0 -337
- package/ios/RnLiveness3d.xcodeproj/xcshareddata/xcschemes/RnLiveness3d.xcscheme +0 -80
- package/ios/RnLiveness3d.xcworkspace/contents.xcworkspacedata +0 -10
- package/ios/RnLiveness3d.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/ios/info.plist +0 -8
- package/lib/commonjs/@types/ArgsType.js +0 -6
- package/lib/commonjs/@types/ArgsType.js.map +0 -1
- package/lib/commonjs/@types/FontsType.js +0 -2
- package/lib/commonjs/@types/FontsType.js.map +0 -1
- package/lib/commonjs/@types/ResultType.js +0 -2
- package/lib/commonjs/@types/ResultType.js.map +0 -1
- package/lib/commonjs/@types/ResultTypes.js +0 -6
- package/lib/commonjs/@types/ResultTypes.js.map +0 -1
- package/lib/commonjs/@types/TextsType.js +0 -2
- package/lib/commonjs/@types/TextsType.js.map +0 -1
- package/lib/commonjs/@types/ThemeType.js +0 -2
- package/lib/commonjs/@types/ThemeType.js.map +0 -1
- package/lib/commonjs/actions/BackButton.js +0 -35
- package/lib/commonjs/actions/BackButton.js.map +0 -1
- package/lib/commonjs/actions/ContinueButton.js +0 -43
- package/lib/commonjs/actions/ContinueButton.js.map +0 -1
- package/lib/commonjs/actions/PermissionButton.js +0 -35
- package/lib/commonjs/actions/PermissionButton.js.map +0 -1
- package/lib/commonjs/assets/fonts/Ubuntu-Bold.ttf +0 -0
- package/lib/commonjs/assets/fonts/Ubuntu-BoldItalic.ttf +0 -0
- package/lib/commonjs/assets/fonts/Ubuntu-Italic.ttf +0 -0
- package/lib/commonjs/assets/fonts/Ubuntu-Light.ttf +0 -0
- package/lib/commonjs/assets/fonts/Ubuntu-LightItalic.ttf +0 -0
- package/lib/commonjs/assets/fonts/Ubuntu-Medium.ttf +0 -0
- package/lib/commonjs/assets/fonts/Ubuntu-MediumItalic.ttf +0 -0
- package/lib/commonjs/assets/fonts/Ubuntu-Regular.ttf +0 -0
- package/lib/commonjs/assets/images/acessories.png +0 -0
- package/lib/commonjs/assets/images/camera.png +0 -0
- package/lib/commonjs/assets/images/camera_alt.png +0 -0
- package/lib/commonjs/assets/images/face.png +0 -0
- package/lib/commonjs/assets/images/illumination.png +0 -0
- package/lib/commonjs/assets/images/imgOp.png +0 -0
- package/lib/commonjs/assets/images/img_face.png +0 -0
- package/lib/commonjs/assets/images/left-arrow-b.png +0 -0
- package/lib/commonjs/assets/images/left-arrow.png +0 -0
- package/lib/commonjs/assets/images/lightbulb_outline.png +0 -0
- package/lib/commonjs/assets/images/padlock.png +0 -0
- package/lib/commonjs/assets/images/rigth-arrow.png +0 -0
- package/lib/commonjs/assets/images/scan-facial.png +0 -0
- package/lib/commonjs/assets/images/wave_bg.png +0 -0
- package/lib/commonjs/assets/images/wave_bg2.png +0 -0
- package/lib/commonjs/context/Liveness3DContext.js +0 -104
- package/lib/commonjs/context/Liveness3DContext.js.map +0 -1
- package/lib/commonjs/helpers/Liveness3DHelper.js +0 -34
- package/lib/commonjs/helpers/Liveness3DHelper.js.map +0 -1
- package/lib/commonjs/index.js +0 -223
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/interfaces/Liveness3DHelper.js +0 -6
- package/lib/commonjs/interfaces/Liveness3DHelper.js.map +0 -1
- package/lib/commonjs/interfaces/OitiBackButtonInterface.js +0 -6
- package/lib/commonjs/interfaces/OitiBackButtonInterface.js.map +0 -1
- package/lib/commonjs/interfaces/OitiContinueButton.js +0 -6
- package/lib/commonjs/interfaces/OitiContinueButton.js.map +0 -1
- package/lib/commonjs/interfaces/OitiPermissionButtonInterface.js +0 -6
- package/lib/commonjs/interfaces/OitiPermissionButtonInterface.js.map +0 -1
- package/lib/commonjs/screens/Liveness3D/InstructionsView.js +0 -209
- package/lib/commonjs/screens/Liveness3D/InstructionsView.js.map +0 -1
- package/lib/commonjs/screens/PermissionView.js +0 -177
- package/lib/commonjs/screens/PermissionView.js.map +0 -1
- package/lib/commonjs/utils/continueButton.js +0 -17
- package/lib/commonjs/utils/continueButton.js.map +0 -1
- package/lib/commonjs/utils/normalize.js +0 -16
- package/lib/commonjs/utils/normalize.js.map +0 -1
- package/lib/commonjs/utils/permissions.js +0 -30
- package/lib/commonjs/utils/permissions.js.map +0 -1
- package/lib/commonjs/utils/screenStore.js +0 -12
- package/lib/commonjs/utils/screenStore.js.map +0 -1
- package/lib/typescript/@types/ArgsType.d.ts +0 -19
- package/lib/typescript/@types/ArgsType.d.ts.map +0 -1
- package/lib/typescript/@types/FontsType.d.ts +0 -12
- package/lib/typescript/@types/FontsType.d.ts.map +0 -1
- package/lib/typescript/@types/ResultType.d.ts +0 -13
- package/lib/typescript/@types/ResultType.d.ts.map +0 -1
- package/lib/typescript/@types/ResultTypes.d.ts +0 -6
- package/lib/typescript/@types/ResultTypes.d.ts.map +0 -1
- package/lib/typescript/@types/TextsType.d.ts +0 -36
- package/lib/typescript/@types/TextsType.d.ts.map +0 -1
- package/lib/typescript/@types/ThemeType.d.ts +0 -48
- package/lib/typescript/@types/ThemeType.d.ts.map +0 -1
- package/lib/typescript/actions/BackButton.d.ts +0 -4
- package/lib/typescript/actions/BackButton.d.ts.map +0 -1
- package/lib/typescript/actions/ContinueButton.d.ts +0 -4
- package/lib/typescript/actions/ContinueButton.d.ts.map +0 -1
- package/lib/typescript/actions/PermissionButton.d.ts +0 -4
- package/lib/typescript/actions/PermissionButton.d.ts.map +0 -1
- package/lib/typescript/context/Liveness3DContext.d.ts +0 -28
- package/lib/typescript/context/Liveness3DContext.d.ts.map +0 -1
- package/lib/typescript/helpers/Liveness3DHelper.d.ts +0 -4
- package/lib/typescript/helpers/Liveness3DHelper.d.ts.map +0 -1
- package/lib/typescript/index.d.ts +0 -32
- package/lib/typescript/index.d.ts.map +0 -1
- package/lib/typescript/interfaces/Liveness3DHelper.d.ts +0 -7
- package/lib/typescript/interfaces/Liveness3DHelper.d.ts.map +0 -1
- package/lib/typescript/interfaces/OitiBackButtonInterface.d.ts +0 -6
- package/lib/typescript/interfaces/OitiBackButtonInterface.d.ts.map +0 -1
- package/lib/typescript/interfaces/OitiContinueButton.d.ts +0 -6
- package/lib/typescript/interfaces/OitiContinueButton.d.ts.map +0 -1
- package/lib/typescript/interfaces/OitiPermissionButtonInterface.d.ts +0 -6
- package/lib/typescript/interfaces/OitiPermissionButtonInterface.d.ts.map +0 -1
- package/lib/typescript/screens/Liveness3D/InstructionsView.d.ts +0 -6
- package/lib/typescript/screens/Liveness3D/InstructionsView.d.ts.map +0 -1
- package/lib/typescript/screens/PermissionView.d.ts +0 -6
- package/lib/typescript/screens/PermissionView.d.ts.map +0 -1
- package/lib/typescript/utils/continueButton.d.ts +0 -2
- package/lib/typescript/utils/continueButton.d.ts.map +0 -1
- package/lib/typescript/utils/normalize.d.ts +0 -2
- package/lib/typescript/utils/normalize.d.ts.map +0 -1
- package/lib/typescript/utils/permissions.d.ts +0 -4
- package/lib/typescript/utils/permissions.d.ts.map +0 -1
- package/lib/typescript/utils/screenStore.d.ts +0 -5
- package/lib/typescript/utils/screenStore.d.ts.map +0 -1
|
@@ -1,16 +1,33 @@
|
|
|
1
1
|
package br.com.oiti.rnliveness3d
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
import com.facebook.react.BaseReactPackage
|
|
3
4
|
import com.facebook.react.bridge.NativeModule
|
|
4
5
|
import com.facebook.react.bridge.ReactApplicationContext
|
|
5
|
-
import com.facebook.react.
|
|
6
|
+
import com.facebook.react.module.model.ReactModuleInfo
|
|
7
|
+
import com.facebook.react.module.model.ReactModuleInfoProvider
|
|
8
|
+
import java.util.HashMap
|
|
6
9
|
|
|
7
|
-
class RnLiveness3dPackage :
|
|
8
|
-
override fun
|
|
9
|
-
return
|
|
10
|
+
class RnLiveness3dPackage : BaseReactPackage() {
|
|
11
|
+
override fun getModule(name: String, reactContext: ReactApplicationContext): NativeModule? {
|
|
12
|
+
return if (name == RnLiveness3dModule.NAME) {
|
|
13
|
+
RnLiveness3dModule(reactContext)
|
|
14
|
+
} else {
|
|
15
|
+
null
|
|
16
|
+
}
|
|
10
17
|
}
|
|
11
18
|
|
|
12
|
-
override fun
|
|
13
|
-
return
|
|
19
|
+
override fun getReactModuleInfoProvider(): ReactModuleInfoProvider {
|
|
20
|
+
return ReactModuleInfoProvider {
|
|
21
|
+
val moduleInfos: MutableMap<String, ReactModuleInfo> = HashMap()
|
|
22
|
+
moduleInfos[RnLiveness3dModule.NAME] = ReactModuleInfo(
|
|
23
|
+
RnLiveness3dModule.NAME,
|
|
24
|
+
RnLiveness3dModule.NAME,
|
|
25
|
+
false,
|
|
26
|
+
false,
|
|
27
|
+
false,
|
|
28
|
+
true
|
|
29
|
+
)
|
|
30
|
+
moduleInfos
|
|
31
|
+
}
|
|
14
32
|
}
|
|
15
|
-
|
|
16
33
|
}
|
|
@@ -2,43 +2,37 @@ package br.com.oiti.rnliveness3d.theme
|
|
|
2
2
|
|
|
3
3
|
import br.com.oiti.liveness3d.data.model.Liveness3DFontsKey
|
|
4
4
|
|
|
5
|
-
class Liveness3DFonts(private val fontsBuilder: Map<String,String?>?) {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
?: ""
|
|
25
|
-
private val guidanceCustomizationButtonFont: String =
|
|
26
|
-
("fonts/" + fontsBuilder?.get("guidanceCustomizationButtonFont")?.lowercase() + ".ttf")
|
|
27
|
-
?: ""
|
|
28
|
-
private val feedbackCustomizationTextFont: String =
|
|
29
|
-
("fonts/" + fontsBuilder?.get("feedbackCustomizationTextFont")?.lowercase() + ".ttf") ?: ""
|
|
5
|
+
class Liveness3DFonts(private val fontsBuilder: Map<String, String?>?) {
|
|
6
|
+
private val guidanceCustomizationHeaderFont: String =
|
|
7
|
+
fontsBuilder?.get("guidanceCustomizationHeaderFont")?.lowercase() + ".ttf"
|
|
8
|
+
private val guidanceCustomizationSubtextFont: String =
|
|
9
|
+
("fonts/" + fontsBuilder?.get("guidanceCustomizationSubtextFont")?.lowercase() + ".ttf")
|
|
10
|
+
private val readyScreenCustomizationHeaderFont: String =
|
|
11
|
+
("fonts/" + fontsBuilder?.get("readyScreenCustomizationHeaderFont")?.lowercase() + ".ttf")
|
|
12
|
+
private val readyScreenCustomizationSubtextFont: String =
|
|
13
|
+
("fonts/" + fontsBuilder?.get("readyScreenCustomizationSubtextFont")?.lowercase() + ".ttf")
|
|
14
|
+
private val retryScreenCustomizationHeaderFont: String =
|
|
15
|
+
("fonts/" + fontsBuilder?.get("retryScreenCustomizationHeaderFont")?.lowercase() + ".ttf")
|
|
16
|
+
private val retryScreenCustomizationSubtextFont: String =
|
|
17
|
+
("fonts/" + fontsBuilder?.get("retryScreenCustomizationSubtextFont")?.lowercase() + ".ttf")
|
|
18
|
+
private val resultScreenCustomizationMessageFont: String =
|
|
19
|
+
("fonts/" + fontsBuilder?.get("resultScreenCustomizationMessageFont")?.lowercase() + ".ttf")
|
|
20
|
+
private val guidanceCustomizationButtonFont: String =
|
|
21
|
+
("fonts/" + fontsBuilder?.get("guidanceCustomizationButtonFont")?.lowercase() + ".ttf")
|
|
22
|
+
private val feedbackCustomizationTextFont: String =
|
|
23
|
+
("fonts/" + fontsBuilder?.get("feedbackCustomizationTextFont")?.lowercase() + ".ttf")
|
|
30
24
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
25
|
+
fun apply(): HashMap<Liveness3DFontsKey, String> {
|
|
26
|
+
return hashMapOf(
|
|
27
|
+
Liveness3DFontsKey.GUIDANCE_CUSTOMIZATION_HEADER_FONT to guidanceCustomizationHeaderFont,
|
|
28
|
+
Liveness3DFontsKey.GUIDANCE_CUSTOMIZATION_SUBTEXT_FONT to guidanceCustomizationSubtextFont,
|
|
29
|
+
Liveness3DFontsKey.GUIDANCE_CUSTOMIZATION_READY_SCREEN_HEADER_FONT to readyScreenCustomizationHeaderFont,
|
|
30
|
+
Liveness3DFontsKey.GUIDANCE_CUSTOMIZATION_READY_SCREEN_SUBTEXT_FONT to readyScreenCustomizationSubtextFont,
|
|
31
|
+
Liveness3DFontsKey.GUIDANCE_CUSTOMIZATION_RETRY_SCREEN_HEADER_FONT to retryScreenCustomizationHeaderFont,
|
|
32
|
+
Liveness3DFontsKey.GUIDANCE_CUSTOMIZATION_RETRY_SCREEN_SUBTEXT_FONT to retryScreenCustomizationSubtextFont,
|
|
33
|
+
Liveness3DFontsKey.RESULT_SCREEN_CUSTOMIZATION_MESSAGE_FONT to resultScreenCustomizationMessageFont,
|
|
34
|
+
Liveness3DFontsKey.GUIDANCE_CUSTOMIZATION_BUTTON_FONT to guidanceCustomizationButtonFont,
|
|
35
|
+
Liveness3DFontsKey.FEEDBACK_CUSTOMIZATION_TEXT_FONT to feedbackCustomizationTextFont,
|
|
36
|
+
)
|
|
37
|
+
}
|
|
44
38
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
package br.com.oiti.rnliveness3d.theme
|
|
2
2
|
|
|
3
|
-
import android.util.Log
|
|
4
3
|
import br.com.oiti.liveness3d.data.model.Liveness3DTextKey
|
|
5
4
|
|
|
6
5
|
class Liveness3DText {
|
|
7
6
|
fun getTextKey(identifier: String): Liveness3DTextKey? {
|
|
8
|
-
return when(identifier) {
|
|
7
|
+
return when (identifier) {
|
|
9
8
|
/* Ready */
|
|
10
9
|
"READY_HEADER_1" -> Liveness3DTextKey.READY_HEADER_1
|
|
11
10
|
"READY_HEADER_2" -> Liveness3DTextKey.READY_HEADER_2
|
|
@@ -49,6 +48,7 @@ class Liveness3DText {
|
|
|
49
48
|
else -> null
|
|
50
49
|
}
|
|
51
50
|
}
|
|
51
|
+
|
|
52
52
|
fun getTexts(textsBuilder: Map<String, String?>?): HashMap<Liveness3DTextKey, String> {
|
|
53
53
|
val hashMap = HashMap<Liveness3DTextKey, String>()
|
|
54
54
|
if (textsBuilder != null) {
|
|
@@ -58,7 +58,9 @@ class Liveness3DText {
|
|
|
58
58
|
val value = it.value
|
|
59
59
|
if (key != null && value != null) {
|
|
60
60
|
Pair(key, value)
|
|
61
|
-
} else {
|
|
61
|
+
} else {
|
|
62
|
+
null
|
|
63
|
+
}
|
|
62
64
|
}
|
|
63
65
|
.toMap()
|
|
64
66
|
hashMap.putAll(textsMap)
|
|
@@ -1,147 +1,229 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
1
|
+
package br.com.oiti.rnliveness3d.theme
|
|
2
|
+
|
|
3
|
+
import androidx.annotation.DrawableRes
|
|
4
|
+
import br.com.oiti.liveness3d.theme.Liveness3DTheme
|
|
5
|
+
|
|
6
|
+
class Liveness3DTheme(
|
|
7
|
+
private var themeBuilder: Map<String, String?>?,
|
|
8
|
+
) {
|
|
9
|
+
//Guidance customization
|
|
10
|
+
private val guidanceCustomizationBackgroundColors: String? =
|
|
11
|
+
themeBuilder?.get("guidanceCustomizationBackgroundColors") ?: "#FFFFFF"
|
|
12
|
+
private val guidanceCustomizationForegroundColor: String? =
|
|
13
|
+
themeBuilder?.get("guidanceCustomizationForegroundColor") ?: "#FFFFFF"
|
|
14
|
+
|
|
15
|
+
//Buttons
|
|
16
|
+
private val guidanceCustomizationButtonTextNormalColor: String? =
|
|
17
|
+
themeBuilder?.get("guidanceCustomizationForegroundColor") ?: "#000000"
|
|
18
|
+
private val guidanceCustomizationButtonBackgroundNormalColor: String? =
|
|
19
|
+
themeBuilder?.get("guidanceCustomizationButtonBackgroundNormalColor") ?: "#4bb75f"
|
|
20
|
+
|
|
21
|
+
private val guidanceCustomizationButtonTextHighlightColor: String? =
|
|
22
|
+
themeBuilder?.get("guidanceCustomizationButtonTextHighlightColor") ?: "#000000"
|
|
23
|
+
private val guidanceCustomizationButtonBackgroundHighlightColor: String? =
|
|
24
|
+
themeBuilder?.get("guidanceCustomizationButtonBackgroundHighlightColor") ?: "#000000"
|
|
25
|
+
private val guidanceCustomizationButtonTextDisabledColor: String? =
|
|
26
|
+
themeBuilder?.get("guidanceCustomizationButtonTextDisabledColor") ?: "#333333"
|
|
27
|
+
private val guidanceCustomizationButtonBackgroundDisabledColor: String? =
|
|
28
|
+
themeBuilder?.get("guidanceCustomizationButtonBackgroundDisabledColor") ?: "#333333"
|
|
29
|
+
private val guidanceCustomizationButtonBorderColor: String? =
|
|
30
|
+
themeBuilder?.get("guidanceCustomizationButtonBorderColor") ?: "#000000"
|
|
31
|
+
private val guidanceCustomizationButtonBorderWidth: Int? =
|
|
32
|
+
themeBuilder?.get("guidanceCustomizationButtonBorderWidth")?.toInt() ?: 0
|
|
33
|
+
private val guidanceCustomizationButtonCornerRadius: Int? =
|
|
34
|
+
themeBuilder?.get("guidanceCustomizationButtonCornerRadius")?.toInt() ?: 25
|
|
35
|
+
|
|
36
|
+
//Ready Screen
|
|
37
|
+
private val guidanceCustomizationReadyScreenHeaderTextColor: String? =
|
|
38
|
+
themeBuilder?.get("guidanceCustomizationReadyScreenHeaderTextColor") ?: "#000000"
|
|
39
|
+
private val guidanceCustomizationReadyScreenSubtextTextColor: String? =
|
|
40
|
+
themeBuilder?.get("guidanceCustomizationReadyScreenSubtextTextColor") ?: "#333333"
|
|
41
|
+
|
|
42
|
+
//Retry Screen
|
|
43
|
+
private val guidanceCustomizationRetryScreenHeaderTextColor: String? =
|
|
44
|
+
themeBuilder?.get("guidanceCustomizationRetryScreenHeaderTextColor") ?: "#000000"
|
|
45
|
+
private val guidanceCustomizationRetryScreenSubtextTextColor: String? =
|
|
46
|
+
themeBuilder?.get("guidanceCustomizationRetryScreenSubtextTextColor") ?: "#333333"
|
|
47
|
+
private val guidanceCustomizationReadyScreenOvalFillColor: String? =
|
|
48
|
+
themeBuilder?.get("guidanceCustomizationReadyScreenOvalFillColor") ?: "#000000"
|
|
49
|
+
private val guidanceCustomizationReadyScreenTextBackgroundColor: String? =
|
|
50
|
+
themeBuilder?.get("guidanceCustomizationReadyScreenTextBackgroundColor") ?: "#4bb75f"
|
|
51
|
+
private val guidanceCustomizationReadyScreenTextBackgroundCornerRadius: Int? =
|
|
52
|
+
themeBuilder?.get("guidanceCustomizationReadyScreenTextBackgroundCornerRadius")?.toInt() ?: 0
|
|
53
|
+
private val guidanceCustomizationRetryScreenImageBorderColor: String? =
|
|
54
|
+
themeBuilder?.get("guidanceCustomizationRetryScreenImageBorderColor") ?: "#4bb75f"
|
|
55
|
+
private val guidanceCustomizationRetryScreenImageBorderWidth: Int? =
|
|
56
|
+
themeBuilder?.get("guidanceCustomizationRetryScreenImageBorderWidth")?.toInt() ?: 0
|
|
57
|
+
private val guidanceCustomizationRetryScreenImageCornerRadius: Int? =
|
|
58
|
+
themeBuilder?.get("guidanceCustomizationRetryScreenImageCornerRadius")?.toInt() ?: 3
|
|
59
|
+
private val guidanceCustomizationRetryScreenOvalStrokeColor: String? =
|
|
60
|
+
themeBuilder?.get("guidanceCustomizationRetryScreenOvalStrokeColor") ?: "#4bb75f"
|
|
61
|
+
|
|
62
|
+
//Result Screen Customization
|
|
63
|
+
private val resultScreenCustomizationAnimationRelativeScale: Float = 1.0F
|
|
64
|
+
private val resultScreenCustomizationForegroundColor: String? =
|
|
65
|
+
themeBuilder?.get("resultScreenCustomizationForegroundColor") ?: "#FFFFFF"
|
|
66
|
+
private val resultScreenCustomizationBackgroundColors: String? =
|
|
67
|
+
themeBuilder?.get("resultScreenCustomizationBackgroundColors") ?: "#FFFFFF"
|
|
68
|
+
private val resultScreenCustomizationActivityIndicatorColor: String? =
|
|
69
|
+
themeBuilder?.get("resultScreenCustomizationActivityIndicatorColor") ?: "#FFFFFF"
|
|
70
|
+
|
|
71
|
+
@DrawableRes
|
|
72
|
+
private val resultScreenCustomizationCustomActivityIndicatorImage: Int? = null
|
|
73
|
+
private val resultScreenCustomizationCustomActivityIndicatorRotationInterval: Int = 1000
|
|
74
|
+
private val resultScreenCustomizationCustomActivityIndicatorAnimation: Int = 0
|
|
75
|
+
private val resultScreenCustomizationShowUploadProgressBar: Boolean = true
|
|
76
|
+
private val resultScreenCustomizationUploadProgressFillColor: String? =
|
|
77
|
+
themeBuilder?.get("resultScreenCustomizationUploadProgressFillColor") ?: "#4bb75f"
|
|
78
|
+
private val resultScreenCustomizationUploadProgressTrackColor: String? =
|
|
79
|
+
themeBuilder?.get("resultScreenCustomizationUploadProgressTrackColor") ?: "#333333"
|
|
80
|
+
private val resultScreenCustomizationResultAnimationBackgroundColor: String? =
|
|
81
|
+
themeBuilder?.get("resultScreenCustomizationResultAnimationBackgroundColor") ?: "#05D758"
|
|
82
|
+
private val resultScreenCustomizationResultAnimationForegroundColor: String? =
|
|
83
|
+
themeBuilder?.get("resultScreenCustomizationResultAnimationForegroundColor") ?: "#FFFFFF"
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
//Oval Customization
|
|
87
|
+
private val ovalCustomizationStrokeWidth: Int? =
|
|
88
|
+
themeBuilder?.get("ovalCustomizationStrokeWidth")?.toInt() ?: 3
|
|
89
|
+
private val ovalCustomizationStrokeColor: String? =
|
|
90
|
+
themeBuilder?.get("ovalCustomizationStrokeColor") ?: "#4bb75f"
|
|
91
|
+
private val ovalCustomizationProgressStrokeWidth: Int? =
|
|
92
|
+
themeBuilder?.get("ovalCustomizationProgressStrokeWidth")?.toInt() ?: 2
|
|
93
|
+
private val ovalCustomizationProgressColor1: String? =
|
|
94
|
+
themeBuilder?.get("ovalCustomizationProgressColor1") ?: "#4bb75f"
|
|
95
|
+
private val ovalCustomizationProgressColor2: String? =
|
|
96
|
+
themeBuilder?.get("ovalCustomizationProgressColor2") ?: "#4bb75f"
|
|
97
|
+
private val ovalCustomizationProgressRadialOffset: Int? =
|
|
98
|
+
themeBuilder?.get("ovalCustomizationProgressRadialOffset")?.toInt() ?: 2
|
|
99
|
+
|
|
100
|
+
//Frame Customization
|
|
101
|
+
private val frameCustomizationBorderWidth: Int? =
|
|
102
|
+
themeBuilder?.get("frameCustomizationBorderWidth")?.toInt() ?: 0
|
|
103
|
+
private val frameCustomizationCornerRadius: Int? =
|
|
104
|
+
themeBuilder?.get("frameCustomizationCornerRadius")?.toInt() ?: 0
|
|
105
|
+
private val frameCustomizationBorderColor: String? =
|
|
106
|
+
themeBuilder?.get("frameCustomizationBorderColor") ?: "#4bb75f"
|
|
107
|
+
private val frameCustomizationBackgroundColor: String? =
|
|
108
|
+
themeBuilder?.get("frameCustomizationBackgroundColor") ?: "#FFFFFF"
|
|
109
|
+
private val frameCustomizationElevation: Int? =
|
|
110
|
+
themeBuilder?.get("frameCustomizationElevation")?.toInt() ?: 0
|
|
111
|
+
|
|
112
|
+
//Overlay Customization
|
|
113
|
+
private val overlayCustomizationBackgroundColor: String? =
|
|
114
|
+
themeBuilder?.get("overlayCustomizationBackgroundColor") ?: "#FFFFFF"
|
|
115
|
+
|
|
116
|
+
//Feedback Customization
|
|
117
|
+
private val feedbackCustomizationCornerRadius: Int? =
|
|
118
|
+
themeBuilder?.get("feedbackCustomizationCornerRadius")?.toInt() ?: 2
|
|
119
|
+
private val feedbackCustomizationBackgroundColors: String? =
|
|
120
|
+
themeBuilder?.get("overlayCustomizationBackgroundColor") ?: "#666666"
|
|
121
|
+
private val feedbackCustomizationTextColor: String? =
|
|
122
|
+
themeBuilder?.get("feedbackCustomizationTextColor") ?: "#FFFFFF"
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
fun apply(): Liveness3DTheme {
|
|
126
|
+
return Liveness3DTheme.Builder()
|
|
127
|
+
.guidanceCustomizationBackgroundColors(guidanceCustomizationBackgroundColors)
|
|
128
|
+
.guidanceCustomizationForegroundColor(guidanceCustomizationForegroundColor)
|
|
129
|
+
//Botões
|
|
130
|
+
.guidanceCustomizationButtonTextNormalColor(guidanceCustomizationButtonTextNormalColor)
|
|
131
|
+
.guidanceCustomizationButtonBackgroundNormalColor(
|
|
132
|
+
guidanceCustomizationButtonBackgroundNormalColor
|
|
133
|
+
)
|
|
134
|
+
.guidanceCustomizationButtonTextHighlightColor(guidanceCustomizationButtonTextHighlightColor)
|
|
135
|
+
.guidanceCustomizationButtonBackgroundHighlightColor(
|
|
136
|
+
guidanceCustomizationButtonBackgroundHighlightColor
|
|
137
|
+
)
|
|
138
|
+
.guidanceCustomizationButtonTextDisabledColor(guidanceCustomizationButtonTextDisabledColor)
|
|
139
|
+
.guidanceCustomizationButtonBackgroundDisabledColor(
|
|
140
|
+
guidanceCustomizationButtonBackgroundDisabledColor
|
|
141
|
+
)
|
|
142
|
+
.guidanceCustomizationButtonBorderColor(guidanceCustomizationButtonBorderColor)
|
|
143
|
+
.guidanceCustomizationButtonBorderWidth(guidanceCustomizationButtonBorderWidth)
|
|
144
|
+
.guidanceCustomizationButtonCornerRadius(guidanceCustomizationButtonCornerRadius)
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
//Ready Screen
|
|
148
|
+
.guidanceCustomizationReadyScreenHeaderTextColor(
|
|
149
|
+
guidanceCustomizationReadyScreenHeaderTextColor
|
|
150
|
+
)
|
|
151
|
+
.guidanceCustomizationReadyScreenSubtextTextColor(
|
|
152
|
+
guidanceCustomizationReadyScreenSubtextTextColor
|
|
153
|
+
)
|
|
154
|
+
|
|
155
|
+
//Retry Screen
|
|
156
|
+
.guidanceCustomizationRetryScreenHeaderTextColor(
|
|
157
|
+
guidanceCustomizationRetryScreenHeaderTextColor
|
|
158
|
+
)
|
|
159
|
+
.guidanceCustomizationRetryScreenSubtextTextColor(
|
|
160
|
+
guidanceCustomizationRetryScreenSubtextTextColor
|
|
161
|
+
)
|
|
162
|
+
.guidanceCustomizationRetryScreenImageBorderColor(
|
|
163
|
+
guidanceCustomizationRetryScreenImageBorderColor
|
|
164
|
+
)
|
|
165
|
+
.guidanceCustomizationRetryScreenImageBorderWidth(
|
|
166
|
+
guidanceCustomizationRetryScreenImageBorderWidth
|
|
167
|
+
)
|
|
168
|
+
.guidanceCustomizationRetryScreenImageCornerRadius(
|
|
169
|
+
guidanceCustomizationRetryScreenImageCornerRadius
|
|
170
|
+
)
|
|
171
|
+
.guidanceCustomizationRetryScreenOvalStrokeColor(
|
|
172
|
+
guidanceCustomizationRetryScreenOvalStrokeColor
|
|
173
|
+
)
|
|
174
|
+
.guidanceCustomizationReadyScreenOvalFillColor(guidanceCustomizationReadyScreenOvalFillColor)
|
|
175
|
+
.guidanceCustomizationReadyScreenTextBackgroundColor(
|
|
176
|
+
guidanceCustomizationReadyScreenTextBackgroundColor
|
|
177
|
+
)
|
|
178
|
+
.guidanceCustomizationReadyScreenTextBackgroundCornerRadius(
|
|
179
|
+
guidanceCustomizationReadyScreenTextBackgroundCornerRadius
|
|
180
|
+
)
|
|
181
|
+
|
|
182
|
+
//Result Screen
|
|
183
|
+
.resultScreenCustomizationAnimationRelativeScale(
|
|
184
|
+
resultScreenCustomizationAnimationRelativeScale
|
|
185
|
+
)
|
|
186
|
+
.resultScreenCustomizationForegroundColor(resultScreenCustomizationForegroundColor)
|
|
187
|
+
.resultScreenCustomizationBackgroundColors(resultScreenCustomizationBackgroundColors)
|
|
188
|
+
.resultScreenCustomizationActivityIndicatorColor(
|
|
189
|
+
resultScreenCustomizationActivityIndicatorColor
|
|
190
|
+
)
|
|
191
|
+
.resultScreenCustomizationUploadProgressFillColor(
|
|
192
|
+
resultScreenCustomizationUploadProgressFillColor
|
|
193
|
+
)
|
|
194
|
+
.resultScreenCustomizationUploadProgressTrackColor(
|
|
195
|
+
resultScreenCustomizationUploadProgressTrackColor
|
|
196
|
+
)
|
|
197
|
+
.resultScreenCustomizationResultAnimationBackgroundColor(
|
|
198
|
+
resultScreenCustomizationResultAnimationBackgroundColor
|
|
199
|
+
)
|
|
200
|
+
.resultScreenCustomizationResultAnimationForegroundColor(
|
|
201
|
+
resultScreenCustomizationResultAnimationForegroundColor
|
|
202
|
+
)
|
|
203
|
+
|
|
204
|
+
//Oval
|
|
205
|
+
.ovalCustomizationStrokeWidth(ovalCustomizationStrokeWidth)
|
|
206
|
+
.ovalCustomizationStrokeColor(ovalCustomizationStrokeColor)
|
|
207
|
+
.ovalCustomizationProgressStrokeWidth(ovalCustomizationProgressStrokeWidth)
|
|
208
|
+
.ovalCustomizationProgressColor1(ovalCustomizationProgressColor1)
|
|
209
|
+
.ovalCustomizationProgressColor2(ovalCustomizationProgressColor2)
|
|
210
|
+
.ovalCustomizationProgressRadialOffset(ovalCustomizationProgressRadialOffset)
|
|
211
|
+
|
|
212
|
+
//Frame
|
|
213
|
+
.frameCustomizationBorderWidth(frameCustomizationBorderWidth)
|
|
214
|
+
.frameCustomizationCornerRadius(frameCustomizationCornerRadius)
|
|
215
|
+
.frameCustomizationBorderColor(frameCustomizationBorderColor)
|
|
216
|
+
.frameCustomizationBackgroundColor(frameCustomizationBackgroundColor)
|
|
217
|
+
.frameCustomizationElevation(frameCustomizationElevation)
|
|
218
|
+
|
|
219
|
+
//Overlay
|
|
220
|
+
.overlayCustomizationBackgroundColor(overlayCustomizationBackgroundColor)
|
|
221
|
+
|
|
222
|
+
//Feedback Screen
|
|
223
|
+
.feedbackCustomizationCornerRadius(feedbackCustomizationCornerRadius)
|
|
224
|
+
.feedbackCustomizationBackgroundColors(feedbackCustomizationBackgroundColors)
|
|
225
|
+
.feedbackCustomizationTextColor(feedbackCustomizationTextColor)
|
|
226
|
+
|
|
227
|
+
.build()
|
|
228
|
+
}
|
|
229
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
#import "RnLiveness3d.h"
|
|
2
|
+
#import "oiti_rn_liveness3d-Swift.h"
|
|
3
|
+
#import <React/RCTUtils.h>
|
|
4
|
+
|
|
5
|
+
@implementation RnLiveness3d {
|
|
6
|
+
RnLiveness3dSwiftModule *_module;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
+ (NSString *)moduleName
|
|
10
|
+
{
|
|
11
|
+
return @"RnLiveness3d";
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
- (instancetype)init
|
|
15
|
+
{
|
|
16
|
+
self = [super init];
|
|
17
|
+
if (self) {
|
|
18
|
+
_module = [RnLiveness3dSwiftModule new];
|
|
19
|
+
}
|
|
20
|
+
return self;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* TurboModules Bridge
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
- (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:
|
|
28
|
+
(const facebook::react::ObjCTurboModule::InitParams &)params
|
|
29
|
+
{
|
|
30
|
+
return std::make_shared<facebook::react::NativeRnLiveness3dSpecJSI>(params);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Codegen interface implementation
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
- (void)startLiveness3d:(NSDictionary *)args
|
|
38
|
+
resolve:(RCTPromiseResolveBlock)resolve
|
|
39
|
+
reject:(RCTPromiseRejectBlock)reject
|
|
40
|
+
{
|
|
41
|
+
if (_module) {
|
|
42
|
+
[_module startLiveness3d:args
|
|
43
|
+
resolve:resolve
|
|
44
|
+
reject:reject
|
|
45
|
+
presenter:^(UIViewController * _Nonnull viewController, BOOL animated) {
|
|
46
|
+
UIViewController *presentedViewController = RCTPresentedViewController();
|
|
47
|
+
[presentedViewController presentViewController:viewController animated:animated completion:nil];
|
|
48
|
+
}];
|
|
49
|
+
} else {
|
|
50
|
+
reject(@"E_MODULE_NOT_INITIALIZED", @"RnLiveness3dModule not initialized", nil);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
- (NSNumber *)checkCameraPermissionGranted
|
|
55
|
+
{
|
|
56
|
+
if (_module) {
|
|
57
|
+
BOOL result = [_module checkCameraPermissionGranted];
|
|
58
|
+
return result ? @YES : @NO;
|
|
59
|
+
}
|
|
60
|
+
return @NO;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
- (void)requestCameraPermission:(RCTResponseSenderBlock)resolve
|
|
64
|
+
{
|
|
65
|
+
if (_module) {
|
|
66
|
+
[_module requestCameraPermission:resolve];
|
|
67
|
+
} else {
|
|
68
|
+
resolve(@[@NO]);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@end
|