@microblink/blinkid-react-native 7.4.0 → 7.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -1
- 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/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/android/.project +28 -0
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkIdDeserializationUtilities.kt +20 -4
- package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkIdSerializationUtilities.kt +64 -1
- package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkidReactNativeModule.kt +124 -60
- package/ios/BlinkIdDeserializationUtilities.swift +29 -3
- package/ios/BlinkIdSerializationUtilities.swift +77 -11
- package/ios/BlinkidReactNative.mm +20 -5
- package/ios/BlinkidReactNativeModule.swift +74 -24
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/BlinkID +0 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Headers/BlinkID-Swift.h +24830 -16867
- 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-apple-ios.abi.json +43986 -29037
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.private.swiftinterface +1214 -626
- 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 +1214 -626
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/PrivateHeaders/SwiftCxxBridge.hpp +1 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/_CodeSignature/CodeResources +17 -17
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/conan.xcconfig +7 -3
- 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-Swift.h +51838 -35931
- 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-apple-ios-simulator.abi.json +43986 -29037
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +1214 -626
- 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/arm64-apple-ios-simulator.swiftinterface +1214 -626
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.abi.json +43986 -29037
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +1214 -626
- 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 +1214 -626
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/PrivateHeaders/SwiftCxxBridge.hpp +1 -0
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/_CodeSignature/CodeResources +27 -27
- package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/conan.xcconfig +7 -3
- package/ios/Frameworks/BlinkIDUX.xcframework/Info.plist +5 -5
- package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeResources +1824 -372
- 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 +1024 -257
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.package.swiftinterface +40 -46
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.private.swiftinterface +40 -46
- 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 +40 -46
- 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/CodeRequirements-1 +0 -0
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/_CodeSignature/CodeResources +816 -90
- 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 +1024 -257
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.package.swiftinterface +40 -46
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +40 -46
- 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 +40 -46
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.abi.json +1024 -257
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.package.swiftinterface +40 -46
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +40 -46
- 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 +40 -46
- package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/_CodeSignature/CodeResources +1 -1
- package/lib/module/NativeBlinkidReactNative.js.map +1 -1
- package/lib/module/blinkIdResult.js +122 -0
- package/lib/module/blinkIdResult.js.map +1 -1
- package/lib/module/blinkIdSettings.js +28 -7
- package/lib/module/blinkIdSettings.js.map +1 -1
- package/lib/module/index.js +47 -4
- package/lib/module/index.js.map +1 -1
- package/lib/module/types.js +102 -1
- package/lib/module/types.js.map +1 -1
- package/lib/typescript/src/NativeBlinkidReactNative.d.ts +39 -2
- package/lib/typescript/src/NativeBlinkidReactNative.d.ts.map +1 -1
- package/lib/typescript/src/blinkIdResult.d.ts +55 -0
- package/lib/typescript/src/blinkIdResult.d.ts.map +1 -1
- package/lib/typescript/src/blinkIdSettings.d.ts +25 -6
- package/lib/typescript/src/blinkIdSettings.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +41 -4
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/types.d.ts +91 -3
- package/lib/typescript/src/types.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/NativeBlinkidReactNative.ts +41 -2
- package/src/blinkIdResult.ts +133 -0
- package/src/blinkIdSettings.ts +30 -7
- package/src/index.tsx +52 -5
- package/src/types.ts +134 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.
|
|
3
|
-
// swift-module-flags: -target x86_64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature ExistentialAny -module-name BlinkIDUX -package-name blinkid_ios
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
|
|
3
|
+
// swift-module-flags: -target x86_64-apple-ios16.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature ExistentialAny -enable-experimental-feature DebugDescriptionMacro -module-name BlinkIDUX -package-name blinkid_ios
|
|
4
|
+
// swift-module-flags-ignorable: -interface-compiler-version 6.1.2
|
|
4
5
|
import AVFoundation
|
|
5
6
|
import BlinkID
|
|
6
7
|
import Combine
|
|
@@ -22,12 +23,12 @@ import os.log
|
|
|
22
23
|
import os
|
|
23
24
|
public actor BlinkIDEventStream : BlinkIDUX.EventStream {
|
|
24
25
|
public init()
|
|
26
|
+
@objc deinit
|
|
25
27
|
public func send(_ events: [BlinkIDUX.UIEvent])
|
|
26
28
|
public var stream: _Concurrency.AsyncStream<[BlinkIDUX.UIEvent]> {
|
|
27
29
|
get
|
|
28
30
|
}
|
|
29
31
|
public typealias Event = BlinkIDUX.UIEvent
|
|
30
|
-
@objc deinit
|
|
31
32
|
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
32
33
|
@_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor {
|
|
33
34
|
get
|
|
@@ -44,13 +45,16 @@ public actor BlinkIDAnalyzer : BlinkIDUX.CameraFrameAnalyzer {
|
|
|
44
45
|
get
|
|
45
46
|
}
|
|
46
47
|
public init(sdk: BlinkID.BlinkIDSdk, blinkIdSessionSettings: BlinkID.BlinkIDSessionSettings = BlinkIDSessionSettings(inputImageSource: .video), eventStream: BlinkIDUX.BlinkIDEventStream, classFilter: (any BlinkIDUX.BlinkIDClassFilter)? = nil) async throws
|
|
48
|
+
nonisolated public var sessionNumber: Swift.Int {
|
|
49
|
+
get
|
|
50
|
+
}
|
|
47
51
|
public func analyze(image: BlinkIDUX.BlinkIDAnalyzer.Frame) async
|
|
48
52
|
public func cancel()
|
|
49
53
|
public func result() async -> BlinkIDUX.ScanningResult<BlinkID.BlinkIDScanningResult, BlinkIDUX.BlinkIDScanningAlertType>
|
|
50
54
|
public func pause()
|
|
51
55
|
public func resume()
|
|
52
56
|
public func restart() throws
|
|
53
|
-
public func end()
|
|
57
|
+
public func end()
|
|
54
58
|
nonisolated public var events: any BlinkIDUX.EventStream<BlinkIDUX.UIEvent> {
|
|
55
59
|
get
|
|
56
60
|
}
|
|
@@ -91,11 +95,10 @@ public enum BlinkIDScanningAlertType : Swift.Sendable, BlinkIDUX.AlertTypeProtoc
|
|
|
91
95
|
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *)
|
|
92
96
|
set
|
|
93
97
|
}
|
|
94
|
-
@_Concurrency.MainActor override public init(analyzer: any BlinkIDUX.CameraFrameAnalyzer<BlinkID.CameraFrame, BlinkIDUX.UIEvent>,
|
|
98
|
+
@_Concurrency.MainActor override public init(analyzer: any BlinkIDUX.CameraFrameAnalyzer<BlinkID.CameraFrame, BlinkIDUX.UIEvent>, uxSettings: BlinkIDUX.ScanningUXSettings = ScanningUXSettings(), sessionNumber: Swift.Int)
|
|
95
99
|
@_Concurrency.MainActor override final public func analyze() async
|
|
96
100
|
@_Concurrency.MainActor override final public func processAnalyzerResult() async
|
|
97
101
|
@_Concurrency.MainActor override final public func licenseErrorAlertDismised()
|
|
98
|
-
@_Concurrency.MainActor override final public func scanningDidCancel()
|
|
99
102
|
@_Concurrency.MainActor override final public func timeoutAlertDismised()
|
|
100
103
|
@_Concurrency.MainActor final public func finishScan() async
|
|
101
104
|
@objc deinit
|
|
@@ -105,7 +108,6 @@ public enum BlinkIDScanningAlertType : Swift.Sendable, BlinkIDUX.AlertTypeProtoc
|
|
|
105
108
|
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
106
109
|
get
|
|
107
110
|
}
|
|
108
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
109
111
|
public typealias Body = @_opaqueReturnTypeOf("$s9BlinkIDUX0A8IDUXViewV4bodyQrvp", 0) __
|
|
110
112
|
}
|
|
111
113
|
@_hasMissingDesignatedInitializers final public class BlinkIDTheme : BlinkIDUX.UXThemeProtocol {
|
|
@@ -147,18 +149,10 @@ public enum ScanningResult<T, U> : BlinkIDUX.ScanningResultProtocol where T : Sw
|
|
|
147
149
|
get
|
|
148
150
|
}
|
|
149
151
|
}
|
|
150
|
-
#if compiler(>=5.3) && $PrimaryAssociatedTypes2
|
|
151
152
|
public protocol EventStream<Event> : Swift.Sendable {
|
|
152
153
|
associatedtype Event : Swift.Sendable
|
|
153
154
|
var stream: _Concurrency.AsyncStream<[Self.Event]> { get async }
|
|
154
155
|
}
|
|
155
|
-
#else
|
|
156
|
-
public protocol EventStream : Swift.Sendable {
|
|
157
|
-
associatedtype Event : Swift.Sendable
|
|
158
|
-
var stream: _Concurrency.AsyncStream<[Self.Event]> { get async }
|
|
159
|
-
}
|
|
160
|
-
#endif
|
|
161
|
-
#if compiler(>=5.3) && $PrimaryAssociatedTypes2
|
|
162
156
|
public protocol CameraFrameAnalyzer<Frame, Event> : Swift.Sendable {
|
|
163
157
|
associatedtype Result : BlinkIDUX.ScanningResultProtocol
|
|
164
158
|
associatedtype Frame : Swift.Sendable
|
|
@@ -172,29 +166,14 @@ public protocol CameraFrameAnalyzer<Frame, Event> : Swift.Sendable {
|
|
|
172
166
|
func result() async -> Self.Result
|
|
173
167
|
var events: any BlinkIDUX.EventStream<Self.Event> { get }
|
|
174
168
|
var stepTimeoutDuration: Foundation.TimeInterval { get async }
|
|
169
|
+
var sessionNumber: Swift.Int { get }
|
|
175
170
|
}
|
|
176
|
-
#else
|
|
177
|
-
public protocol CameraFrameAnalyzer : Swift.Sendable {
|
|
178
|
-
associatedtype Result : BlinkIDUX.ScanningResultProtocol
|
|
179
|
-
associatedtype Frame : Swift.Sendable
|
|
180
|
-
associatedtype Event : Swift.Sendable
|
|
181
|
-
func analyze(image: Self.Frame) async
|
|
182
|
-
func cancel() async
|
|
183
|
-
func pause() async
|
|
184
|
-
func resume() async
|
|
185
|
-
func restart() async throws
|
|
186
|
-
func end() async
|
|
187
|
-
func result() async -> Self.Result
|
|
188
|
-
var events: any BlinkIDUX.EventStream<Self.Event> { get }
|
|
189
|
-
var stepTimeoutDuration: Foundation.TimeInterval { get async }
|
|
190
|
-
}
|
|
191
|
-
#endif
|
|
192
171
|
public enum PassportOrientation : Swift.Sendable, Swift.Equatable {
|
|
193
172
|
case none
|
|
194
173
|
case left90
|
|
195
174
|
case right90
|
|
196
|
-
public func hash(into hasher: inout Swift.Hasher)
|
|
197
175
|
public static func == (a: BlinkIDUX.PassportOrientation, b: BlinkIDUX.PassportOrientation) -> Swift.Bool
|
|
176
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
198
177
|
public var hashValue: Swift.Int {
|
|
199
178
|
get
|
|
200
179
|
}
|
|
@@ -204,9 +183,23 @@ public enum DocumentSide : Swift.Sendable, Swift.Equatable {
|
|
|
204
183
|
case back
|
|
205
184
|
case barcode
|
|
206
185
|
case passport(BlinkIDUX.PassportOrientation)
|
|
186
|
+
case passportBarcode
|
|
207
187
|
public static func == (a: BlinkIDUX.DocumentSide, b: BlinkIDUX.DocumentSide) -> Swift.Bool
|
|
208
188
|
}
|
|
209
189
|
@_Concurrency.MainActor final public class Camera : BlinkIDUX.CameraModel {
|
|
190
|
+
public enum CameraPosition : Swift.Equatable {
|
|
191
|
+
case back
|
|
192
|
+
case front
|
|
193
|
+
public static func == (a: BlinkIDUX.Camera.CameraPosition, b: BlinkIDUX.Camera.CameraPosition) -> Swift.Bool
|
|
194
|
+
public func hash(into hasher: inout Swift.Hasher)
|
|
195
|
+
public var hashValue: Swift.Int {
|
|
196
|
+
get
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
@_Concurrency.MainActor final public var preferredCamera: BlinkIDUX.Camera.CameraPosition {
|
|
200
|
+
get
|
|
201
|
+
set
|
|
202
|
+
}
|
|
210
203
|
@Combine.Published @_projectedValueProperty($status) @_Concurrency.MainActor final public var status: BlinkIDUX.CameraStatus {
|
|
211
204
|
get
|
|
212
205
|
}
|
|
@@ -222,6 +215,7 @@ public enum DocumentSide : Swift.Sendable, Swift.Equatable {
|
|
|
222
215
|
@_Concurrency.MainActor final public var orientation: AVFoundation.AVCaptureVideoOrientation {
|
|
223
216
|
get
|
|
224
217
|
}
|
|
218
|
+
@_Concurrency.MainActor final public let captureService: BlinkIDUX.CaptureService
|
|
225
219
|
@_Concurrency.MainActor final public var previewSource: any BlinkIDUX.PreviewSource {
|
|
226
220
|
get
|
|
227
221
|
}
|
|
@@ -231,6 +225,7 @@ public enum DocumentSide : Swift.Sendable, Swift.Equatable {
|
|
|
231
225
|
@_Concurrency.MainActor public init()
|
|
232
226
|
@objc deinit
|
|
233
227
|
@_Concurrency.MainActor final public func start() async
|
|
228
|
+
@_Concurrency.MainActor final public func checkAuthorization(sessionNumber: Swift.Int) async
|
|
234
229
|
@_Concurrency.MainActor final public func stop() async
|
|
235
230
|
@_Concurrency.MainActor final public func focusAndExpose(at point: CoreFoundation.CGPoint) async
|
|
236
231
|
@_Concurrency.MainActor final public var sampleBuffer: _Concurrency.AsyncStream<BlinkIDUX.SampleBuffer> {
|
|
@@ -246,6 +241,13 @@ public enum DocumentSide : Swift.Sendable, Swift.Equatable {
|
|
|
246
241
|
final public let buffer: CoreMedia.CMSampleBuffer
|
|
247
242
|
@objc deinit
|
|
248
243
|
}
|
|
244
|
+
@_hasMissingDesignatedInitializers public actor CaptureService {
|
|
245
|
+
@objc deinit
|
|
246
|
+
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
247
|
+
@_semantics("defaultActor") nonisolated final public var unownedExecutor: _Concurrency.UnownedSerialExecutor {
|
|
248
|
+
get
|
|
249
|
+
}
|
|
250
|
+
}
|
|
249
251
|
@_Concurrency.MainActor public protocol CameraModel : AnyObject {
|
|
250
252
|
@_Concurrency.MainActor var status: BlinkIDUX.CameraStatus { get }
|
|
251
253
|
@_Concurrency.MainActor var previewSource: any BlinkIDUX.PreviewSource { get }
|
|
@@ -279,7 +281,6 @@ public enum CaptureMode : Swift.String, Swift.Identifiable, Swift.CaseIterable {
|
|
|
279
281
|
case video
|
|
280
282
|
public init?(rawValue: Swift.String)
|
|
281
283
|
public typealias AllCases = [BlinkIDUX.CaptureMode]
|
|
282
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
283
284
|
public typealias ID = BlinkIDUX.CaptureMode
|
|
284
285
|
public typealias RawValue = Swift.String
|
|
285
286
|
nonisolated public static var allCases: [BlinkIDUX.CaptureMode] {
|
|
@@ -313,15 +314,8 @@ public enum CaptureActivity {
|
|
|
313
314
|
nonisolated public func setSession(_ session: AVFoundation.AVCaptureSession)
|
|
314
315
|
@objc deinit
|
|
315
316
|
}
|
|
316
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
317
317
|
public typealias Body = Swift.Never
|
|
318
|
-
@available(iOS 13.0, tvOS 13.0, *)
|
|
319
|
-
@available(watchOS, unavailable)
|
|
320
|
-
@available(macOS, unavailable)
|
|
321
318
|
public typealias Coordinator = Swift.Void
|
|
322
|
-
@available(iOS 13.0, tvOS 13.0, *)
|
|
323
|
-
@available(watchOS, unavailable)
|
|
324
|
-
@available(macOS, unavailable)
|
|
325
319
|
public typealias UIViewType = BlinkIDUX.CameraPreview.PreviewView
|
|
326
320
|
}
|
|
327
321
|
public protocol PreviewSource : Swift.Sendable {
|
|
@@ -335,7 +329,6 @@ public protocol PreviewTarget {
|
|
|
335
329
|
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
336
330
|
get
|
|
337
331
|
}
|
|
338
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
339
332
|
public typealias Body = @_opaqueReturnTypeOf("$s9BlinkIDUX10CameraViewV4bodyQrvp", 0) __<Camera>
|
|
340
333
|
}
|
|
341
334
|
@_Concurrency.MainActor public class NetworkMonitor : Combine.ObservableObject {
|
|
@@ -356,7 +349,6 @@ public protocol PreviewTarget {
|
|
|
356
349
|
}
|
|
357
350
|
@_Concurrency.MainActor public init()
|
|
358
351
|
@objc deinit
|
|
359
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
360
352
|
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
|
|
361
353
|
}
|
|
362
354
|
@_Concurrency.MainActor @preconcurrency public struct NoInternetView : SwiftUICore.View {
|
|
@@ -364,13 +356,15 @@ public protocol PreviewTarget {
|
|
|
364
356
|
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
|
|
365
357
|
get
|
|
366
358
|
}
|
|
367
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
368
359
|
public typealias Body = @_opaqueReturnTypeOf("$s9BlinkIDUX14NoInternetViewV4bodyQrvp", 0) __
|
|
369
360
|
}
|
|
370
361
|
public protocol AlertTypeProtocol {
|
|
371
362
|
var title: Swift.String { get }
|
|
372
363
|
var description: Swift.String { get }
|
|
373
364
|
}
|
|
365
|
+
public struct ScanningUXSettings {
|
|
366
|
+
public init(showIntroductionAlert: Swift.Bool = true, showHelpButton: Swift.Bool = true, preferredCameraPosition: BlinkIDUX.Camera.CameraPosition = .back, allowHapticFeedback: Swift.Bool = true)
|
|
367
|
+
}
|
|
374
368
|
@_Concurrency.MainActor public class ScanningViewModel<T, U> : Foundation.ObservableObject {
|
|
375
369
|
@Combine.Published @_projectedValueProperty($scanningResult) @_Concurrency.MainActor public var scanningResult: T? {
|
|
376
370
|
get
|
|
@@ -452,7 +446,7 @@ public protocol AlertTypeProtocol {
|
|
|
452
446
|
@available(iOS 14.0, tvOS 14.0, watchOS 7.0, macOS 11.0, *)
|
|
453
447
|
set
|
|
454
448
|
}
|
|
455
|
-
@_Concurrency.MainActor public init(analyzer: any BlinkIDUX.CameraFrameAnalyzer<BlinkID.CameraFrame, BlinkIDUX.UIEvent>,
|
|
449
|
+
@_Concurrency.MainActor public init(analyzer: any BlinkIDUX.CameraFrameAnalyzer<BlinkID.CameraFrame, BlinkIDUX.UIEvent>, uxSettings: BlinkIDUX.ScanningUXSettings = ScanningUXSettings(), sessionNumber: Swift.Int)
|
|
456
450
|
@objc deinit
|
|
457
451
|
@_Concurrency.MainActor public func analyze() async
|
|
458
452
|
@_Concurrency.MainActor public func processAnalyzerResult() async
|
|
@@ -464,8 +458,6 @@ public protocol AlertTypeProtocol {
|
|
|
464
458
|
@_Concurrency.MainActor public func pauseScanning()
|
|
465
459
|
@_Concurrency.MainActor public func resumeScanning()
|
|
466
460
|
@_Concurrency.MainActor public func restartScanning()
|
|
467
|
-
@_Concurrency.MainActor public func scanningDidCancel()
|
|
468
|
-
@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
|
|
469
461
|
public typealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
|
|
470
462
|
}
|
|
471
463
|
public protocol UXThemeProtocol {
|
|
@@ -546,6 +538,7 @@ public enum UIEvent : Swift.Equatable, Swift.Sendable {
|
|
|
546
538
|
case tooDark
|
|
547
539
|
case tooBright
|
|
548
540
|
case facePhotoNotFullyVisible
|
|
541
|
+
case wrongSidePassportWithBarcode
|
|
549
542
|
public static func == (a: BlinkIDUX.UIEvent, b: BlinkIDUX.UIEvent) -> Swift.Bool
|
|
550
543
|
}
|
|
551
544
|
extension BlinkIDUX.BlinkIDScanningAlertType : Swift.Equatable {}
|
|
@@ -553,6 +546,7 @@ extension BlinkIDUX.BlinkIDScanningAlertType : Swift.Hashable {}
|
|
|
553
546
|
extension BlinkIDUX.BlinkIDUXView : Swift.Sendable {}
|
|
554
547
|
extension BlinkIDUX.PassportOrientation : Swift.Hashable {}
|
|
555
548
|
extension BlinkIDUX.Camera : Swift.Sendable {}
|
|
549
|
+
extension BlinkIDUX.Camera.CameraPosition : Swift.Hashable {}
|
|
556
550
|
extension BlinkIDUX.CameraStatus : Swift.Equatable {}
|
|
557
551
|
extension BlinkIDUX.CameraStatus : Swift.Hashable {}
|
|
558
552
|
extension BlinkIDUX.CaptureMode : Swift.Equatable {}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../src","sources":["NativeBlinkidReactNative.ts"],"mappings":";;AACA,SAASA,mBAAmB,QAAQ,cAAc;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;
|
|
1
|
+
{"version":3,"names":["TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../src","sources":["NativeBlinkidReactNative.ts"],"mappings":";;AACA,SAASA,mBAAmB,QAAQ,cAAc;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAmFA,eAAeA,mBAAmB,CAACC,YAAY,CAAO,oBAAoB,CAAC","ignoreList":[]}
|
|
@@ -181,6 +181,11 @@ export class BlinkIdScanningResult {
|
|
|
181
181
|
*
|
|
182
182
|
*/
|
|
183
183
|
|
|
184
|
+
/**
|
|
185
|
+
* The vehicle owner.
|
|
186
|
+
*
|
|
187
|
+
*/
|
|
188
|
+
|
|
184
189
|
/**
|
|
185
190
|
* The vehicle type.
|
|
186
191
|
*
|
|
@@ -236,6 +241,56 @@ export class BlinkIdScanningResult {
|
|
|
236
241
|
*
|
|
237
242
|
*/
|
|
238
243
|
|
|
244
|
+
/**
|
|
245
|
+
* The date of entry of the document owner.
|
|
246
|
+
*
|
|
247
|
+
*/
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* The locality code of the document owner.
|
|
251
|
+
*
|
|
252
|
+
*/
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* The maiden name of the document owner.
|
|
256
|
+
*
|
|
257
|
+
*/
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* The municipality code of the document owner.
|
|
261
|
+
*
|
|
262
|
+
*/
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* The municipality of registration of the document owner.
|
|
266
|
+
*
|
|
267
|
+
*/
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* The polling station code of the document owner.
|
|
271
|
+
*
|
|
272
|
+
*/
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* The registration center code of the document owner.
|
|
276
|
+
*
|
|
277
|
+
*/
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* The section code of the document owner.
|
|
281
|
+
*
|
|
282
|
+
*/
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* The state code of the document owner.
|
|
286
|
+
*
|
|
287
|
+
*/
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* The state of the document owner.
|
|
291
|
+
*
|
|
292
|
+
*/
|
|
293
|
+
|
|
239
294
|
/**
|
|
240
295
|
* The driver license detailed info.
|
|
241
296
|
*
|
|
@@ -508,6 +563,13 @@ export class BlinkIdScanningResult {
|
|
|
508
563
|
*
|
|
509
564
|
*/
|
|
510
565
|
this.manufacturingYear = nativeBlinkIdResult.manufacturingYear;
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* The vehicle owner.
|
|
569
|
+
*
|
|
570
|
+
*/
|
|
571
|
+
this.vehicleOwner = nativeBlinkIdResult.vehicleOwner;
|
|
572
|
+
|
|
511
573
|
/**
|
|
512
574
|
* The vehicle type.
|
|
513
575
|
*
|
|
@@ -568,6 +630,66 @@ export class BlinkIdScanningResult {
|
|
|
568
630
|
*/
|
|
569
631
|
this.dateOfExpiry = nativeBlinkIdResult.dateOfExpiry;
|
|
570
632
|
|
|
633
|
+
/**
|
|
634
|
+
* The date of entry of the document owner.
|
|
635
|
+
*
|
|
636
|
+
*/
|
|
637
|
+
this.dateOfEntry = nativeBlinkIdResult.dateOfEntry;
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* The locality code of the document owner.
|
|
641
|
+
*
|
|
642
|
+
*/
|
|
643
|
+
this.localityCode = nativeBlinkIdResult.localityCode;
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* The maiden name of the document owner.
|
|
647
|
+
*
|
|
648
|
+
*/
|
|
649
|
+
this.maidenName = nativeBlinkIdResult.maidenName;
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* The municipality code of the document owner.
|
|
653
|
+
*
|
|
654
|
+
*/
|
|
655
|
+
this.municipalityCode = nativeBlinkIdResult.municipalityCode;
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* The municipality of registration of the document owner.
|
|
659
|
+
*
|
|
660
|
+
*/
|
|
661
|
+
this.municipalityOfRegistration = nativeBlinkIdResult.municipalityOfRegistration;
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* The polling station code of the document owner.
|
|
665
|
+
*
|
|
666
|
+
*/
|
|
667
|
+
this.pollingStationCode = nativeBlinkIdResult.pollingStationCode;
|
|
668
|
+
|
|
669
|
+
/**
|
|
670
|
+
* The registration center code of the document owner.
|
|
671
|
+
*
|
|
672
|
+
*/
|
|
673
|
+
this.registrationCenterCode = nativeBlinkIdResult.registrationCenterCode;
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* The section code of the document owner.
|
|
677
|
+
*
|
|
678
|
+
*/
|
|
679
|
+
this.sectionCode = nativeBlinkIdResult.sectionCode;
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* The state code of the document owner.
|
|
683
|
+
*
|
|
684
|
+
*/
|
|
685
|
+
this.stateCode = nativeBlinkIdResult.stateCode;
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* The state of the document owner.
|
|
689
|
+
*
|
|
690
|
+
*/
|
|
691
|
+
this.stateName = nativeBlinkIdResult.stateName;
|
|
692
|
+
|
|
571
693
|
/**
|
|
572
694
|
* Determines if date of expiry is permanent.
|
|
573
695
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["BlinkIdScanningResult","constructor","nativeBlinkIdResult","recognitionMode","documentClassInfo","dataMatchResult","firstName","lastName","fullName","additionalNameInformation","localizedName","fathersName","mothersName","address","additionalAddressInformation","additionalOptionalAddressInformation","placeOfBirth","nationality","race","religion","profession","maritalStatus","residentialStatus","employer","sex","sponsor","bloodType","documentNumber","personalIdNumber","documentAdditionalNumber","documentOptionalAdditionalNumber","additionalPersonalIdNumber","issuingAuthority","documentSubtype","remarks","residencePermitType","manufacturingYear","vehicleType","eligibilityCategory","specificDocumentValidity","visaType","countryCode","certificateNumber","nationalInsuranceNumber","dateOfBirth","dateOfIssue","dateOfExpiry","dateOfExpiryPermanent","driverLicenseDetailedInfo","dependentsInfo","subResults","firstInputImage","secondInputImage","barcodeInputImage","firstDocumentImage","secondDocumentImage","faceImage","signatureImage"],"sourceRoot":"../../src","sources":["blinkIdResult.ts"],"mappings":";;AAYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,qBAAqB,CAAC;EACjC;AACF;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAEE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;;EAEE;AACF;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;;EAEE;AACF;AACA;AACA;AACA;;EAEE;AACF;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;;EAEE;AACF;AACA;AAC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
|
|
1
|
+
{"version":3,"names":["BlinkIdScanningResult","constructor","nativeBlinkIdResult","recognitionMode","documentClassInfo","dataMatchResult","firstName","lastName","fullName","additionalNameInformation","localizedName","fathersName","mothersName","address","additionalAddressInformation","additionalOptionalAddressInformation","placeOfBirth","nationality","race","religion","profession","maritalStatus","residentialStatus","employer","sex","sponsor","bloodType","documentNumber","personalIdNumber","documentAdditionalNumber","documentOptionalAdditionalNumber","additionalPersonalIdNumber","issuingAuthority","documentSubtype","remarks","residencePermitType","manufacturingYear","vehicleOwner","vehicleType","eligibilityCategory","specificDocumentValidity","visaType","countryCode","certificateNumber","nationalInsuranceNumber","dateOfBirth","dateOfIssue","dateOfExpiry","dateOfEntry","localityCode","maidenName","municipalityCode","municipalityOfRegistration","pollingStationCode","registrationCenterCode","sectionCode","stateCode","stateName","dateOfExpiryPermanent","driverLicenseDetailedInfo","dependentsInfo","subResults","firstInputImage","secondInputImage","barcodeInputImage","firstDocumentImage","secondDocumentImage","faceImage","signatureImage"],"sourceRoot":"../../src","sources":["blinkIdResult.ts"],"mappings":";;AAYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,qBAAqB,CAAC;EACjC;AACF;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAEE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAEE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;;EAEE;AACF;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;;EAEE;AACF;AACA;AACA;AACA;;EAEE;AACF;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;;EAEE;AACF;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;;EAEE;AACF;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;EACEC,WAAWA,CAACC,mBAAwB,EAAE;IACpC;AACJ;AACA;AACA;AACA;IACI,IAAI,CAACC,eAAe,GAAGD,mBAAmB,CAACC,eAAe;IAC1D;AACJ;AACA;AACA;AACA;IACI,IAAI,CAACC,iBAAiB,GAAGF,mBAAmB,CAACE,iBAAiB;IAC9D;AACJ;AACA;AACA;AACA;IACI,IAAI,CAACC,eAAe,GAAGH,mBAAmB,CAACG,eAAe;;IAE1D;AACJ;AACA;AACA;IACI,IAAI,CAACC,SAAS,GAAGJ,mBAAmB,CAACI,SAAS;;IAE9C;AACJ;AACA;AACA;IACI,IAAI,CAACC,QAAQ,GAAGL,mBAAmB,CAACK,QAAQ;;IAE5C;AACJ;AACA;AACA;IACI,IAAI,CAACC,QAAQ,GAAGN,mBAAmB,CAACM,QAAQ;;IAE5C;AACJ;AACA;AACA;IACI,IAAI,CAACC,yBAAyB,GAC5BP,mBAAmB,CAACO,yBAAyB;;IAE/C;AACJ;AACA;AACA;IACI,IAAI,CAACC,aAAa,GAAGR,mBAAmB,CAACQ,aAAa;IACtD;AACJ;AACA;AACA;IACI,IAAI,CAACC,WAAW,GAAGT,mBAAmB,CAACS,WAAW;;IAElD;AACJ;AACA;AACA;IACI,IAAI,CAACC,WAAW,GAAGV,mBAAmB,CAACU,WAAW;;IAElD;AACJ;AACA;AACA;IACI,IAAI,CAACC,OAAO,GAAGX,mBAAmB,CAACW,OAAO;;IAE1C;AACJ;AACA;AACA;IACI,IAAI,CAACC,4BAA4B,GAC/BZ,mBAAmB,CAACY,4BAA4B;;IAElD;AACJ;AACA;AACA;IACI,IAAI,CAACC,oCAAoC,GACvCb,mBAAmB,CAACa,oCAAoC;;IAE1D;AACJ;AACA;AACA;IACI,IAAI,CAACC,YAAY,GAAGd,mBAAmB,CAACc,YAAY;;IAEpD;AACJ;AACA;AACA;IACI,IAAI,CAACC,WAAW,GAAGf,mBAAmB,CAACe,WAAW;;IAElD;AACJ;AACA;AACA;IACI,IAAI,CAACC,IAAI,GAAGhB,mBAAmB,CAACgB,IAAI;;IAEpC;AACJ;AACA;AACA;IACI,IAAI,CAACC,QAAQ,GAAGjB,mBAAmB,CAACiB,QAAQ;;IAE5C;AACJ;AACA;AACA;IACI,IAAI,CAACC,UAAU,GAAGlB,mBAAmB,CAACkB,UAAU;;IAEhD;AACJ;AACA;AACA;IACI,IAAI,CAACC,aAAa,GAAGnB,mBAAmB,CAACmB,aAAa;;IAEtD;AACJ;AACA;AACA;IACI,IAAI,CAACC,iBAAiB,GAAGpB,mBAAmB,CAACoB,iBAAiB;IAC9D;AACJ;AACA;AACA;IACI,IAAI,CAACC,QAAQ,GAAGrB,mBAAmB,CAACqB,QAAQ;;IAE5C;AACJ;AACA;AACA;IACI,IAAI,CAACC,GAAG,GAAGtB,mBAAmB,CAACsB,GAAG;;IAElC;AACJ;AACA;AACA;IACI,IAAI,CAACC,OAAO,GAAGvB,mBAAmB,CAACuB,OAAO;;IAE1C;AACJ;AACA;AACA;IACI,IAAI,CAACC,SAAS,GAAGxB,mBAAmB,CAACwB,SAAS;;IAE9C;AACJ;AACA;AACA;IACI,IAAI,CAACC,cAAc,GAAGzB,mBAAmB,CAACyB,cAAc;;IAExD;AACJ;AACA;AACA;IACI,IAAI,CAACC,gBAAgB,GAAG1B,mBAAmB,CAAC0B,gBAAgB;;IAE5D;AACJ;AACA;AACA;IACI,IAAI,CAACC,wBAAwB,GAC3B3B,mBAAmB,CAAC2B,wBAAwB;;IAE9C;AACJ;AACA;AACA;IACI,IAAI,CAACC,gCAAgC,GACnC5B,mBAAmB,CAAC4B,gCAAgC;;IAEtD;AACJ;AACA;AACA;IACI,IAAI,CAACC,0BAA0B,GAC7B7B,mBAAmB,CAAC6B,0BAA0B;;IAEhD;AACJ;AACA;AACA;IACI,IAAI,CAACC,gBAAgB,GAAG9B,mBAAmB,CAAC8B,gBAAgB;;IAE5D;AACJ;AACA;AACA;IACI,IAAI,CAACC,eAAe,GAAG/B,mBAAmB,CAAC+B,eAAe;;IAE1D;AACJ;AACA;AACA;IACI,IAAI,CAACC,OAAO,GAAGhC,mBAAmB,CAACgC,OAAO;;IAE1C;AACJ;AACA;AACA;IACI,IAAI,CAACC,mBAAmB,GAAGjC,mBAAmB,CAACiC,mBAAmB;;IAElE;AACJ;AACA;AACA;IACI,IAAI,CAACC,iBAAiB,GAAGlC,mBAAmB,CAACkC,iBAAiB;;IAE9D;AACJ;AACA;AACA;IACI,IAAI,CAACC,YAAY,GAAGnC,mBAAmB,CAACmC,YAAY;;IAEpD;AACJ;AACA;AACA;IACI,IAAI,CAACC,WAAW,GAAGpC,mBAAmB,CAACoC,WAAW;;IAElD;AACJ;AACA;AACA;IACI,IAAI,CAACC,mBAAmB,GAAGrC,mBAAmB,CAACqC,mBAAmB;;IAElE;AACJ;AACA;AACA;IACI,IAAI,CAACC,wBAAwB,GAC3BtC,mBAAmB,CAACsC,wBAAwB;;IAE9C;AACJ;AACA;AACA;IACI,IAAI,CAACC,QAAQ,GAAGvC,mBAAmB,CAACuC,QAAQ;;IAE5C;AACJ;AACA;AACA;IACI,IAAI,CAACC,WAAW,GAAGxC,mBAAmB,CAACwC,WAAW;;IAElD;AACJ;AACA;AACA;IACI,IAAI,CAACC,iBAAiB,GAAGzC,mBAAmB,CAACyC,iBAAiB;;IAE9D;AACJ;AACA;AACA;IACI,IAAI,CAACC,uBAAuB,GAAG1C,mBAAmB,CAAC0C,uBAAuB;;IAE1E;AACJ;AACA;AACA;IACI,IAAI,CAACC,WAAW,GAAG3C,mBAAmB,CAAC2C,WAAW;;IAElD;AACJ;AACA;AACA;IACI,IAAI,CAACC,WAAW,GAAG5C,mBAAmB,CAAC4C,WAAW;;IAElD;AACJ;AACA;AACA;IACI,IAAI,CAACC,YAAY,GAAG7C,mBAAmB,CAAC6C,YAAY;;IAEpD;AACJ;AACA;AACA;IACI,IAAI,CAACC,WAAW,GAAG9C,mBAAmB,CAAC8C,WAAW;;IAElD;AACJ;AACA;AACA;IACI,IAAI,CAACC,YAAY,GAAG/C,mBAAmB,CAAC+C,YAAY;;IAEpD;AACJ;AACA;AACA;IACI,IAAI,CAACC,UAAU,GAAGhD,mBAAmB,CAACgD,UAAU;;IAEhD;AACJ;AACA;AACA;IACI,IAAI,CAACC,gBAAgB,GAAGjD,mBAAmB,CAACiD,gBAAgB;;IAE5D;AACJ;AACA;AACA;IACI,IAAI,CAACC,0BAA0B,GAC7BlD,mBAAmB,CAACkD,0BAA0B;;IAEhD;AACJ;AACA;AACA;IACI,IAAI,CAACC,kBAAkB,GAAGnD,mBAAmB,CAACmD,kBAAkB;;IAEhE;AACJ;AACA;AACA;IACI,IAAI,CAACC,sBAAsB,GAAGpD,mBAAmB,CAACoD,sBAAsB;;IAExE;AACJ;AACA;AACA;IACI,IAAI,CAACC,WAAW,GAAGrD,mBAAmB,CAACqD,WAAW;;IAElD;AACJ;AACA;AACA;IACI,IAAI,CAACC,SAAS,GAAGtD,mBAAmB,CAACsD,SAAS;;IAE9C;AACJ;AACA;AACA;IACI,IAAI,CAACC,SAAS,GAAGvD,mBAAmB,CAACuD,SAAS;;IAE9C;AACJ;AACA;AACA;IACI,IAAI,CAACC,qBAAqB,GAAGxD,mBAAmB,CAACwD,qBAAqB;;IAEtE;AACJ;AACA;AACA;AACA;IACI,IAAI,CAACC,yBAAyB,GAC5BzD,mBAAmB,CAACyD,yBAAyB;IAC/C;AACJ;AACA;AACA;AACA;IACI,IAAI,CAACC,cAAc,GAAG1D,mBAAmB,CAAC0D,cAAc;;IAExD;AACJ;AACA;AACA;AACA;IACI,IAAI,CAACC,UAAU,GAAG3D,mBAAmB,CAAC2D,UAAU;IAChD;AACJ;AACA;AACA;AACA;IACI,IAAI,CAACC,eAAe,GAAG5D,mBAAmB,CAAC4D,eAAe;IAC1D;AACJ;AACA;AACA;AACA;IACI,IAAI,CAACC,gBAAgB,GAAG7D,mBAAmB,CAAC6D,gBAAgB;;IAE5D;AACJ;AACA;AACA;AACA;IACI,IAAI,CAACC,iBAAiB,GAAG9D,mBAAmB,CAAC8D,iBAAiB;IAC9D;AACJ;AACA;AACA;AACA;IACI,IAAI,CAACC,kBAAkB,GAAG/D,mBAAmB,CAAC+D,kBAAkB;;IAEhE;AACJ;AACA;AACA;AACA;IACI,IAAI,CAACC,mBAAmB,GAAGhE,mBAAmB,CAACgE,mBAAmB;IAClE;AACJ;AACA;AACA;AACA;AACA;IACI,IAAI,CAACC,SAAS,GAAGjE,mBAAmB,CAACiE,SAAS;;IAE9C;AACJ;AACA;AACA;AACA;AACA;IACI,IAAI,CAACC,cAAc,GAAGlE,mBAAmB,CAACkE,cAAc;EAC1D;AACF","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { DetectionLevel, AnonymizationMode, ScanningMode, RecognitionModeFilter } from "./types.js";
|
|
3
|
+
import { DetectionLevel, AnonymizationMode, ScanningMode, RecognitionModeFilter, PreferredCamera } from "./types.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Settings for the initialization of the BlinkID SDK.
|
|
@@ -39,7 +39,7 @@ export class BlinkIdSdkSettings {
|
|
|
39
39
|
*/
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
* If resources downloading is disabled, this defines the bundle of your app where the resources reside.
|
|
42
|
+
* [iOS-specific] If resources downloading is disabled, this defines the bundle of your app where the resources reside.
|
|
43
43
|
*
|
|
44
44
|
*/
|
|
45
45
|
|
|
@@ -64,13 +64,13 @@ export class BlinkIdSdkSettings {
|
|
|
64
64
|
*
|
|
65
65
|
* Settings for the initialization of the BlinkID SDK.
|
|
66
66
|
*/
|
|
67
|
-
constructor(licenseKey, licensee, downloadResources, resourceDownloadUrl, resourceLocalFolder,
|
|
67
|
+
constructor(licenseKey, licensee, downloadResources, resourceDownloadUrl, resourceLocalFolder, bundleIdentifier, resourceRequestTimeout, microblinkProxyURL) {
|
|
68
68
|
this.licenseKey = licenseKey;
|
|
69
69
|
this.licensee = licensee;
|
|
70
70
|
this.downloadResources = downloadResources;
|
|
71
71
|
this.resourceDownloadUrl = resourceDownloadUrl;
|
|
72
72
|
this.resourceLocalFolder = resourceLocalFolder;
|
|
73
|
-
this.
|
|
73
|
+
this.bundleIdentifier = bundleIdentifier;
|
|
74
74
|
this.resourceRequestTimeout = resourceRequestTimeout;
|
|
75
75
|
this.microblinkProxyURL = microblinkProxyURL;
|
|
76
76
|
}
|
|
@@ -188,7 +188,7 @@ export class BlinkIdScanningSettings {
|
|
|
188
188
|
* `low` – less sensitive to tilt.
|
|
189
189
|
* `high` – highly sensitive to tilt.
|
|
190
190
|
*
|
|
191
|
-
* Default: {@link DetectionLevel.
|
|
191
|
+
* Default: {@link DetectionLevel.Mid}
|
|
192
192
|
*/
|
|
193
193
|
|
|
194
194
|
/**
|
|
@@ -383,7 +383,7 @@ export class BlinkIdScanningSettings {
|
|
|
383
383
|
this.skipImagesWithBlur = true;
|
|
384
384
|
this.glareDetectionLevel = DetectionLevel.Mid;
|
|
385
385
|
this.skipImagesWithGlare = true;
|
|
386
|
-
this.tiltDetectionLevel = DetectionLevel.
|
|
386
|
+
this.tiltDetectionLevel = DetectionLevel.Mid;
|
|
387
387
|
this.skipImagesWithInadequateLightingConditions = true;
|
|
388
388
|
this.skipImagesOccludedByHand = true;
|
|
389
389
|
this.combineResultsFromMultipleInputImages = true;
|
|
@@ -407,7 +407,7 @@ export class BlinkIdScanningSettings {
|
|
|
407
407
|
* used during the scanning process.
|
|
408
408
|
*
|
|
409
409
|
*/
|
|
410
|
-
export class
|
|
410
|
+
export class BlinkIdScanningUxSettings {
|
|
411
411
|
/**
|
|
412
412
|
* A boolean indicating whether to show a help button
|
|
413
413
|
* and enable help screens during the scanning session.
|
|
@@ -422,9 +422,30 @@ export class BlinkIdUiSettings {
|
|
|
422
422
|
* Default: `true`
|
|
423
423
|
*/
|
|
424
424
|
|
|
425
|
+
/**
|
|
426
|
+
* Determines whether haptic feedback is played for scanning-related events.
|
|
427
|
+
*
|
|
428
|
+
* When enabled, haptic responses are generated during scanning activities,
|
|
429
|
+
* such as detection updates or user interactions (e.g., toggling the flashlight).
|
|
430
|
+
*
|
|
431
|
+
* When disabled, no haptic feedback is produced.
|
|
432
|
+
* Default: `true`
|
|
433
|
+
*/
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* The preferred camera position to use when capturing document.
|
|
437
|
+
*
|
|
438
|
+
* This value represents the user’s choice of front or back camera.
|
|
439
|
+
* The system determines the actual physical camera device.
|
|
440
|
+
*
|
|
441
|
+
* Default: {@link PrefferedCamera.back}
|
|
442
|
+
*/
|
|
443
|
+
|
|
425
444
|
constructor() {
|
|
426
445
|
this.showHelpButton = true;
|
|
427
446
|
this.showOnboardingDialog = true;
|
|
447
|
+
this.allowHapticFeedback = true;
|
|
448
|
+
this.preferredCamera = PreferredCamera.Back;
|
|
428
449
|
}
|
|
429
450
|
}
|
|
430
451
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["DetectionLevel","AnonymizationMode","ScanningMode","RecognitionModeFilter","BlinkIdSdkSettings","constructor","licenseKey","licensee","downloadResources","resourceDownloadUrl","resourceLocalFolder","
|
|
1
|
+
{"version":3,"names":["DetectionLevel","AnonymizationMode","ScanningMode","RecognitionModeFilter","PreferredCamera","BlinkIdSdkSettings","constructor","licenseKey","licensee","downloadResources","resourceDownloadUrl","resourceLocalFolder","bundleIdentifier","resourceRequestTimeout","microblinkProxyURL","BlinkIdSessionSettings","scanningMode","Automatic","scanningSettings","BlinkIdScanningSettings","stepTimeoutDuration","blurDetectionLevel","Mid","skipImagesWithBlur","glareDetectionLevel","skipImagesWithGlare","tiltDetectionLevel","skipImagesWithInadequateLightingConditions","skipImagesOccludedByHand","combineResultsFromMultipleInputImages","enableBarcodeScanOnly","anonymizationMode","FullResult","returnInputImages","scanCroppedDocumentImage","recognitionModeFilter","enableCharacterValidation","inputImageMargin","scanUnsupportedBack","allowUncertainFrontSideScan","maxAllowedMismatchesPerField","scanPassportDataPageOnly","croppedImageSettings","CroppedImageSettings","BlinkIdScanningUxSettings","showHelpButton","showOnboardingDialog","allowHapticFeedback","preferredCamera","Back","dotsPerInch","extensionFactor","returnDocumentImage","returnFaceImage","returnSignatureImage"],"sourceRoot":"../../src","sources":["blinkIdSettings.ts"],"mappings":";;AAAA,SACEA,cAAc,EACdC,iBAAiB,EACjBC,YAAY,EAGZC,qBAAqB,EACrBC,eAAe,QACV,YAAS;;AAEhB;AACA;AACA;AACA;AACA,OAAO,MAAMC,kBAAkB,CAAC;EAC9B;AACF;AACA;AACA;;EAGE;AACF;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAGE;AACF;AACA;AACA;;EAEE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;EACEC,WAAWA,CACTC,UAAkB,EAClBC,QAAiB,EACjBC,iBAA2B,EAC3BC,mBAA4B,EAC5BC,mBAA4B,EAC5BC,gBAAyB,EACzBC,sBAA+B,EAC/BC,kBAA2B,EAC3B;IACA,IAAI,CAACP,UAAU,GAAGA,UAAU;IAC5B,IAAI,CAACC,QAAQ,GAAGA,QAAQ;IACxB,IAAI,CAACC,iBAAiB,GAAGA,iBAAiB;IAC1C,IAAI,CAACC,mBAAmB,GAAGA,mBAAmB;IAC9C,IAAI,CAACC,mBAAmB,GAAGA,mBAAmB;IAC9C,IAAI,CAACC,gBAAgB,GAAGA,gBAAgB;IACxC,IAAI,CAACC,sBAAsB,GAAGA,sBAAsB;IACpD,IAAI,CAACC,kBAAkB,GAAGA,kBAAkB;EAC9C;AACF;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,sBAAsB,CAAC;EAClC;AACF;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;EACET,WAAWA,CAAA,EAAG;IACZ,IAAI,CAACU,YAAY,GAAGd,YAAY,CAACe,SAAS;IAC1C,IAAI,CAACC,gBAAgB,GAAG,IAAIC,uBAAuB,CAAC,CAAC;IACrD,IAAI,CAACC,mBAAmB,GAAG,KAAK;EAClC;AACF;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMD,uBAAuB,CAAC;EACnC;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;;EAEE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;EACEb,WAAWA,CAAA,EAAG;IACZ,IAAI,CAACe,kBAAkB,GAAGrB,cAAc,CAACsB,GAAG;IAC5C,IAAI,CAACC,kBAAkB,GAAG,IAAI;IAC9B,IAAI,CAACC,mBAAmB,GAAGxB,cAAc,CAACsB,GAAG;IAC7C,IAAI,CAACG,mBAAmB,GAAG,IAAI;IAC/B,IAAI,CAACC,kBAAkB,GAAG1B,cAAc,CAACsB,GAAG;IAC5C,IAAI,CAACK,0CAA0C,GAAG,IAAI;IACtD,IAAI,CAACC,wBAAwB,GAAG,IAAI;IACpC,IAAI,CAACC,qCAAqC,GAAG,IAAI;IACjD,IAAI,CAACC,qBAAqB,GAAG,KAAK;IAClC,IAAI,CAACC,iBAAiB,GAAG9B,iBAAiB,CAAC+B,UAAU;IACrD,IAAI,CAACC,iBAAiB,GAAG,KAAK;IAC9B,IAAI,CAACC,wBAAwB,GAAG,KAAK;IACrC,IAAI,CAACC,qBAAqB,GAAG,IAAIhC,qBAAqB,CAAC,CAAC;IACxD,IAAI,CAACiC,yBAAyB,GAAG,IAAI;IACrC,IAAI,CAACC,gBAAgB,GAAG,IAAI;IAC5B,IAAI,CAACC,mBAAmB,GAAG,KAAK;IAChC,IAAI,CAACC,2BAA2B,GAAG,KAAK;IACxC,IAAI,CAACC,4BAA4B,GAAG,CAAC;IACrC,IAAI,CAACC,wBAAwB,GAAG,IAAI;IACpC,IAAI,CAACC,oBAAoB,GAAG,IAAIC,oBAAoB,CAAC,CAAC;EACxD;AACF;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,yBAAyB,CAAC;EACrC;AACF;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;;EAEE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;;EAGEtC,WAAWA,CAAA,EAAG;IACZ,IAAI,CAACuC,cAAc,GAAG,IAAI;IAC1B,IAAI,CAACC,oBAAoB,GAAG,IAAI;IAChC,IAAI,CAACC,mBAAmB,GAAG,IAAI;IAC/B,IAAI,CAACC,eAAe,GAAG5C,eAAe,CAAC6C,IAAI;EAC7C;AACF;;AAEA;AACA;AACA;AACA;AACA,OAAO,MAAMN,oBAAoB,CAAC;EAChC;AACF;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;AACA;;EAGE;AACF;AACA;AACA;EACErC,WAAWA,CAAA,EAAG;IACZ,IAAI,CAAC4C,WAAW,GAAG,GAAG;IACtB,IAAI,CAACC,eAAe,GAAG,CAAC;IACxB,IAAI,CAACC,mBAAmB,GAAG,KAAK;IAChC,IAAI,CAACC,eAAe,GAAG,KAAK;IAC5B,IAAI,CAACC,oBAAoB,GAAG,KAAK;EACnC;AACF","ignoreList":[]}
|
package/lib/module/index.js
CHANGED
|
@@ -3,12 +3,55 @@
|
|
|
3
3
|
import { BlinkIdScanningResult } from "./blinkIdResult.js";
|
|
4
4
|
import BlinkidReactNative from "./NativeBlinkidReactNative.js";
|
|
5
5
|
// Configuration classes
|
|
6
|
-
export { BlinkIdScanningSettings, BlinkIdSdkSettings, BlinkIdSessionSettings,
|
|
6
|
+
export { BlinkIdScanningSettings, BlinkIdSdkSettings, BlinkIdSessionSettings, BlinkIdScanningUxSettings, CroppedImageSettings } from "./blinkIdSettings.js";
|
|
7
7
|
export { BlinkIdScanningResult } from "./blinkIdResult.js";
|
|
8
8
|
|
|
9
9
|
// Types & enums
|
|
10
10
|
export * from "./types.js";
|
|
11
11
|
|
|
12
|
+
/** The `loadBlinkIdSdk` method creates or retrieves the instance of the BlinkID SDK.
|
|
13
|
+
*
|
|
14
|
+
* Initializes and loads the BlinkID SDK if it is not already loaded.
|
|
15
|
+
*
|
|
16
|
+
* This method handles:
|
|
17
|
+
* - SDK initialization
|
|
18
|
+
* - Resource downloading
|
|
19
|
+
* - License verification
|
|
20
|
+
*
|
|
21
|
+
* It ensures that only one SDK instance exists at any time.
|
|
22
|
+
*
|
|
23
|
+
* You can call this method in advance to **preload** the SDK before starting a scanning session.
|
|
24
|
+
* Doing so reduces loading time for the {@link performScan} and {@link performDirectApiScan} methods,
|
|
25
|
+
* since all resources will already be available and the license verified.
|
|
26
|
+
*
|
|
27
|
+
* If you do not call this method beforehand, it will still be automatically invoked on the native platform channels
|
|
28
|
+
* when a scan starts. However, the initial scan may take longer due to resource loading and license checks.
|
|
29
|
+
*
|
|
30
|
+
* @param blinkIdSdkSettings - {@link BlinkIdSdkSettings} - the class that contains all of the available SDK settings.
|
|
31
|
+
* It contains settings for the license key, and how the models, that the SDK needs for the scanning process, should be obtained.
|
|
32
|
+
*
|
|
33
|
+
* To obtain a valid license key, please visit https://developer.microblink.com/ or contact us directly at https://help.microblink.com.
|
|
34
|
+
*/
|
|
35
|
+
export async function loadBlinkIdSdk(blinkIdSdkSettings) {
|
|
36
|
+
await BlinkidReactNative.loadBlinkIdSdk(JSON.stringify(blinkIdSdkSettings));
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* The `unloadBlinkIdSdk` method terminates the BlinkID SDK and releases all associated resources.
|
|
41
|
+
*
|
|
42
|
+
* This method safely shuts down the SDK instance and frees any allocated memory.
|
|
43
|
+
* After calling this method, you must reinitialize the SDK (by calling {@link loadBlinkIdSdk}
|
|
44
|
+
* or any of the scanning methods) before using it again.
|
|
45
|
+
*
|
|
46
|
+
* This method is automatically called after each successful scan session.
|
|
47
|
+
*
|
|
48
|
+
* @param deleteCachedResources - if set to `true` (`false` is default), the method performs a **complete cleanup**,
|
|
49
|
+
* including deletion of all downloaded and cached SDK resources from the device.
|
|
50
|
+
*/
|
|
51
|
+
export async function unloadBlinkIdSdk(deleteCachedResources) {
|
|
52
|
+
await BlinkidReactNative.unloadBlinkIdSdk(deleteCachedResources);
|
|
53
|
+
}
|
|
54
|
+
|
|
12
55
|
/**
|
|
13
56
|
* The `performScan` method launches the BlinkID scanning process with the default UX properties.
|
|
14
57
|
*
|
|
@@ -23,7 +66,7 @@ export * from "./types.js";
|
|
|
23
66
|
* @param blinkIdSessionSettings - BlinkID Session Settings - the class that contains various settings for the scanning session. It contains the settings for the {@link ScanningMode} and
|
|
24
67
|
* {@link BlinkIdScanningSettings}, which define various parameters that control the scanning process.
|
|
25
68
|
*
|
|
26
|
-
* @param blinkIdUiSettings - BlinkID
|
|
69
|
+
* @param blinkIdUiSettings - BlinkID Scanning UX Settings - the class that allows customization of various aspects of the UI & UX used during the scanning process.
|
|
27
70
|
*
|
|
28
71
|
* @param classFilter - The optional `ClassFilter` class - the class which controls which documents will be accepted or reject for information extraction during the scanning session.
|
|
29
72
|
* See {@link ClassFilter} for more implementation information.
|
|
@@ -32,8 +75,8 @@ export * from "./types.js";
|
|
|
32
75
|
* This class contains the results of scanning a document, including the extracted data and images from the document.
|
|
33
76
|
*
|
|
34
77
|
*/
|
|
35
|
-
export async function performScan(blinkIdSdkSettings, blinkIdSessionSettings,
|
|
36
|
-
const jsonResult = await BlinkidReactNative.performScan(JSON.stringify(blinkIdSdkSettings), JSON.stringify(blinkIdSessionSettings), JSON.stringify(
|
|
78
|
+
export async function performScan(blinkIdSdkSettings, blinkIdSessionSettings, blinkIdScanningUxSettings, classFilter) {
|
|
79
|
+
const jsonResult = await BlinkidReactNative.performScan(JSON.stringify(blinkIdSdkSettings), JSON.stringify(blinkIdSessionSettings), JSON.stringify(blinkIdScanningUxSettings), JSON.stringify(classFilter));
|
|
37
80
|
return new BlinkIdScanningResult(JSON.parse(jsonResult));
|
|
38
81
|
}
|
|
39
82
|
/**
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["BlinkIdScanningResult","BlinkidReactNative","BlinkIdScanningSettings","BlinkIdSdkSettings","BlinkIdSessionSettings","
|
|
1
|
+
{"version":3,"names":["BlinkIdScanningResult","BlinkidReactNative","BlinkIdScanningSettings","BlinkIdSdkSettings","BlinkIdSessionSettings","BlinkIdScanningUxSettings","CroppedImageSettings","loadBlinkIdSdk","blinkIdSdkSettings","JSON","stringify","unloadBlinkIdSdk","deleteCachedResources","performScan","blinkIdSessionSettings","blinkIdScanningUxSettings","classFilter","jsonResult","parse","performDirectApiScan","firstImage","secondImage"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;AAAA,SAASA,qBAAqB,QAAQ,oBAAiB;AAMvD,OAAOC,kBAAkB,MAAM,+BAA4B;AAG3D;AACA,SACEC,uBAAuB,EACvBC,kBAAkB,EAClBC,sBAAsB,EACtBC,yBAAyB,EACzBC,oBAAoB,QACf,sBAAmB;AAE1B,SAASN,qBAAqB,QAAQ,oBAAiB;;AAEvD;AACA,cAAc,YAAS;;AAEvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,eAAeO,cAAcA,CAClCC,kBAAsC,EACvB;EACf,MAAMP,kBAAkB,CAACM,cAAc,CAACE,IAAI,CAACC,SAAS,CAACF,kBAAkB,CAAC,CAAC;AAC7E;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,eAAeG,gBAAgBA,CACpCC,qBAA8B,EACf;EACf,MAAMX,kBAAkB,CAACU,gBAAgB,CAACC,qBAAqB,CAAC;AAClE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,eAAeC,WAAWA,CAC/BL,kBAAsC,EACtCM,sBAA8C,EAC9CC,yBAAqD,EACrDC,WAAyB,EACO;EAChC,MAAMC,UAAU,GAAG,MAAMhB,kBAAkB,CAACY,WAAW,CACrDJ,IAAI,CAACC,SAAS,CAACF,kBAAkB,CAAC,EAClCC,IAAI,CAACC,SAAS,CAACI,sBAAsB,CAAC,EACtCL,IAAI,CAACC,SAAS,CAACK,yBAAyB,CAAC,EACzCN,IAAI,CAACC,SAAS,CAACM,WAAW,CAC5B,CAAC;EACD,OAAO,IAAIhB,qBAAqB,CAACS,IAAI,CAACS,KAAK,CAACD,UAAU,CAAC,CAAC;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,eAAeE,oBAAoBA,CACxCX,kBAAsC,EACtCM,sBAA8C,EAC9CM,UAAkB,EAClBC,WAAoB,EACY;EAChC,MAAMJ,UAAU,GAAG,MAAMhB,kBAAkB,CAACkB,oBAAoB,CAC9DV,IAAI,CAACC,SAAS,CAACF,kBAAkB,CAAC,EAClCC,IAAI,CAACC,SAAS,CAACI,sBAAsB,CAAC,EACtCM,UAAU,EACVC,WACF,CAAC;EACD,OAAO,IAAIrB,qBAAqB,CAACS,IAAI,CAACS,KAAK,CAACD,UAAU,CAAC,CAAC;AAC1D","ignoreList":[]}
|