@microblink/blinkid-react-native 7.7.0 → 8001.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/BlinkidReactNative.podspec +2 -1
- package/README.md +621 -281
- package/android/build.gradle +56 -4
- package/android/gradle.properties +3 -4
- package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkIdClassInfoIdMappings.kt +33 -0
- package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkIdDeserializationUtilities.kt +370 -258
- package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkIdSerializationUtilities.kt +149 -41
- package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkidReactNativeModule.kt +54 -31
- package/ios/BlinkidReactNative.mm +49 -52
- package/ios/BlinkidReactNativeModule.swift +114 -57
- package/ios/Frameworks/BlinkID.xcframework/Info.plist +5 -9
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/BlinkID +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Headers/BlinkID.h +893 -13
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Info.plist +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64.swiftdoc +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/{arm64-apple-ios.private.swiftinterface → arm64.swiftinterface} +2421 -2076
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/module.modulemap +1 -7
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/PrivacyInfo.xcprivacy +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/BlinkID +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Headers/BlinkID.h +893 -13
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Info.plist +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64.swiftdoc +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/{arm64-apple-ios-simulator.swiftinterface → arm64.swiftinterface} +2421 -2076
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64.swiftdoc +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/{x86_64-apple-ios-simulator.private.swiftinterface → x86_64.swiftinterface} +2421 -2076
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/module.modulemap +1 -7
- package/ios/Frameworks/BlinkIDUX.xcframework/Info.plist +5 -5
- package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeResources +276 -276
- package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeSignature +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Assets.car +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Info.plist +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ak.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/am.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ar.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/bn.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/cs.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/da.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/de.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/el.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/en-GB.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/en.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/es-MX.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/es.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fa.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fi.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fil.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fr-CA.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ha.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/he.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hi.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hu.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/id.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/is.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/it.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ja.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ka-GE.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/kk.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/km-KH.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ko.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/lv.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ms.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/nb.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ne.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/nl.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pl.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ps-AF.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pt-BR.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pt.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ro.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ru.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/si.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sk.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sl.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sv.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sw.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/th.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/tr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/uk.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ur.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/uz.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/vi.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/yo.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hans.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hant.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Info.plist +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.abi.json +3860 -1881
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.package.swiftinterface +87 -69
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.private.swiftinterface +87 -69
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.swiftinterface +87 -69
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Assets.car +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Info.plist +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/_CodeSignature/CodeResources +114 -114
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ak.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/am.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ar.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/bn.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/cs.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/da.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/de.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/el.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/en-GB.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/en.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/es-MX.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/es.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fa.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fi.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fil.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fr-CA.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ha.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/he.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hi.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hu.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/id.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/is.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/it.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ja.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ka-GE.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/kk.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/km-KH.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ko.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/lv.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ms.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/nb.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ne.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/nl.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pl.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ps-AF.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pt-BR.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pt.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ro.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ru.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/si.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sk.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sl.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sv.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sw.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/th.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/tr.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/uk.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ur.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/uz.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/vi.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/yo.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hans.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hant.lproj/Localizable.strings +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Info.plist +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.abi.json +3860 -1881
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.package.swiftinterface +87 -69
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +87 -69
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.swiftinterface +87 -69
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.abi.json +3860 -1881
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.package.swiftinterface +87 -69
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +87 -69
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +87 -69
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/_CodeSignature/CodeResources +1 -1
- package/ios/Serialization/BlinkIdDeserializationUtils.swift +614 -0
- package/ios/{BlinkIdSerializationUtilities.swift → Serialization/BlinkIdSerializationUtils.swift} +294 -255
- package/lib/module/NativeBlinkidReactNative.js.map +1 -1
- package/lib/module/blinkIdResult.js +1 -822
- package/lib/module/blinkIdResult.js.map +1 -1
- package/lib/module/blinkIdSettings.js +1 -496
- package/lib/module/blinkIdSettings.js.map +1 -1
- package/lib/module/index.js +94 -17
- package/lib/module/index.js.map +1 -1
- package/lib/module/types.js +715 -3373
- package/lib/module/types.js.map +1 -1
- package/lib/typescript/src/NativeBlinkidReactNative.d.ts +36 -5
- package/lib/typescript/src/NativeBlinkidReactNative.d.ts.map +1 -1
- package/lib/typescript/src/blinkIdResult.d.ts +17 -20
- package/lib/typescript/src/blinkIdResult.d.ts.map +1 -1
- package/lib/typescript/src/blinkIdSettings.d.ts +195 -317
- package/lib/typescript/src/blinkIdSettings.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +48 -10
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/types.d.ts +1062 -1210
- package/lib/typescript/src/types.d.ts.map +1 -1
- package/package.json +5 -4
- package/src/NativeBlinkidReactNative.ts +39 -5
- package/src/blinkIdResult.ts +19 -466
- package/src/blinkIdSettings.ts +218 -389
- package/src/index.tsx +221 -35
- package/src/types.ts +1253 -1463
- package/android/.gradle/8.9/checksums/checksums.lock +0 -0
- package/android/.gradle/8.9/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/8.9/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.9/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.project +0 -28
- package/ios/BlinkIdDeserializationUtilities.swift +0 -374
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Headers/BlinkID-Swift.h +0 -43937
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Headers/MBSampleBufferWrapper.h +0 -28
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.abi.json +0 -78651
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.swiftinterface +0 -2304
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/module.private.modulemap +0 -12
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/PrivateHeaders/SwiftCxxBridge.hpp +0 -19
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/_CodeSignature/CodeResources +0 -245
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/conan.xcconfig +0 -40
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Headers/BlinkID-Swift.h +0 -87870
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Headers/MBSampleBufferWrapper.h +0 -28
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -78651
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +0 -2304
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -78651
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -2304
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/module.private.modulemap +0 -12
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/PrivateHeaders/SwiftCxxBridge.hpp +0 -19
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/_CodeSignature/CodeResources +0 -300
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/conan.xcconfig +0 -40
- package/lib/module/blinkIdUtilities.js +0 -21
- package/lib/module/blinkIdUtilities.js.map +0 -1
- package/lib/typescript/src/blinkIdUtilities.d.ts +0 -8
- package/lib/typescript/src/blinkIdUtilities.d.ts.map +0 -1
- package/src/android/.project +0 -28
- package/src/blinkIdUtilities.ts +0 -20
package/src/blinkIdSettings.ts
CHANGED
|
@@ -1,459 +1,348 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DetectionLevel,
|
|
3
|
-
AnonymizationMode,
|
|
1
|
+
import type {
|
|
4
2
|
ScanningMode,
|
|
5
|
-
DocumentRules,
|
|
6
|
-
DocumentAnonymizationSettings,
|
|
7
|
-
RecognitionModeFilter,
|
|
8
3
|
PreferredCamera,
|
|
4
|
+
DocumentCaptureModuleSettings,
|
|
5
|
+
MrzModuleSettings,
|
|
6
|
+
BarcodeModuleSettings,
|
|
7
|
+
VizModuleSettings,
|
|
9
8
|
} from "./types";
|
|
10
9
|
|
|
11
10
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
11
|
+
* Network timeouts for SDK resource downloads. Values are in milliseconds.
|
|
12
|
+
* Omit unset fields to keep the native SDK default for that timeout (30 seconds
|
|
13
|
+
* on current BlinkID native SDKs).
|
|
14
14
|
*/
|
|
15
|
-
export
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
licenseKey: string;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Optional licensee string if the provided license key is not tied to the single application ID.
|
|
24
|
-
*/
|
|
25
|
-
licensee?: string;
|
|
15
|
+
export type RequestTimeout = {
|
|
16
|
+
connectionTimeoutMilliseconds?: number;
|
|
17
|
+
writeTimeoutMilliseconds?: number;
|
|
18
|
+
readTimeoutMilliseconds?: number;
|
|
19
|
+
};
|
|
26
20
|
|
|
21
|
+
/**
|
|
22
|
+
* Configuration for base (non-OTA) SDK resources: download, cache location, and timeouts.
|
|
23
|
+
*
|
|
24
|
+
* Maps to native `ResourcesConfig` on Android and `ResourcesConfig` /
|
|
25
|
+
* `resourcesConfiguration` on iOS.
|
|
26
|
+
*
|
|
27
|
+
* When omitted on {@link BlinkIdSdkSettings}, the native SDK defaults are used
|
|
28
|
+
* (`download: true`, platform default `serviceUrl` / `localFolder`, default timeouts).
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* const sdkSettings: BlinkIdSdkSettings = {
|
|
33
|
+
* licenseKey,
|
|
34
|
+
* resourcesConfig: { download: true },
|
|
35
|
+
* };
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export type ResourcesConfig = {
|
|
27
39
|
/**
|
|
28
|
-
* Whether resources required for on-device image processing should be downloaded
|
|
29
|
-
* on first initialization of the SDK.
|
|
40
|
+
* Whether resources required for on-device image processing should be downloaded
|
|
41
|
+
* and cached on first initialization of the SDK.
|
|
30
42
|
*
|
|
31
|
-
* If
|
|
32
|
-
*
|
|
43
|
+
* If `false`, package the required resources in the app (Android assets /
|
|
44
|
+
* iOS bundle) and set {@link localFolder} / {@link bundleIdentifier} as needed.
|
|
33
45
|
*
|
|
46
|
+
* Default: `true`.
|
|
34
47
|
*/
|
|
35
|
-
|
|
48
|
+
download?: boolean;
|
|
36
49
|
|
|
37
50
|
/**
|
|
38
|
-
*
|
|
51
|
+
* URL where base resources are hosted when {@link download} is enabled.
|
|
39
52
|
*
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
resourceDownloadUrl?: string;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Local folder name where resources will be downloaded and cached.
|
|
53
|
+
* Default: `"https://models.cdn.microblink.com/resources"`.
|
|
46
54
|
*
|
|
47
|
-
*
|
|
48
|
-
* application's cache folder where resources will be cached.
|
|
55
|
+
* Do not use the OTA host (`https://blinkid-ota.microblink.com`) here.
|
|
49
56
|
*/
|
|
50
|
-
|
|
57
|
+
serviceUrl?: string;
|
|
51
58
|
|
|
52
59
|
/**
|
|
53
|
-
*
|
|
60
|
+
* Folder name under the app cache (download enabled) or assets path (download
|
|
61
|
+
* disabled) where base resources are stored.
|
|
54
62
|
*
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Timeout settings for resource downloads.
|
|
63
|
+
* Platform defaults when omitted:
|
|
64
|
+
* - Android: `"microblink/blinkid"`
|
|
65
|
+
* - iOS: `"MLModels"`
|
|
60
66
|
*
|
|
67
|
+
* Keep this separate from the OTA resources folder.
|
|
61
68
|
*/
|
|
62
|
-
|
|
69
|
+
localFolder?: string;
|
|
70
|
+
|
|
63
71
|
/**
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
* The URL must use the HTTPS protocol. Example: https://your-proxy.com/
|
|
68
|
-
*
|
|
69
|
-
* If this value is defined, SDK initialization will not be successful in the following cases:
|
|
70
|
-
* - if the URL does not use HTTPS or if the URL is invalid
|
|
71
|
-
* - if the license does not allow proxy usage
|
|
72
|
-
*
|
|
72
|
+
* Network timeouts for resource downloads, in milliseconds.
|
|
73
|
+
* Omit to use native SDK defaults.
|
|
73
74
|
*/
|
|
74
|
-
|
|
75
|
+
requestTimeout?: RequestTimeout;
|
|
75
76
|
|
|
76
77
|
/**
|
|
78
|
+
* [iOS] Bundle identifier of the app bundle that contains prebundled resources
|
|
79
|
+
* when {@link download} is `false`.
|
|
77
80
|
*
|
|
78
|
-
*
|
|
81
|
+
* Maps to native `ResourcesConfig.bundleUrl` (the bridge resolves the
|
|
82
|
+
* identifier to a bundle URL). Ignored on Android — use {@link localFolder}
|
|
83
|
+
* under assets instead.
|
|
79
84
|
*/
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
licensee?: string,
|
|
83
|
-
downloadResources?: boolean,
|
|
84
|
-
resourceDownloadUrl?: string,
|
|
85
|
-
resourceLocalFolder?: string,
|
|
86
|
-
bundleIdentifier?: string,
|
|
87
|
-
resourceRequestTimeout?: number,
|
|
88
|
-
microblinkProxyURL?: string,
|
|
89
|
-
) {
|
|
90
|
-
this.licenseKey = licenseKey;
|
|
91
|
-
this.licensee = licensee;
|
|
92
|
-
this.downloadResources = downloadResources;
|
|
93
|
-
this.resourceDownloadUrl = resourceDownloadUrl;
|
|
94
|
-
this.resourceLocalFolder = resourceLocalFolder;
|
|
95
|
-
this.bundleIdentifier = bundleIdentifier;
|
|
96
|
-
this.resourceRequestTimeout = resourceRequestTimeout;
|
|
97
|
-
this.microblinkProxyURL = microblinkProxyURL;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
85
|
+
bundleIdentifier?: string;
|
|
86
|
+
};
|
|
100
87
|
|
|
101
88
|
/**
|
|
102
|
-
*
|
|
89
|
+
* Configuration for over-the-air (OTA) document resources.
|
|
103
90
|
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
91
|
+
* Behaves similarly to {@link ResourcesConfig}, with update checks and a
|
|
92
|
+
* `strict` failure mode. Maps to native `OtaResourcesConfig` on Android and
|
|
93
|
+
* `OTAResourcesConfig` / `otaResourcesConfiguration` on iOS.
|
|
94
|
+
*
|
|
95
|
+
* When omitted on {@link BlinkIdSdkSettings}, native `OtaResourcesConfig()` /
|
|
96
|
+
* `OTAResourcesConfig()` defaults apply (`checkForUpdates: true`,
|
|
97
|
+
* `strict: false`, platform default URL/folder).
|
|
98
|
+
*
|
|
99
|
+
* Do not cross-wire hosts or folders with {@link ResourcesConfig}:
|
|
100
|
+
* - OTA default URL: `"https://blinkid-ota.microblink.com"`
|
|
101
|
+
* - Base resources URL: `"https://models.cdn.microblink.com/resources"`
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* ```ts
|
|
105
|
+
* const sdkSettings: BlinkIdSdkSettings = {
|
|
106
|
+
* licenseKey,
|
|
107
|
+
* otaResourcesConfig: { checkForUpdates: true, strict: false },
|
|
108
|
+
* };
|
|
109
|
+
* ```
|
|
107
110
|
*/
|
|
108
|
-
export
|
|
111
|
+
export type OtaResourcesConfig = {
|
|
109
112
|
/**
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
* Specifies whether the scanning is for a single side of a document or multiple
|
|
113
|
-
* sides, as defined in {@link ScanningMode}. The default is set to `automatic`, which
|
|
114
|
-
* automatically determines the number of sides to scan.
|
|
113
|
+
* Whether the SDK checks for and downloads updated OTA resources on
|
|
114
|
+
* initialization.
|
|
115
115
|
*
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
* The specific scanning settings for the scanning session.
|
|
116
|
+
* When `false`, no update check is performed and cached/bundled OTA resources
|
|
117
|
+
* are used as-is. First-run downloads are still required when OTA resources
|
|
118
|
+
* are missing locally — this flag only suppresses update checks, not the
|
|
119
|
+
* initial fetch.
|
|
121
120
|
*
|
|
122
|
-
*
|
|
121
|
+
* Default: `true`.
|
|
123
122
|
*/
|
|
124
|
-
|
|
123
|
+
checkForUpdates?: boolean;
|
|
125
124
|
|
|
126
125
|
/**
|
|
127
|
-
*
|
|
126
|
+
* How to handle a failed OTA update download during initialization.
|
|
127
|
+
* Only applied when {@link checkForUpdates} is `true`.
|
|
128
128
|
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
129
|
+
* - `false` (default): initialization continues and the SDK falls back to
|
|
130
|
+
* cached/bundled OTA resources.
|
|
131
|
+
* - `true`: SDK initialization fails if the OTA download fails. Callers must
|
|
132
|
+
* handle that error path.
|
|
131
133
|
*/
|
|
132
|
-
|
|
134
|
+
strict?: boolean;
|
|
133
135
|
|
|
134
136
|
/**
|
|
137
|
+
* URL of the OTA versions/download service used when {@link checkForUpdates}
|
|
138
|
+
* is `true`.
|
|
135
139
|
*
|
|
136
|
-
*
|
|
140
|
+
* Default: `"https://blinkid-ota.microblink.com"`.
|
|
137
141
|
*
|
|
138
|
-
*
|
|
139
|
-
* scanning mode, and specific scanning configurations that define how the scanning
|
|
140
|
-
* session should behave.
|
|
142
|
+
* Do not use the base resources host (`https://models.cdn.microblink.com/resources`) here.
|
|
141
143
|
*/
|
|
142
|
-
|
|
143
|
-
this.scanningMode = ScanningMode.Automatic;
|
|
144
|
-
this.scanningSettings = new BlinkIdScanningSettings();
|
|
145
|
-
this.stepTimeoutDuration = 15000;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
144
|
+
serviceUrl?: string;
|
|
148
145
|
|
|
149
|
-
/**
|
|
150
|
-
* Represents the configurable settings for scanning a document.
|
|
151
|
-
*
|
|
152
|
-
* This class defines various parameters and policies related to the scanning
|
|
153
|
-
* process, including image quality handling, data extraction and anonymization,
|
|
154
|
-
* along with options for frame processing and image extraction.
|
|
155
|
-
*
|
|
156
|
-
* */
|
|
157
|
-
export class BlinkIdScanningSettings {
|
|
158
146
|
/**
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
* Defines the severity of blur detected in the document image, as defined
|
|
162
|
-
* in [DetectionLevel]. Values range from `off` (detection NotAvailable) to higher
|
|
163
|
-
* levels of blur detection.
|
|
147
|
+
* Folder where OTA resources are downloaded and cached (or found when
|
|
148
|
+
* prebundled).
|
|
164
149
|
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
* `
|
|
150
|
+
* Platform defaults when omitted:
|
|
151
|
+
* - Android: `"microblink/blinkid/ota"`
|
|
152
|
+
* - iOS: `"OTAMLModels"`
|
|
168
153
|
*
|
|
169
|
-
*
|
|
170
|
-
|
|
171
|
-
|
|
154
|
+
* Keep this separate from {@link ResourcesConfig.localFolder}.
|
|
155
|
+
*/
|
|
156
|
+
localFolder?: string;
|
|
172
157
|
|
|
173
158
|
/**
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
* A value of `true` means images with detected blur will be excluded from further processing to prevent blurred images from being used
|
|
177
|
-
* - If blurDetectionLevel = `off` - blurred images will be processed
|
|
178
|
-
* - If blur is detected `ProcessingStatus` will be `ImagePreprocessingFailed` and blur will be reported in the `ProcessResult`
|
|
179
|
-
* A value of `false` means images with detected blur will not be excluded from further processing
|
|
180
|
-
* - If blurDetectionLevel != `off` - even if blur is detected, the image will be processed and blur will be reported in the `ProcessResult`.
|
|
181
|
-
*
|
|
182
|
-
* Default: `true`
|
|
159
|
+
* Network timeouts for OTA resource downloads, in milliseconds.
|
|
160
|
+
* Omit to use native SDK defaults.
|
|
183
161
|
*/
|
|
184
|
-
|
|
162
|
+
requestTimeout?: RequestTimeout;
|
|
185
163
|
|
|
186
164
|
/**
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
* Defines the severity of glare detected in the document image, as defined in [DetectionLevel].
|
|
190
|
-
* Values range from `off` (detection NotAvailable) to higher levels of glare detection.
|
|
191
|
-
* `low` – less sensitive to glare; if something is detected as glare, it is almost certainly actual glare,
|
|
192
|
-
* but some amount of glare may not be detected at all.
|
|
193
|
-
* `high` – highly sensitive to glare; it may detect as glare even something that only resembles glare.
|
|
165
|
+
* [iOS] Bundle identifier of the app bundle that contains prebundled OTA
|
|
166
|
+
* resources.
|
|
194
167
|
*
|
|
195
|
-
*
|
|
168
|
+
* Maps to native `OTAResourcesConfig.bundleUrl` (the bridge resolves the
|
|
169
|
+
* identifier to a bundle URL). Ignored on Android — place OTA assets under
|
|
170
|
+
* {@link localFolder} (e.g. `assets/microblink/blinkid/ota`) instead.
|
|
196
171
|
*/
|
|
197
|
-
|
|
172
|
+
bundleIdentifier?: string;
|
|
173
|
+
};
|
|
198
174
|
|
|
175
|
+
/**
|
|
176
|
+
* Settings for the initialization of the BlinkID SDK.
|
|
177
|
+
*/
|
|
178
|
+
export type BlinkIdSdkSettings = {
|
|
199
179
|
/**
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
* A value of `true` means images with detected glare will be excluded from further processing to prevent glared images from being used
|
|
203
|
-
* - If glareDetectionLevel = `off` - glared images will be processed
|
|
204
|
-
* - If glare is detected `ProcessingStatus` will be `ImagePreprocessingFailed` and glare will be reported in the `ProcessResult`
|
|
205
|
-
* A value of `false` means images with detected glare will not be excluded from further processing
|
|
206
|
-
* - If glareDetectionLevel != `off` - even if glare is detected, the image will be processed and glare will be reported in the `ProcessResult`
|
|
207
|
-
*
|
|
208
|
-
* Default: `true`
|
|
180
|
+
* License key for the native SDK.
|
|
209
181
|
*/
|
|
210
|
-
|
|
182
|
+
licenseKey: string;
|
|
211
183
|
|
|
212
184
|
/**
|
|
213
|
-
*
|
|
214
|
-
*
|
|
215
|
-
* Defines the severity of allowed detected tilt of the document in the image, as defined in [DetectionLevel].
|
|
216
|
-
* Values range from `off` (detection NotAvailable) to higher levels of allowed tilt.
|
|
217
|
-
* `low` – less sensitive to tilt.
|
|
218
|
-
* `high` – highly sensitive to tilt.
|
|
219
|
-
*
|
|
220
|
-
* Default: {@link DetectionLevel.Mid}
|
|
185
|
+
* Optional licensee string if the provided license key is not tied to a single
|
|
186
|
+
* application ID.
|
|
221
187
|
*/
|
|
222
|
-
|
|
188
|
+
licensee?: string;
|
|
223
189
|
|
|
224
190
|
/**
|
|
225
|
-
*
|
|
191
|
+
* Base resource download and cache configuration.
|
|
226
192
|
*
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
* A value of `true` means images with inadequate lighting conditions will be excluded from further processing to prevent images with
|
|
230
|
-
* inadequate lighting from being used
|
|
231
|
-
* - If inadequate light conditions are detected `ProcessingStatus` will be `ImagePreprocessingFailed` and lighting status will be
|
|
232
|
-
* reported in the `ProcessResult`.
|
|
193
|
+
* Replaces the former flat fields `downloadResources`, `resourceDownloadUrl`,
|
|
194
|
+
* `resourceLocalFolder`, `resourceRequestTimeout`, and `bundleIdentifier`.
|
|
233
195
|
*
|
|
234
|
-
*
|
|
196
|
+
* When omitted, native `ResourcesConfig()` defaults apply.
|
|
197
|
+
*
|
|
198
|
+
* @see {@link ResourcesConfig}
|
|
235
199
|
*/
|
|
236
|
-
|
|
200
|
+
resourcesConfig?: ResourcesConfig;
|
|
237
201
|
|
|
238
202
|
/**
|
|
239
|
-
*
|
|
203
|
+
* Over-the-air (OTA) resource download and cache configuration.
|
|
240
204
|
*
|
|
241
|
-
*
|
|
242
|
-
* - If hand occlusion is detected `ProcessingStatus` will be `ImagePreprocessingFailed` and hand occlusion status will be reported
|
|
243
|
-
* in the `ProcessResult`
|
|
244
|
-
* This setting is applicable only if `scanCroppedDocumentImage` = false.
|
|
205
|
+
* When omitted, native OTA defaults apply (update checks enabled, non-strict).
|
|
245
206
|
*
|
|
246
|
-
*
|
|
207
|
+
* @see {@link OtaResourcesConfig}
|
|
247
208
|
*/
|
|
248
|
-
|
|
209
|
+
otaResourcesConfig?: OtaResourcesConfig;
|
|
249
210
|
|
|
250
211
|
/**
|
|
251
|
-
*
|
|
212
|
+
* Set a custom HTTPS URL to be used as a proxy for Ping and license checks.
|
|
213
|
+
* The proxy URL will be applied only if the license has the appropriate rights.
|
|
252
214
|
*
|
|
253
|
-
*
|
|
254
|
-
*
|
|
255
|
-
*
|
|
256
|
-
*
|
|
257
|
-
*
|
|
215
|
+
* The URL must use the HTTPS protocol. Example: https://your-proxy.com/
|
|
216
|
+
*
|
|
217
|
+
* If this value is defined, SDK initialization will not be successful in the following cases:
|
|
218
|
+
* - if the URL does not use HTTPS or if the URL is invalid
|
|
219
|
+
* - if the license does not allow proxy usage
|
|
258
220
|
*
|
|
259
|
-
* Default: `true`
|
|
260
221
|
*/
|
|
261
|
-
|
|
222
|
+
microblinkProxyURL?: string;
|
|
223
|
+
};
|
|
262
224
|
|
|
225
|
+
/**
|
|
226
|
+
* Represents the configuration settings for a scanning session.
|
|
227
|
+
*
|
|
228
|
+
* This class holds the settings related to the resources initialization,
|
|
229
|
+
* scanning mode, and specific scanning configurations that define how the scanning
|
|
230
|
+
* session should behave.
|
|
231
|
+
*/
|
|
232
|
+
export type BlinkIdSessionSettings = Partial<{
|
|
263
233
|
/**
|
|
264
|
-
*
|
|
234
|
+
* The scanning mode to be used during the scanning session.
|
|
265
235
|
*
|
|
266
|
-
*
|
|
267
|
-
*
|
|
268
|
-
*
|
|
236
|
+
* Specifies whether the scanning is for a single side of a document or multiple
|
|
237
|
+
* sides, as defined in {@link ScanningMode}. The default is set to `automatic`, which
|
|
238
|
+
* automatically determines the number of sides to scan.
|
|
269
239
|
*
|
|
270
|
-
* Default: `false`
|
|
271
240
|
*/
|
|
272
|
-
|
|
241
|
+
scanningMode: ScanningMode;
|
|
273
242
|
|
|
274
243
|
/**
|
|
275
|
-
*
|
|
276
|
-
*
|
|
277
|
-
*
|
|
278
|
-
* the appropriate `alphabetType` should be specified as mandatory for that document.
|
|
279
|
-
* If a `fields` is set to a field that is optional for that document or does not exist on it, all fields on the document become optional.
|
|
280
|
-
* If a `fields` is set to a field with an incorrect alphabetType, all fields on the document become optional.
|
|
281
|
-
* If a `fields` is set to a field that doesn’t exist in the internal rules, that rule is ignored.
|
|
282
|
-
* When adding multiple `fields`, any field that does not match our rules is ignored. Only fields that comply with our rules are set as mandatory.
|
|
283
|
-
* If the documentFilter fields `country`, `region`, or `type` are set to `null`, all supported values for those fields will be considered.
|
|
284
|
-
* For example, if `country = null`, the rule will apply to all supported countries in BlinkID.
|
|
285
|
-
*
|
|
286
|
-
* By default, document fields are validated using internal rules that define mandatory fields for the scanned document class. This setting allows
|
|
287
|
-
* users to narrow down our internal rules on mandatory fields. All undefined fields will become optional. It is not possible to mark fields as
|
|
288
|
-
* mandatory if they cannot theoretically appear on the document.
|
|
289
|
-
* The more detailed document filter will have priority over the other.
|
|
290
|
-
*
|
|
291
|
-
* See {@link DocumentRules} for more detailed information.
|
|
244
|
+
* The specific scanning settings for the scanning session.
|
|
245
|
+
*
|
|
246
|
+
* Defines various parameters that control the scanning process.
|
|
292
247
|
*/
|
|
293
|
-
|
|
248
|
+
scanningSettings: Partial<BlinkIdScanningSettings>;
|
|
294
249
|
|
|
295
250
|
/**
|
|
296
|
-
*
|
|
297
|
-
*
|
|
298
|
-
* Redact specific fields based on requirements or laws regarding a specific document.
|
|
299
|
-
* Data can be redacted from the image, the result or both.
|
|
251
|
+
* Duration in milliseconds before a scanning step times out and is cancelled.
|
|
300
252
|
*
|
|
301
|
-
*
|
|
253
|
+
* Resets on side changes and pauses while onboarding or help dialogs are shown.
|
|
254
|
+
* Set to `0` to disable the step timeout. Defaults to `60000` (60 seconds).
|
|
302
255
|
*/
|
|
303
|
-
|
|
256
|
+
stepTimeoutDuration: number;
|
|
304
257
|
|
|
305
258
|
/**
|
|
306
|
-
*
|
|
307
|
-
*
|
|
308
|
-
* Fields specified by requirements or laws for a specific document will be redacted regardless of this setting.
|
|
309
|
-
* Based on anonymizationMode setting, data will be redacted from the image, the result or both.
|
|
259
|
+
* Duration in milliseconds of UI inactivity (no state change) before timeout.
|
|
310
260
|
*
|
|
311
|
-
*
|
|
261
|
+
* Resets whenever the UI state changes (reticle type or message).
|
|
262
|
+
* Set to `0` to disable the inactivity timeout. Defaults to `10000` (10 seconds).
|
|
312
263
|
*/
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
264
|
+
inactivityTimeoutDuration: number;
|
|
265
|
+
}>;
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Represents the configurable settings for scanning a document.
|
|
269
|
+
*
|
|
270
|
+
* This class defines various parameters and policies related to the scanning
|
|
271
|
+
* process, including image quality handling, data extraction and anonymization,
|
|
272
|
+
* along with options for frame processing and image extraction.
|
|
273
|
+
*
|
|
274
|
+
* */
|
|
275
|
+
export type BlinkIdScanningSettings = Partial<{
|
|
276
|
+
/*
|
|
277
|
+
* Settings for the document capture module.
|
|
316
278
|
*
|
|
317
|
-
*
|
|
318
|
-
*
|
|
279
|
+
* This module is responsible for the initial document detection, image extraction
|
|
280
|
+
* (such as face and document images), and image quality validation (blur, glare,
|
|
281
|
+
* and lighting checks).
|
|
319
282
|
*
|
|
320
|
-
*
|
|
321
|
-
*/
|
|
322
|
-
returnInputImages: boolean;
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* Process only cropped document images.
|
|
326
|
-
* Requires the input image to consist solely of the cropped document image with perspective correction applied.
|
|
327
|
-
* This only applies to images from Photo input image source - for images from Video input image source, setting will be ignored.
|
|
283
|
+
* Set to `null` to disable this module.
|
|
328
284
|
*
|
|
329
|
-
*
|
|
285
|
+
* See {@link DocumentCaptureModuleSettings} for more information.
|
|
330
286
|
*/
|
|
331
|
-
|
|
287
|
+
documentCaptureModule: Partial<DocumentCaptureModuleSettings> | null;
|
|
332
288
|
|
|
333
|
-
|
|
334
|
-
*
|
|
289
|
+
/*
|
|
290
|
+
* Settings for the MRZ (Machine Readable Zone) extraction module.
|
|
335
291
|
*
|
|
336
|
-
*
|
|
337
|
-
*
|
|
292
|
+
* This module is dedicated to the detection and parsing of machine-readable
|
|
293
|
+
* zone typically found on passports, visas, and identity cards.
|
|
338
294
|
*
|
|
339
|
-
*
|
|
295
|
+
* Set to `null` to disable this module.
|
|
340
296
|
*
|
|
341
|
-
*
|
|
297
|
+
* See {@link MrzModuleSettings} for more information.
|
|
342
298
|
*/
|
|
343
|
-
|
|
299
|
+
mrzModule: Partial<MrzModuleSettings> | null;
|
|
344
300
|
|
|
345
301
|
/**
|
|
346
|
-
*
|
|
302
|
+
* Settings for the barcode extraction module.
|
|
347
303
|
*
|
|
348
|
-
*
|
|
349
|
-
*
|
|
350
|
-
* All fields have to be successfully validated in order to successfully scan a document.
|
|
351
|
-
* Setting is used to improve scanning accuracy.
|
|
352
|
-
* If set to `true`, when an invalid character is detected `ProcessingStatus.InvalidCharactersFound` is returned.
|
|
304
|
+
* This module manages the detection and data extraction from various 1D and 2D
|
|
305
|
+
* barcode formats (such as PDF417, QR codes, and various retail codes).
|
|
353
306
|
*
|
|
354
|
-
*
|
|
355
|
-
*/
|
|
356
|
-
enableCharacterValidation: boolean;
|
|
357
|
-
|
|
358
|
-
/**
|
|
359
|
-
* Defines the minimum required margin (in percentage) between the edge of the input image and the document.
|
|
307
|
+
* It can operate as a standalone module or in combination with document capture.
|
|
360
308
|
*
|
|
361
|
-
*
|
|
362
|
-
* The setting is not applicable if `scanCroppedDocumentImage = true` (it will be ignored).
|
|
363
|
-
* This setting is implemented to comply with regulations in certain countries that mandate documents
|
|
364
|
-
* to be stored with adequate margins in the image.
|
|
309
|
+
* Set to `null` to disable this module.
|
|
365
310
|
*
|
|
366
|
-
*
|
|
311
|
+
* See {@link BarcodeModuleSettings} for more information.
|
|
367
312
|
*/
|
|
368
|
-
|
|
313
|
+
barcodeModule: Partial<BarcodeModuleSettings> | null;
|
|
369
314
|
|
|
370
315
|
/**
|
|
371
|
-
*
|
|
316
|
+
* Settings for the VIZ (Visual Inspection Zone) extraction module.
|
|
372
317
|
*
|
|
373
|
-
*
|
|
374
|
-
*
|
|
318
|
+
* This module is responsible for extracting data from the document's
|
|
319
|
+
* visual fields.
|
|
375
320
|
*
|
|
376
|
-
*
|
|
377
|
-
|
|
378
|
-
scanUnsupportedBack: boolean;
|
|
379
|
-
|
|
380
|
-
/**
|
|
381
|
-
* Indicates whether scanning can continue to the next side despite an uncertain front-side scan.
|
|
321
|
+
* It supports features such as character validation for increased accuracy,
|
|
322
|
+
* signature image extraction, and data aggregation across multiple video frames.
|
|
382
323
|
*
|
|
383
|
-
*
|
|
384
|
-
* ignored.
|
|
324
|
+
* Set to `null` to disable this module.
|
|
385
325
|
*
|
|
386
|
-
*
|
|
326
|
+
* See {@link VizModuleSettings} for more information.
|
|
387
327
|
*/
|
|
388
|
-
|
|
328
|
+
vizModule: Partial<VizModuleSettings> | null;
|
|
389
329
|
|
|
390
330
|
/**
|
|
391
331
|
* The maximum allowed mismatches per field during data matching.
|
|
392
332
|
*
|
|
393
333
|
* Configures the maximum number of characters per field that can be inconsistent during data matching.
|
|
394
|
-
* By defualt, no mismatches are allowed.
|
|
395
334
|
*
|
|
396
|
-
*
|
|
335
|
+
* By default, no mismatches are allowed.
|
|
397
336
|
*/
|
|
398
337
|
maxAllowedMismatchesPerField: number;
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* Indicates whether only the passport data page should be scanned.
|
|
402
|
-
*
|
|
403
|
-
* Scan only the data page ( page containing MRZ ) of the passport.
|
|
404
|
-
* If set to `false`, it will be required to scan the second page of certain passports.
|
|
405
|
-
*
|
|
406
|
-
* Default: `true`
|
|
407
|
-
*/
|
|
408
|
-
scanPassportDataPageOnly: boolean;
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* Configures the image processing settings during the scanning process.
|
|
412
|
-
*
|
|
413
|
-
* Allows customization of cropped image handling, such as dotsPerInch, extensions, and
|
|
414
|
-
* whether images should be returned for the document, face or signature regions.
|
|
415
|
-
*
|
|
416
|
-
* See {@link CroppedImageSettings} for more information.
|
|
417
|
-
*/
|
|
418
|
-
croppedImageSettings: CroppedImageSettings;
|
|
419
|
-
|
|
420
|
-
/**
|
|
421
|
-
* Represents the configurable settings for scanning a document.
|
|
422
|
-
*
|
|
423
|
-
* This class defines various parameters and policies related to the scanning
|
|
424
|
-
* process, including image quality handling, data extraction and anonymization,
|
|
425
|
-
* along with options for frame processing and image extraction.
|
|
426
|
-
*/
|
|
427
|
-
constructor() {
|
|
428
|
-
this.blurDetectionLevel = DetectionLevel.Mid;
|
|
429
|
-
this.skipImagesWithBlur = true;
|
|
430
|
-
this.glareDetectionLevel = DetectionLevel.Mid;
|
|
431
|
-
this.skipImagesWithGlare = true;
|
|
432
|
-
this.tiltDetectionLevel = DetectionLevel.Mid;
|
|
433
|
-
this.skipImagesWithInadequateLightingConditions = true;
|
|
434
|
-
this.skipImagesOccludedByHand = true;
|
|
435
|
-
this.combineResultsFromMultipleInputImages = true;
|
|
436
|
-
this.enableBarcodeScanOnly = false;
|
|
437
|
-
this.anonymizationMode = AnonymizationMode.FullResult;
|
|
438
|
-
this.returnInputImages = false;
|
|
439
|
-
this.scanCroppedDocumentImage = false;
|
|
440
|
-
this.recognitionModeFilter = new RecognitionModeFilter();
|
|
441
|
-
this.enableCharacterValidation = true;
|
|
442
|
-
this.inputImageMargin = 0.02;
|
|
443
|
-
this.scanUnsupportedBack = false;
|
|
444
|
-
this.allowUncertainFrontSideScan = false;
|
|
445
|
-
this.maxAllowedMismatchesPerField = 0;
|
|
446
|
-
this.scanPassportDataPageOnly = true;
|
|
447
|
-
this.croppedImageSettings = new CroppedImageSettings();
|
|
448
|
-
}
|
|
449
|
-
}
|
|
338
|
+
}>;
|
|
450
339
|
|
|
451
340
|
/**
|
|
452
341
|
* Allows customization of various aspects of the UI
|
|
453
342
|
* used during the scanning process.
|
|
454
343
|
*
|
|
455
344
|
*/
|
|
456
|
-
export
|
|
345
|
+
export type BlinkIdScanningUxSettings = Partial<{
|
|
457
346
|
/**
|
|
458
347
|
* A boolean indicating whether to show a help button
|
|
459
348
|
* and enable help screens during the scanning session.
|
|
@@ -486,67 +375,7 @@ export class BlinkIdScanningUxSettings {
|
|
|
486
375
|
* This value represents the user’s choice of front or back camera.
|
|
487
376
|
* The system determines the actual physical camera device.
|
|
488
377
|
*
|
|
489
|
-
* Default: {@link
|
|
378
|
+
* Default: {@link PreferredCamera.back}
|
|
490
379
|
*/
|
|
491
380
|
preferredCamera: PreferredCamera;
|
|
492
|
-
|
|
493
|
-
constructor() {
|
|
494
|
-
this.showHelpButton = true;
|
|
495
|
-
this.showOnboardingDialog = true;
|
|
496
|
-
this.allowHapticFeedback = true;
|
|
497
|
-
this.preferredCamera = PreferredCamera.Back;
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
/**
|
|
502
|
-
* Represents the image cropping settings.
|
|
503
|
-
*
|
|
504
|
-
*/
|
|
505
|
-
export class CroppedImageSettings {
|
|
506
|
-
/**
|
|
507
|
-
* The DPI value for the cropped image.
|
|
508
|
-
*
|
|
509
|
-
* Default: `250`
|
|
510
|
-
*/
|
|
511
|
-
dotsPerInch: number;
|
|
512
|
-
|
|
513
|
-
/**
|
|
514
|
-
* The extension factor for the cropped image.
|
|
515
|
-
*
|
|
516
|
-
* Default: `0`
|
|
517
|
-
*/
|
|
518
|
-
extensionFactor: number;
|
|
519
|
-
|
|
520
|
-
/**
|
|
521
|
-
* Indicates whether the document image should be returned.
|
|
522
|
-
*
|
|
523
|
-
* Default: `false`
|
|
524
|
-
*/
|
|
525
|
-
returnDocumentImage: boolean;
|
|
526
|
-
|
|
527
|
-
/**
|
|
528
|
-
* Indicates whether the face image should be returned.
|
|
529
|
-
*
|
|
530
|
-
* Default: `false`
|
|
531
|
-
*/
|
|
532
|
-
returnFaceImage: boolean;
|
|
533
|
-
|
|
534
|
-
/**
|
|
535
|
-
* Indicates whether the signature image should be returned.
|
|
536
|
-
*
|
|
537
|
-
* Default: `false`
|
|
538
|
-
*/
|
|
539
|
-
returnSignatureImage: boolean;
|
|
540
|
-
|
|
541
|
-
/**
|
|
542
|
-
* Represents the image cropping settings.
|
|
543
|
-
*
|
|
544
|
-
*/
|
|
545
|
-
constructor() {
|
|
546
|
-
this.dotsPerInch = 250;
|
|
547
|
-
this.extensionFactor = 0;
|
|
548
|
-
this.returnDocumentImage = false;
|
|
549
|
-
this.returnFaceImage = false;
|
|
550
|
-
this.returnSignatureImage = false;
|
|
551
|
-
}
|
|
552
|
-
}
|
|
381
|
+
}>;
|