@oiti/rn-liveness3d 0.1.1
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/LICENSE +20 -0
- package/README.md +31 -0
- package/android/build.gradle +85 -0
- package/android/gradle.properties +5 -0
- package/android/src/main/AndroidManifest.xml +4 -0
- package/android/src/main/java/com/oiti/rnliveness3d/RnLiveness3dModule.kt +25 -0
- package/android/src/main/java/com/oiti/rnliveness3d/RnLiveness3dPackage.kt +17 -0
- package/ios/Podfile +14 -0
- package/ios/Podfile.lock +21 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/Info.plist +42 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/Assets.car +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/FaceCaptcha +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/FaceCaptchaDefaultView.nib/objects-11.0+.nib +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/FaceCaptchaDefaultView.nib/runtime.nib +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/Headers/FaceCaptcha-Swift.h +650 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/Headers/FaceCaptcha.h +19 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/Info.plist +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/Inter-Bold.otf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/Inter-Bold.ttf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/Inter-Medium.otf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/Inter-Medium.ttf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/Inter-Regular.otf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/Inter-Regular.ttf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/Inter-SemiBold.otf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/Modules/FaceCaptcha.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/Modules/FaceCaptcha.swiftmodule/arm64-apple-ios.swiftinterface +2187 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/Modules/FaceCaptcha.swiftmodule/armv7-apple-ios.swiftdoc +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/Modules/FaceCaptcha.swiftmodule/armv7-apple-ios.swiftinterface +2187 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/Modules/module.modulemap +11 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/Ubuntu-Bold.otf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/Ubuntu-Bold.ttf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/Ubuntu-Light.otf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/Ubuntu-Medium.otf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/Ubuntu-Medium.ttf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/Ubuntu-Regular.ttf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/_CodeSignature/CodeResources +1084 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_armv7/FaceCaptcha.framework/animation_loading.gif +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Assets.car +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/FaceCaptcha +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/FaceCaptchaDefaultView.nib/objects-11.0+.nib +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/FaceCaptchaDefaultView.nib/runtime.nib +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Headers/FaceCaptcha-Swift.h +974 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Headers/FaceCaptcha.h +19 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Info.plist +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Inter-Bold.otf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Inter-Bold.ttf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Inter-Medium.otf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Inter-Medium.ttf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Inter-Regular.otf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Inter-Regular.ttf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Inter-SemiBold.otf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Modules/FaceCaptcha.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Modules/FaceCaptcha.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2187 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Modules/FaceCaptcha.swiftmodule/i386-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Modules/FaceCaptcha.swiftmodule/i386-apple-ios-simulator.swiftinterface +2187 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Modules/FaceCaptcha.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Modules/FaceCaptcha.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +2187 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Modules/module.modulemap +11 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Ubuntu-Bold.otf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Ubuntu-Bold.ttf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Ubuntu-Light.otf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Ubuntu-Medium.otf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Ubuntu-Medium.ttf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/Ubuntu-Regular.ttf +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/_CodeSignature/CodeResources +582 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework/ios-arm64_i386_x86_64-simulator/FaceCaptcha.framework/animation_loading.gif +0 -0
- package/ios/Pods/FaceCaptcha/Framework/FaceCaptcha.xcframework.zip +0 -0
- package/ios/Pods/FaceCaptcha/LICENSE +1 -0
- package/ios/Pods/FaceCaptcha/README.md +98 -0
- package/ios/Pods/Manifest.lock +21 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/Info.plist +42 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/Assets.car +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/FaceTecSDK +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/GenericGuidanceContentLayout.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/Headers/FaceTecPublicApi.h +1894 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/Headers/FaceTecPublicStringKeys.h +92 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/Headers/FaceTecSDK.h +16 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/Info.plist +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/Modules/module.modulemap +6 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/ReadyScreenGuidanceContentLayout.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/RetryScreenGuidanceContentLayout.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/SharedGuidanceLayout.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/Storyboard.storyboardc/9Uo-4b-JiE-view-Ae0-rb-UqS.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/Storyboard.storyboardc/CJ6-MX-bJp-view-8JL-Rc-0g1.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/Storyboard.storyboardc/FaceScanViewController.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/Storyboard.storyboardc/FaceTecAdditionalReviewViewController.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/Storyboard.storyboardc/FaceTecOCRConfirmationViewController.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/Storyboard.storyboardc/IDCaptureViewController.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/Storyboard.storyboardc/IDSelectionViewController.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/Storyboard.storyboardc/Info.plist +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/Storyboard.storyboardc/Pyw-6G-JSY-view-Zue-Eo-Q2U.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/Storyboard.storyboardc/alz-Ia-X3d-view-IKu-EI-Hug.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/Storyboard.storyboardc/l2Q-cc-kD8-view-UUy-6c-meu.nib +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/attributions.txt +137 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/1f5b84f51ce0fcfbb76e904b7bcaa7560f601e1394a0b29367a09385312287eb +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/2b075ac1a6132b5b8a4c9ef0ba6b0cd84db7838aca9a000e50d907f40770a4ab +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/4c4774668f9b9333977fc891e7695420a0b4c27cc2c1cd3920ce9e0870e3c0e8 +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/59cc2a9af81aaca2376702c2490650f4da2775fa673274db98aad41b7ef101c0 +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/5b63e98b991aedabb60665503384f30bffd939decf9433883b30b78011ee501a +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/66388dc76dc16bc6b76b682edd218a575bf45b9b +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/6b3133f0f39ff89a2a169d61176ee17cafacc5e288f334e2b64ee82892d11ccd +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/9077d16225f9314163ef1e7db6fc7d4088bb903d134bd95f23d5591ca4dfbfca +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/Ys4TQh4aewlf1CpyzWLi +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/a74f2afb9d20f2375ccbd14e67c094b85c89ceb608f7cf8ae04f3f646a6c5672 +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/b501893e75f62ee1707643e35b21109927b07ed5b202321c961b424cbc2e4695 +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/b82962a4847bcf6d1bf89ea7543f83e184a1df7c4e7e3c343dd3e3e17cb9a645 +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/dbd7a353f0130bb983d6ba05917e9be991d70e8f028df4b74e30bc6497ef7f71 +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/f2.xml +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/fd6d368a5658496536e2bfae170d1b823a3629b242cafc09784bfba4e56d8c80 +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/marker +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/cache_uyertuazlkxcjrlwkejr/39bb748b334003e3fa/vu0ilin6we3lrzo5f83f7qs2jul4aq7v4aoynrmch8zfvpi8ezrfyafa4t0fx87l +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/en.lproj/FaceTec.strings +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_armv7/FaceTecSDK.framework/strip-unused-architectures-from-target.sh +62 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_i386_x86_64-simulator/FaceTecSDK.framework/FaceTecSDK +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_i386_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecPublicApi.h +1894 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_i386_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecPublicStringKeys.h +92 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_i386_x86_64-simulator/FaceTecSDK.framework/Headers/FaceTecSDK.h +16 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_i386_x86_64-simulator/FaceTecSDK.framework/Info.plist +0 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_i386_x86_64-simulator/FaceTecSDK.framework/Modules/module.modulemap +6 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework/ios-arm64_i386_x86_64-simulator/FaceTecSDK.framework/_CodeSignature/CodeResources +162 -0
- package/ios/Pods/OILiveness3D_FT/Framework/FaceTecSDK.xcframework.zip +0 -0
- package/ios/Pods/Pods.xcodeproj/project.pbxproj +661 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/catelli.xcuserdatad/xcschemes/FaceCaptcha.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/catelli.xcuserdatad/xcschemes/OILiveness3D_FT.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/catelli.xcuserdatad/xcschemes/Pods-RnLiveness3d.xcscheme +58 -0
- package/ios/Pods/Pods.xcodeproj/xcuserdata/catelli.xcuserdatad/xcschemes/xcschememanagement.plist +32 -0
- package/ios/Pods/Target Support Files/FaceCaptcha/FaceCaptcha-xcframeworks.sh +121 -0
- package/ios/Pods/Target Support Files/FaceCaptcha/FaceCaptcha.debug.xcconfig +15 -0
- package/ios/Pods/Target Support Files/FaceCaptcha/FaceCaptcha.release.xcconfig +15 -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/Pods-RnLiveness3d/Pods-RnLiveness3d-Info.plist +26 -0
- package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-acknowledgements.markdown +8 -0
- package/ios/Pods/Target Support Files/Pods-RnLiveness3d/Pods-RnLiveness3d-acknowledgements.plist +40 -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 +14 -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 +14 -0
- package/ios/RnLiveness3d-Bridging-Header.h +11 -0
- package/ios/RnLiveness3d.m +14 -0
- package/ios/RnLiveness3d.swift +38 -0
- package/ios/RnLiveness3d.xcodeproj/project.pbxproj +334 -0
- package/ios/RnLiveness3d.xcodeproj/project.xcworkspace/contents.xcworkspacedata +4 -0
- package/ios/RnLiveness3d.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/ios/RnLiveness3d.xcodeproj/project.xcworkspace/xcuserdata/catelli.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/RnLiveness3d.xcodeproj/xcuserdata/catelli.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
- package/ios/RnLiveness3d.xcworkspace/contents.xcworkspacedata +10 -0
- package/ios/RnLiveness3d.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/ios/RnLiveness3d.xcworkspace/xcuserdata/catelli.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/lib/commonjs/index.js +20 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/module/index.js +14 -0
- package/lib/module/index.js.map +1 -0
- package/lib/typescript/index.d.ts +2 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/oiti-rn-liveness3d.podspec +36 -0
- package/package.json +941 -0
- package/src/index.tsx +22 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
|
|
2
|
+
extern NSString *const FaceTecStringKeyAccessibilityCancelButton;
|
|
3
|
+
extern NSString *const FaceTecStringKeyAccessibilityTorchButton;
|
|
4
|
+
extern NSString *const FaceTecStringKeyActionOk;
|
|
5
|
+
extern NSString *const FaceTecStringKeyActionImReady;
|
|
6
|
+
extern NSString *const FaceTecStringKeyActionTryAgain;
|
|
7
|
+
extern NSString *const FaceTecStringKeyActionContinue;
|
|
8
|
+
extern NSString *const FaceTecStringKeyActionTakePhoto;
|
|
9
|
+
extern NSString *const FaceTecStringKeyActionRetakePhoto;
|
|
10
|
+
extern NSString *const FaceTecStringKeyActionAcceptPhoto;
|
|
11
|
+
extern NSString *const FaceTecStringKeyActionConfirm;
|
|
12
|
+
extern NSString *const FaceTecStringKeyActionScanNfc;
|
|
13
|
+
extern NSString *const FaceTecStringKeyActionScanNfcCard;
|
|
14
|
+
extern NSString *const FaceTecStringKeyActionSkipNfc;
|
|
15
|
+
extern NSString *const FaceTecStringKeyCameraPermissionHeader;
|
|
16
|
+
extern NSString *const FaceTecStringKeyCameraPermissionMessageEnroll;
|
|
17
|
+
extern NSString *const FaceTecStringKeyCameraPermissionMessageAuth;
|
|
18
|
+
extern NSString *const FaceTecStringKeyCameraPermissionEnableCamera;
|
|
19
|
+
extern NSString *const FaceTecStringKeyCameraPermissionLaunchSettings;
|
|
20
|
+
extern NSString *const FaceTecStringKeyFeedbackCenterFace;
|
|
21
|
+
extern NSString *const FaceTecStringKeyFeedbackFaceNotFound;
|
|
22
|
+
extern NSString *const FaceTecStringKeyFeedbackFaceNotLookingStraightAhead;
|
|
23
|
+
extern NSString *const FaceTecStringKeyFeedbackFaceNotUpright;
|
|
24
|
+
extern NSString *const FaceTecStringKeyFeedbackHoldSteady;
|
|
25
|
+
extern NSString *const FaceTecStringKeyFeedbackMovePhoneAway;
|
|
26
|
+
extern NSString *const FaceTecStringKeyFeedbackMovePhoneCloser;
|
|
27
|
+
extern NSString *const FaceTecStringKeyFeedbackMovePhoneToEyeLevel;
|
|
28
|
+
extern NSString *const FaceTecStringKeyFeedbackUseEvenLighting;
|
|
29
|
+
extern NSString *const FaceTecStringKeyIdscanTypeSelectionHeader;
|
|
30
|
+
extern NSString *const FaceTecStringKeyIdscanCaptureTapToFocusMessage;
|
|
31
|
+
extern NSString *const FaceTecStringKeyIdscanCaptureHoldSteadyMessage;
|
|
32
|
+
extern NSString *const FaceTecStringKeyIdscanCaptureIdFrontInstructionMessage;
|
|
33
|
+
extern NSString *const FaceTecStringKeyIdscanCaptureIdBackInstructionMessage;
|
|
34
|
+
extern NSString *const FaceTecStringKeyIdscanReviewIdFrontInstructionMessage;
|
|
35
|
+
extern NSString *const FaceTecStringKeyIdscanReviewIdBackInstructionMessage;
|
|
36
|
+
extern NSString *const FaceTecStringKeyIdscanOcrConfirmationMainHeader;
|
|
37
|
+
extern NSString *const FaceTecStringKeyIdscanOcrConfirmationScrollMessage;
|
|
38
|
+
extern NSString *const FaceTecStringKeyIdscanNfcStatusDisabledMessage;
|
|
39
|
+
extern NSString *const FaceTecStringKeyIdscanNfcStatusReadyMessage;
|
|
40
|
+
extern NSString *const FaceTecStringKeyIdscanNfcCardStatusReadyMessage;
|
|
41
|
+
extern NSString *const FaceTecStringKeyIdscanNfcStatusStartingMessage;
|
|
42
|
+
extern NSString *const FaceTecStringKeyIdscanNfcCardStatusStartingMessage;
|
|
43
|
+
extern NSString *const FaceTecStringKeyIdscanNfcStatusScanningMessage;
|
|
44
|
+
extern NSString *const FaceTecStringKeyIdscanNfcStatusWeakConnectionMessage;
|
|
45
|
+
extern NSString *const FaceTecStringKeyIdscanNfcStatusFinishedWithSuccessMessage;
|
|
46
|
+
extern NSString *const FaceTecStringKeyIdscanNfcStatusFinishedWithErrorMessage;
|
|
47
|
+
extern NSString *const FaceTecStringKeyIdscanNfcCardStatusFinishedWithErrorMessage;
|
|
48
|
+
extern NSString *const FaceTecStringKeyIdscanNfcStatusSkippedMessage;
|
|
49
|
+
extern NSString *const FaceTecStringKeyIdscanAdditionalReviewMessage;
|
|
50
|
+
extern NSString *const FaceTecStringKeyInitializingCamera;
|
|
51
|
+
extern NSString *const FaceTecStringKeyInstructionsHeaderReady1;
|
|
52
|
+
extern NSString *const FaceTecStringKeyInstructionsHeaderReady2;
|
|
53
|
+
extern NSString *const FaceTecStringKeyInstructionsMessageReady1;
|
|
54
|
+
extern NSString *const FaceTecStringKeyInstructionsMessageReady2;
|
|
55
|
+
extern NSString *const FaceTecStringKeyPresessionFrameYourFace;
|
|
56
|
+
extern NSString *const FaceTecStringKeyPresessionPositionFaceStraightInOval;
|
|
57
|
+
extern NSString *const FaceTecStringKeyPresessionHoldSteady3;
|
|
58
|
+
extern NSString *const FaceTecStringKeyPresessionHoldSteady2;
|
|
59
|
+
extern NSString *const FaceTecStringKeyPresessionHoldSteady1;
|
|
60
|
+
extern NSString *const FaceTecStringKeyPresessionEyesStraightAhead;
|
|
61
|
+
extern NSString *const FaceTecStringKeyPresessionRemoveDarkGlasses;
|
|
62
|
+
extern NSString *const FaceTecStringKeyPresessionNeutralExpression;
|
|
63
|
+
extern NSString *const FaceTecStringKeyPresessionConditionsTooBright;
|
|
64
|
+
extern NSString *const FaceTecStringKeyPresessionBrightenYourEnvironment;
|
|
65
|
+
extern NSString *const FaceTecStringKeyResultFacescanUploadMessage;
|
|
66
|
+
extern NSString *const FaceTecStringKeyResultSuccessMessage;
|
|
67
|
+
extern NSString *const FaceTecStringKeyResultIdscanUploadMessage;
|
|
68
|
+
extern NSString *const FaceTecStringKeyResultNfcUploadMessage;
|
|
69
|
+
extern NSString *const FaceTecStringKeyResultIdscanUnsuccessMessage;
|
|
70
|
+
extern NSString *const FaceTecStringKeyResultIdscanSuccessFrontSideMessage;
|
|
71
|
+
extern NSString *const FaceTecStringKeyResultIdscanSuccessFrontSideBackNextMessage;
|
|
72
|
+
extern NSString *const FaceTecStringKeyResultIdscanSuccessFrontSideNfcNextMessage;
|
|
73
|
+
extern NSString *const FaceTecStringKeyResultIdscanSuccessBackSideMessage;
|
|
74
|
+
extern NSString *const FaceTecStringKeyResultIdscanSuccessBackSideNfcNextMessage;
|
|
75
|
+
extern NSString *const FaceTecStringKeyResultIdscanSuccessPassportMessage;
|
|
76
|
+
extern NSString *const FaceTecStringKeyResultIdscanSuccessPassportNfcNextMessage;
|
|
77
|
+
extern NSString *const FaceTecStringKeyResultIdscanSuccessUserConfirmationMessage;
|
|
78
|
+
extern NSString *const FaceTecStringKeyResultIdscanSuccessNfcMessage;
|
|
79
|
+
extern NSString *const FaceTecStringKeyResultIdscanSuccessAdditionalReviewMessage;
|
|
80
|
+
extern NSString *const FaceTecStringKeyResultIdscanSkipOrErrorNfcMessage;
|
|
81
|
+
extern NSString *const FaceTecStringKeyResultIdscanRetryFaceDidNotMatchMessage;
|
|
82
|
+
extern NSString *const FaceTecStringKeyResultIdscanRetryIdNotFullyVisibleMessage;
|
|
83
|
+
extern NSString *const FaceTecStringKeyResultIdscanRetryOcrResultsNotGoodEnoughMessage;
|
|
84
|
+
extern NSString *const FaceTecStringKeyResultIdscanRetryIdTypeNotSupportedMessage;
|
|
85
|
+
extern NSString *const FaceTecStringKeyResultIdscanRetryBarcodeNotReadMessage;
|
|
86
|
+
extern NSString *const FaceTecStringKeyRetryHeader;
|
|
87
|
+
extern NSString *const FaceTecStringKeyRetrySubheaderMessage;
|
|
88
|
+
extern NSString *const FaceTecStringKeyRetryInstructionMessage1;
|
|
89
|
+
extern NSString *const FaceTecStringKeyRetryInstructionMessage2;
|
|
90
|
+
extern NSString *const FaceTecStringKeyRetryInstructionMessage3;
|
|
91
|
+
extern NSString *const FaceTecStringKeyRetryYourImageLabel;
|
|
92
|
+
extern NSString *const FaceTecStringKeyRetryIdealImageLabel;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
//
|
|
2
|
+
// FaceTecSDK.h
|
|
3
|
+
// FaceTecSDK
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2020 FaceTec. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <UIKit/UIKit.h>
|
|
9
|
+
|
|
10
|
+
//! Project version number for FaceTecSDK.
|
|
11
|
+
FOUNDATION_EXPORT double FaceTecSDKVersionNumber;
|
|
12
|
+
|
|
13
|
+
//! Project version string for FaceTecSDK.
|
|
14
|
+
FOUNDATION_EXPORT const unsigned char FaceTecSDKVersionString[];
|
|
15
|
+
|
|
16
|
+
#import "FaceTecPublicApi.h"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
###
|
|
2
|
+
|
|
3
|
+
The FaceTec SDK includes, in whole or in part, components code from the Eigen library, which can be obtained at: http://eigen.tuxfamily.org/index.php?title=Main_Page
|
|
4
|
+
|
|
5
|
+
###
|
|
6
|
+
|
|
7
|
+
The FaceTec SDK includes, in whole or in part, components that are licensed under the Boost Software License.
|
|
8
|
+
|
|
9
|
+
Boost Software License - Version 1.0 - August 17th, 2003
|
|
10
|
+
|
|
11
|
+
Permission is hereby granted, free of charge, to any person or organization
|
|
12
|
+
obtaining a copy of the software and accompanying documentation covered by
|
|
13
|
+
this license (the "Software") to use, reproduce, display, distribute,
|
|
14
|
+
execute, and transmit the Software, and to prepare derivative works of the
|
|
15
|
+
Software, and to permit third-parties to whom the Software is furnished to
|
|
16
|
+
do so, all subject to the following:
|
|
17
|
+
|
|
18
|
+
The copyright notices in the Software and this entire statement, including
|
|
19
|
+
the above license grant, this restriction and the following disclaimer,
|
|
20
|
+
must be included in all copies of the Software, in whole or in part, and
|
|
21
|
+
all derivative works of the Software, unless such copies or derivative
|
|
22
|
+
works are solely in the form of machine-executable object code generated by
|
|
23
|
+
a source language processor.
|
|
24
|
+
|
|
25
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
26
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
27
|
+
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
|
28
|
+
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
|
29
|
+
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
|
30
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
31
|
+
DEALINGS IN THE SOFTWARE.
|
|
32
|
+
|
|
33
|
+
###
|
|
34
|
+
|
|
35
|
+
The FaceTec SDK includes, in whole or in part, components that are licensed under the MIT License
|
|
36
|
+
|
|
37
|
+
The MIT License (MIT)
|
|
38
|
+
|
|
39
|
+
Copyright (c) 2014 Dave Wood, Cerebral Gardens http://www.cerebralgardens.com/
|
|
40
|
+
|
|
41
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
42
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
43
|
+
in the Software without restriction, including without limitation the rights
|
|
44
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
45
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
46
|
+
furnished to do so, subject to the following conditions:
|
|
47
|
+
|
|
48
|
+
The above copyright notice and this permission notice shall be included in all
|
|
49
|
+
copies or substantial portions of the Software.
|
|
50
|
+
|
|
51
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
52
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
53
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
54
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
55
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
56
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
57
|
+
SOFTWARE.
|
|
58
|
+
|
|
59
|
+
###
|
|
60
|
+
|
|
61
|
+
The MIT License (MIT)
|
|
62
|
+
|
|
63
|
+
Copyright (c) 2015 Danil Gontovnik
|
|
64
|
+
|
|
65
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
66
|
+
|
|
67
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
68
|
+
|
|
69
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
70
|
+
|
|
71
|
+
###
|
|
72
|
+
|
|
73
|
+
The FaceTec SDK includes, in whole or in part, components that are licensed under the Apache 2.0 License
|
|
74
|
+
|
|
75
|
+
###
|
|
76
|
+
|
|
77
|
+
Copyright 2012 The MITRE Corporation
|
|
78
|
+
|
|
79
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
80
|
+
you may not use this file except in compliance with the License.
|
|
81
|
+
You may obtain a copy of the License at
|
|
82
|
+
|
|
83
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
84
|
+
|
|
85
|
+
Unless required by applicable law or agreed to in writing, software
|
|
86
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
87
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
88
|
+
See the License for the specific language governing permissions and
|
|
89
|
+
limitations under the License.
|
|
90
|
+
|
|
91
|
+
###
|
|
92
|
+
|
|
93
|
+
The FaceTec SDK includes, in whole or in part, components that are licensed under the BSD 3-clause License
|
|
94
|
+
|
|
95
|
+
###
|
|
96
|
+
|
|
97
|
+
By downloading, copying, installing or using the software you agree to this license.
|
|
98
|
+
If you do not agree to this license, do not download, install,
|
|
99
|
+
copy or use the software.
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
License Agreement
|
|
103
|
+
For Open Source Computer Vision Library
|
|
104
|
+
(3-clause BSD License)
|
|
105
|
+
|
|
106
|
+
Copyright (C) 2000-2016, Intel Corporation, all rights reserved.
|
|
107
|
+
Copyright (C) 2009-2011, Willow Garage Inc., all rights reserved.
|
|
108
|
+
Copyright (C) 2009-2016, NVIDIA Corporation, all rights reserved.
|
|
109
|
+
Copyright (C) 2010-2013, Advanced Micro Devices, Inc., all rights reserved.
|
|
110
|
+
Copyright (C) 2015-2016, OpenCV Foundation, all rights reserved.
|
|
111
|
+
Copyright (C) 2015-2016, Itseez Inc., all rights reserved.
|
|
112
|
+
Third party copyrights are property of their respective owners.
|
|
113
|
+
|
|
114
|
+
Redistribution and use in source and binary forms, with or without modification,
|
|
115
|
+
are permitted provided that the following conditions are met:
|
|
116
|
+
|
|
117
|
+
* Redistributions of source code must retain the above copyright notice,
|
|
118
|
+
this list of conditions and the following disclaimer.
|
|
119
|
+
|
|
120
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
121
|
+
this list of conditions and the following disclaimer in the documentation
|
|
122
|
+
and/or other materials provided with the distribution.
|
|
123
|
+
|
|
124
|
+
* Neither the names of the copyright holders nor the names of the contributors
|
|
125
|
+
may be used to endorse or promote products derived from this software
|
|
126
|
+
without specific prior written permission.
|
|
127
|
+
|
|
128
|
+
This software is provided by the copyright holders and contributors "as is" and
|
|
129
|
+
any express or implied warranties, including, but not limited to, the implied
|
|
130
|
+
warranties of merchantability and fitness for a particular purpose are disclaimed.
|
|
131
|
+
In no event shall copyright holders or contributors be liable for any direct,
|
|
132
|
+
indirect, incidental, special, exemplary, or consequential damages
|
|
133
|
+
(including, but not limited to, procurement of substitute goods or services;
|
|
134
|
+
loss of use, data, or profits; or business interruption) however caused
|
|
135
|
+
and on any theory of liability, whether in contract, strict liability,
|
|
136
|
+
or tort (including negligence or otherwise) arising in any way out of
|
|
137
|
+
the use of this software, even if advised of the possibility of such damage.
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
################################################################################
|
|
2
|
+
#
|
|
3
|
+
# Copyright 2015 Realm Inc.
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
#
|
|
17
|
+
################################################################################
|
|
18
|
+
|
|
19
|
+
# This script strips all non-valid architectures from dynamic libraries in
|
|
20
|
+
# the application's `Frameworks` directory.
|
|
21
|
+
#
|
|
22
|
+
# The following environment variables are required:
|
|
23
|
+
#
|
|
24
|
+
# BUILT_PRODUCTS_DIR
|
|
25
|
+
# FRAMEWORKS_FOLDER_PATH
|
|
26
|
+
# VALID_ARCHS
|
|
27
|
+
# EXPANDED_CODE_SIGN_IDENTITY
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# Signs a framework with the provided identity
|
|
31
|
+
code_sign() {
|
|
32
|
+
# Use the current code_sign_identitiy
|
|
33
|
+
echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
|
|
34
|
+
echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements $1"
|
|
35
|
+
/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1"
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
echo "Stripping frameworks"
|
|
39
|
+
cd "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
|
40
|
+
|
|
41
|
+
for file in $(find . -type f -perm +111); do
|
|
42
|
+
# Skip non-dynamic libraries
|
|
43
|
+
if ! [[ "$(file "$file")" == *"dynamically linked shared library"* ]]; then
|
|
44
|
+
continue
|
|
45
|
+
fi
|
|
46
|
+
# Get architectures for current file
|
|
47
|
+
archs="$(lipo -info "${file}" | rev | cut -d ':' -f1 | rev)"
|
|
48
|
+
stripped=""
|
|
49
|
+
for arch in $archs; do
|
|
50
|
+
if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then
|
|
51
|
+
# Strip non-valid architectures in-place
|
|
52
|
+
lipo -remove "$arch" -output "$file" "$file" || exit 1
|
|
53
|
+
stripped="$stripped $arch"
|
|
54
|
+
fi
|
|
55
|
+
done
|
|
56
|
+
if [[ "$stripped" != "" ]]; then
|
|
57
|
+
echo "Stripped $file of architectures:$stripped"
|
|
58
|
+
if [ "${CODE_SIGNING_REQUIRED}" == "YES" ]; then
|
|
59
|
+
code_sign "${file}"
|
|
60
|
+
fi
|
|
61
|
+
fi
|
|
62
|
+
done
|