@microblink/blinkid-react-native 7.2.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.
Files changed (176) hide show
  1. package/BlinkidReactNative.podspec +31 -0
  2. package/LICENSE +21 -0
  3. package/README.md +409 -0
  4. package/android/.gradle/8.9/checksums/checksums.lock +0 -0
  5. package/android/.gradle/8.9/checksums/md5-checksums.bin +0 -0
  6. package/android/.gradle/8.9/checksums/sha1-checksums.bin +0 -0
  7. package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
  8. package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
  9. package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
  10. package/android/.gradle/8.9/gc.properties +0 -0
  11. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  12. package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
  13. package/android/.gradle/vcs-1/gc.properties +0 -0
  14. package/android/build.gradle +85 -0
  15. package/android/gradle.properties +5 -0
  16. package/android/src/main/AndroidManifest.xml +2 -0
  17. package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkIdDeserializationUtilities.kt +354 -0
  18. package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkIdSerializationUtilities.kt +661 -0
  19. package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkidReactNativeModule.kt +209 -0
  20. package/android/src/main/java/com/microblink/blinkid/reactnative/BlinkidReactNativePackage.kt +33 -0
  21. package/ios/BlinkIdDeserializationUtilities.swift +345 -0
  22. package/ios/BlinkIdSerializationUtilities.swift +675 -0
  23. package/ios/BlinkidReactNative.h +6 -0
  24. package/ios/BlinkidReactNative.mm +97 -0
  25. package/ios/BlinkidReactNativeModule.swift +138 -0
  26. package/ios/Frameworks/BlinkID.xcframework/Info.plist +44 -0
  27. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/BlinkID +0 -0
  28. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Headers/BlinkID-Swift.h +34696 -0
  29. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Headers/BlinkID.h +19 -0
  30. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Headers/MBSampleBufferWrapper.h +28 -0
  31. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Info.plist +0 -0
  32. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.abi.json +59963 -0
  33. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.private.swiftinterface +1630 -0
  34. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  35. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios.swiftinterface +1630 -0
  36. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/module.modulemap +10 -0
  37. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/Modules/module.private.modulemap +12 -0
  38. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/PrivacyInfo.xcprivacy +56 -0
  39. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/PrivateHeaders/SwiftCxxBridge.hpp +16 -0
  40. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/_CodeSignature/CodeResources +245 -0
  41. package/ios/Frameworks/BlinkID.xcframework/ios-arm64/BlinkID.framework/conan.xcconfig +36 -0
  42. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/BlinkID +0 -0
  43. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Headers/BlinkID-Swift.h +69407 -0
  44. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Headers/BlinkID.h +19 -0
  45. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Headers/MBSampleBufferWrapper.h +28 -0
  46. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Info.plist +0 -0
  47. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.abi.json +59963 -0
  48. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +1630 -0
  49. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  50. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/arm64-apple-ios-simulator.swiftinterface +1630 -0
  51. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.abi.json +59963 -0
  52. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +1630 -0
  53. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  54. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/BlinkID.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +1630 -0
  55. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/module.modulemap +10 -0
  56. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/Modules/module.private.modulemap +12 -0
  57. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/PrivacyInfo.xcprivacy +56 -0
  58. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/PrivateHeaders/SwiftCxxBridge.hpp +16 -0
  59. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/_CodeSignature/CodeResources +300 -0
  60. package/ios/Frameworks/BlinkID.xcframework/ios-arm64_x86_64-simulator/BlinkID.framework/conan.xcconfig +36 -0
  61. package/ios/Frameworks/BlinkIDUX.xcframework/Info.plist +44 -0
  62. package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeDirectory +0 -0
  63. package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeRequirements +0 -0
  64. package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
  65. package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeResources +1575 -0
  66. package/ios/Frameworks/BlinkIDUX.xcframework/_CodeSignature/CodeSignature +0 -0
  67. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX +0 -0
  68. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Assets.car +0 -0
  69. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Info.plist +0 -0
  70. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/PrivacyInfo.xcprivacy +56 -0
  71. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ar.lproj/Localizable.strings +0 -0
  72. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/cs.lproj/Localizable.strings +0 -0
  73. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/de.lproj/Localizable.strings +0 -0
  74. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/en.lproj/Localizable.strings +0 -0
  75. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/es.lproj/Localizable.strings +0 -0
  76. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fil.lproj/Localizable.strings +0 -0
  77. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fr.lproj/Localizable.strings +0 -0
  78. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/he.lproj/Localizable.strings +0 -0
  79. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hr.lproj/Localizable.strings +0 -0
  80. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hu.lproj/Localizable.strings +0 -0
  81. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/id.lproj/Localizable.strings +0 -0
  82. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/it.lproj/Localizable.strings +0 -0
  83. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ms.lproj/Localizable.strings +0 -0
  84. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/nl.lproj/Localizable.strings +0 -0
  85. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pt.lproj/Localizable.strings +0 -0
  86. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ro.lproj/Localizable.strings +0 -0
  87. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sk.lproj/Localizable.strings +0 -0
  88. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sl.lproj/Localizable.strings +0 -0
  89. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sr.lproj/Localizable.strings +0 -0
  90. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/th.lproj/Localizable.strings +0 -0
  91. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/vi.lproj/Localizable.strings +0 -0
  92. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hans.lproj/Localizable.strings +0 -0
  93. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hant.lproj/Localizable.strings +0 -0
  94. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Info.plist +0 -0
  95. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.abi.json +15405 -0
  96. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.package.swiftinterface +563 -0
  97. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.private.swiftinterface +563 -0
  98. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  99. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios.swiftinterface +563 -0
  100. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX +0 -0
  101. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Assets.car +0 -0
  102. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/Info.plist +0 -0
  103. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/PrivacyInfo.xcprivacy +56 -0
  104. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/_CodeSignature/CodeDirectory +0 -0
  105. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/_CodeSignature/CodeRequirements +0 -0
  106. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/_CodeSignature/CodeRequirements-1 +0 -0
  107. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/_CodeSignature/CodeResources +634 -0
  108. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/_CodeSignature/CodeSignature +0 -0
  109. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ar.lproj/Localizable.strings +0 -0
  110. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/cs.lproj/Localizable.strings +0 -0
  111. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/de.lproj/Localizable.strings +0 -0
  112. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/en.lproj/Localizable.strings +0 -0
  113. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/es.lproj/Localizable.strings +0 -0
  114. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fil.lproj/Localizable.strings +0 -0
  115. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/fr.lproj/Localizable.strings +0 -0
  116. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/he.lproj/Localizable.strings +0 -0
  117. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hr.lproj/Localizable.strings +0 -0
  118. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/hu.lproj/Localizable.strings +0 -0
  119. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/id.lproj/Localizable.strings +0 -0
  120. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/it.lproj/Localizable.strings +0 -0
  121. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ms.lproj/Localizable.strings +0 -0
  122. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/nl.lproj/Localizable.strings +0 -0
  123. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/pt.lproj/Localizable.strings +0 -0
  124. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/ro.lproj/Localizable.strings +0 -0
  125. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sk.lproj/Localizable.strings +0 -0
  126. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sl.lproj/Localizable.strings +0 -0
  127. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/sr.lproj/Localizable.strings +0 -0
  128. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/th.lproj/Localizable.strings +0 -0
  129. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/vi.lproj/Localizable.strings +0 -0
  130. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hans.lproj/Localizable.strings +0 -0
  131. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/BlinkIDUX_BlinkIDUX.bundle/zh-Hant.lproj/Localizable.strings +0 -0
  132. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Info.plist +0 -0
  133. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.abi.json +15405 -0
  134. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.package.swiftinterface +563 -0
  135. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +563 -0
  136. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  137. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/arm64-apple-ios-simulator.swiftinterface +563 -0
  138. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.abi.json +15405 -0
  139. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.package.swiftinterface +563 -0
  140. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +563 -0
  141. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  142. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/Modules/BlinkIDUX.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +563 -0
  143. package/ios/Frameworks/BlinkIDUX.xcframework/ios-arm64_x86_64-simulator/BlinkIDUX.framework/_CodeSignature/CodeResources +101 -0
  144. package/lib/module/NativeBlinkidReactNative.js +15 -0
  145. package/lib/module/NativeBlinkidReactNative.js.map +1 -0
  146. package/lib/module/blinkIdResult.js +612 -0
  147. package/lib/module/blinkIdResult.js.map +1 -0
  148. package/lib/module/blinkIdSettings.js +465 -0
  149. package/lib/module/blinkIdSettings.js.map +1 -0
  150. package/lib/module/blinkIdUtilities.js +21 -0
  151. package/lib/module/blinkIdUtilities.js.map +1 -0
  152. package/lib/module/index.js +63 -0
  153. package/lib/module/index.js.map +1 -0
  154. package/lib/module/package.json +1 -0
  155. package/lib/module/types.js +3375 -0
  156. package/lib/module/types.js.map +1 -0
  157. package/lib/typescript/package.json +1 -0
  158. package/lib/typescript/src/NativeBlinkidReactNative.d.ts +43 -0
  159. package/lib/typescript/src/NativeBlinkidReactNative.d.ts.map +1 -0
  160. package/lib/typescript/src/blinkIdResult.d.ts +294 -0
  161. package/lib/typescript/src/blinkIdResult.d.ts.map +1 -0
  162. package/lib/typescript/src/blinkIdSettings.d.ts +416 -0
  163. package/lib/typescript/src/blinkIdSettings.d.ts.map +1 -0
  164. package/lib/typescript/src/blinkIdUtilities.d.ts +8 -0
  165. package/lib/typescript/src/blinkIdUtilities.d.ts.map +1 -0
  166. package/lib/typescript/src/index.d.ts +52 -0
  167. package/lib/typescript/src/index.d.ts.map +1 -0
  168. package/lib/typescript/src/types.d.ts +3025 -0
  169. package/lib/typescript/src/types.d.ts.map +1 -0
  170. package/package.json +110 -0
  171. package/src/NativeBlinkidReactNative.ts +45 -0
  172. package/src/blinkIdResult.ts +711 -0
  173. package/src/blinkIdSettings.ts +515 -0
  174. package/src/blinkIdUtilities.ts +20 -0
  175. package/src/index.tsx +72 -0
  176. package/src/types.ts +4334 -0
@@ -0,0 +1,31 @@
1
+ require "json"
2
+
3
+ package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
+
5
+ Pod::Spec.new do |s|
6
+ s.name = "BlinkidReactNative"
7
+ s.version = package["version"]
8
+ s.summary = package["description"]
9
+ s.homepage = package["homepage"]
10
+ s.license = package["license"]
11
+ s.authors = package["author"]
12
+
13
+ s.platforms = { :ios => 16.0 }
14
+ s.source = { :git => "https://github.com/BlinkID/blinkid-react-native.git", :tag => "#{s.version}" }
15
+ s.requires_arc = true
16
+
17
+ s.source_files = [
18
+ "ios/*.{swift,h,m,mm,cpp}",
19
+ "ios/generated/**/*.{swift,h,m,mm,cpp}",
20
+ "ios/Frameworks/Source/**/*.{swift,h,m,mm,cpp}"
21
+ ]
22
+
23
+ s.private_header_files = "ios/**/*.h"
24
+
25
+ # Vendored frameworks
26
+ s.vendored_frameworks = ["ios/Frameworks/*.xcframework"]
27
+
28
+ s.swift_version = '5.0'
29
+
30
+ install_modules_dependencies(s)
31
+ end
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) [2025] Microblink
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,409 @@
1
+ <p align="center" >
2
+ <img src="https://raw.githubusercontent.com/wiki/blinkid/blinkid-android/images/logo-microblink.png" alt="Microblink" title="Microblink">
3
+ </p>
4
+
5
+ # _BlinkID_ React Native plugin
6
+
7
+ The BlinkID SDK is a comprehensive solution for implementing secure document scanning on the React Native cross-platform.
8
+ It offers powerful capabilities for capturing and analyzing a wide range of identification documents. The Flutter plugin consists of BlinkID, which serves as the core module, and the BlinkIDUX package that provides a complete, ready-to-use solution with a user-friendly interface.
9
+
10
+ **Please note that, for maximum performance and full access to all features, it’s best to go with one of our native SDKs (for [iOS](https://github.com/BlinkID/blinkid-ios) or [Android](https://github.com/BlinkID/blinkid-android)).**
11
+
12
+ However, since the wrapper is open source, you can add the features you need on your own.
13
+
14
+
15
+ # Table of contents
16
+ - [Licensing](#licensing)
17
+ - [Requirements](#requirements)
18
+ - [Quickstart with the sample application](#quickstart-with-the-sample-application)
19
+ - [Plugin integration](#plugin-integration)
20
+ - [Plugin usage](#plugin-usage)
21
+ - [Plugin specifics](#plugin-specifics)
22
+ - [Scanning methods](#scanning-methods)
23
+ - [BlinkID Settings](#blinkid-settings)
24
+ - [BlinkID Results](#blinkid-results)
25
+ - [Additional information and Support](#additional-information-and-support)
26
+
27
+ ## <a name="licensing"></a> Licensing
28
+ A valid license key is required to initialize the BlinkID plugin. A free trial license key can be requested after registering at the [Microblink Developer Hub](https://developer.microblink.com/).
29
+
30
+
31
+ ## <a name="requirements"></a> Requirements
32
+
33
+ - BlinkID React Native was built and tested with [React Native v0.79.0](https://github.com/facebook/react-native/releases/tag/v0.79.0)
34
+ - For additional help with React-Native setup, view the official documentation [here](https://reactnative.dev/docs/set-up-your-environment).
35
+
36
+ **Device requirements**
37
+
38
+ The BlinkID React Native plugin requires:
39
+ - iOS version 16.0 and above
40
+ - Android API version 24 and above
41
+
42
+ - For more detailed information about the BlinkID Android and iOS requirements, view the native SDK documentation here ([Android](https://github.com/BlinkID/blinkid-android?tab=readme-ov-file#-device-requirements) & [iOS](https://github.com/BlinkID/blinkid-ios?tab=readme-ov-file#requirements)).
43
+
44
+ ## <a name="quickstart-with-the-sample-application"></a> Quickstart with the sample application
45
+ The sample application demonstrates how the BlinkID plugin is implemented, used and shows how to obtain the scanned results.
46
+
47
+ It contains the implementation for:
48
+ 1. The **default implementation** with the default BlinkID UX scanning experience.
49
+ 2. **Multiside DirectAPI scanning** - extracting the document information from multiple static images (from the gallery).
50
+ 3. **Singleside DirectAPI scanning** - extracting the document information from a single static images (from the gallery).
51
+
52
+ To obtain and run the sample application, follow the steps below:
53
+ Make sure you have Node & Watchman installed before running the sample application:
54
+ ```bash
55
+ # install Watcman
56
+ brew install watchman
57
+
58
+ # install Node
59
+ brew install node
60
+ ```
61
+
62
+ **To install & run the sample application:**
63
+ 1. Git clone the repository:
64
+ ```bash
65
+ git clone https://github.com/BlinkID/blinkid-react-native.git
66
+ ```
67
+ 2. Position to the obtained BlinkID folder and run the `initBlinkIdReactNativeSample.sh` script:
68
+ ```bash
69
+ cd blinkid-react-native && ./initBlinkIdReactNativeSample.sh
70
+ ```
71
+ 3. After the script finishes running, position to the `BlinkIdSample` folder.
72
+
73
+ **Running the sample application on Android**
74
+
75
+ For running the sample application on Android, execute the following command:
76
+
77
+ ```bash
78
+ npx react-native run-android
79
+ ```
80
+
81
+ **Note:** the plugin can be run directly via Android Studio as well:
82
+
83
+ 1. Execute the following command:
84
+ ```bash
85
+ npx react-native start
86
+ ```
87
+ 2. Open the `android` folder via Android Studio in the `BlinkIdSample` folder to run the Android sample application.
88
+
89
+ **Running the sample application on iOS**
90
+
91
+ 1. For running the sample application on iOS, execute the following command:
92
+ ```bash
93
+ npx react-native start
94
+ ```
95
+ 2. Open the `BlinkIdSample.xcworkspace` located in the `ios` folder
96
+ 3. Set your development team
97
+ 4. Press run
98
+
99
+ ## <a name="plugin-integration"></a> Plugin integration
100
+
101
+ 1. To add the BlinkID plugin to a React Native project, first create empty project if needed:
102
+ ```bash
103
+ npx @react-native-community/cli init YourAppName --package-name YourPackageName --title YourAppTitle --version "React Native version"
104
+ ```
105
+
106
+ 3. Install the `@microblink/blinkid-react-native` dependency:
107
+ ```bash
108
+ npm install --save @microblink/blinkid-react-native
109
+ ```
110
+
111
+ 4. Android: the BlinkID library is available on Maven Central repository.
112
+
113
+ In your project root, add `mavenCentral()` repository to the repositories list, if not already present:
114
+ ```bash
115
+ repositories {
116
+ // ... other repositories
117
+ mavenCentral()
118
+ }
119
+ ```
120
+
121
+ 5. iOS: position to the `ios` folder and run `pod install` to install the iOS dependency.
122
+
123
+ ## <a name="plugin-usage"></a> Plugin usage
124
+ 1. After the dependency has been added to the project, first add the necessary import:
125
+ ```typescript
126
+ import {
127
+ performScan,
128
+ performDirectApiScan,
129
+ } from '@microblink/blinkid-react-native';
130
+ ```
131
+ 2. Add the license key, for each platform, obtained from the [Developer Hub portal](https://developer.microblink.com/):
132
+ ```typescript
133
+ const licenseKey = Platform.select({
134
+ ios: 'your-ios-key',
135
+ android:
136
+ 'your-android-key',
137
+ });
138
+ ```
139
+ **Default BlinkID UX**
140
+ 1. Set all of the necessary BlinkID settings (SDK settings, session settings, and the scanning settings). If the mentioned settings are not modified, the default values will be used:
141
+ ```typescript
142
+
143
+ /**
144
+ * Set the BlinkID SDK settings
145
+ * Add the license key here from the code above
146
+ */
147
+ const sdkSettings = new BlinkIdSdkSettings(licenseKey);
148
+ sdkSettings.downloadResources = true;
149
+
150
+ /**
151
+ * Create and modify the Session Settings
152
+ */
153
+ const sessionSettings = new BlinkIdSessionSettings();
154
+ sessionSettings.scanningMode = ScanningMode.Automatic;
155
+ /**
156
+ * Create and modify the scanning settings
157
+ */
158
+ const scanningSettings = new BlinkIdScanningSettings();
159
+ scanningSettings.glareDetectionLevel = DetectionLevel.Mid;
160
+ scanningSettings.anonymizationMode = AnonymizationMode.FullResult;
161
+
162
+ /**
163
+ * Create and modify the Image settings
164
+ */
165
+ const croppedImageSettings = new CroppedImageSettings();
166
+ croppedImageSettings.returnDocumentImage = true;
167
+ croppedImageSettings.returnFaceImage = true;
168
+ croppedImageSettings.returnSignatureImage = true;
169
+ /**
170
+ * Place the image settings in the scanning settings
171
+ */
172
+ scanningSettings.croppedImageSettings = croppedImageSettings;
173
+
174
+ /**
175
+ * Place the scanning settings in the session settings
176
+ */
177
+ sessionSettings.scanningSettings = scanningSettings;
178
+
179
+ /**
180
+ * Modify the BlinkID UI settings for UI customization.
181
+ * This parameter is optional.
182
+ */
183
+ const uiSettings = new BlinkIdUiSettings();
184
+ uiSettings.showHelpButton = true;
185
+ uiSettings.showOnboardingDialog = false;
186
+
187
+ /**
188
+ * Add the document class filter. This parameter is optional.
189
+ */
190
+ const classFilter = new ClassFilter();
191
+ classFilter.includeDocuments = [
192
+ new DocumentFilter(Country.Croatia, undefined, DocumentType.Id),
193
+ new DocumentFilter(Country.USA, Region.Texas, DocumentType.Dl),
194
+ ];
195
+ ```
196
+
197
+ 2. Call the `performScan` scanning method, handle the results and catch any errors:
198
+ ```typescript
199
+ /**
200
+ * Call the performScan method, where the SDK and session settings
201
+ * need to be passed.
202
+ *
203
+ * Here, you can also pass the optional BlinkIdUiSettings and ClassFilter
204
+ * parameters.
205
+ */
206
+ await performScan(sdkSettings, sessionSettings, uiSettings)
207
+ .then((result: BlinkIdScanningResult) => {
208
+ // handle the results here.
209
+ console.log(result.firstName?.value);
210
+ })
211
+ .catch((error) => {
212
+ // handle any errors here.
213
+ console.log(`Error during scan: ${error}`);
214
+ });
215
+ ```
216
+ **BlinkID DirectAPI**
217
+ 1. Set all of the necessary BlinkID settings (SDK settings, session settings, and the scanning settings). If the mentioned settings are not modified, the default values will be used:
218
+ ```typescript
219
+
220
+ /**
221
+ * Set the BlinkID SDK settings
222
+ * Add the license key here from the code above
223
+ */
224
+ const sdkSettings = new BlinkIdSdkSettings(licenseKey);
225
+ sdkSettings.downloadResources = true;
226
+
227
+ /**
228
+ * Create and modify the Session Settings
229
+ */
230
+ const sessionSettings = new BlinkIdSessionSettings();
231
+
232
+ /**
233
+ * Important: if two images are being passed, use the `Automatic`
234
+ * scanning mode
235
+ * if just one image is being passed, use the `Single` scanning mode.
236
+ */
237
+ sessionSettings.scanningMode = ScanningMode.Automatic;
238
+
239
+ /**
240
+ * Create and modify the scanning settings
241
+ */
242
+ const scanningSettings = new BlinkIdScanningSettings();
243
+ scanningSettings.glareDetectionLevel = DetectionLevel.Mid;
244
+ /**
245
+ * if the input images consist solely
246
+ * of the cropped document image, set the
247
+ * `scanCroppedDocumentImage` to true.
248
+ */
249
+ // scanningSettings.scanCroppedDocumentImage = true;
250
+
251
+ /**
252
+ * Create and modify the Image settings
253
+ */
254
+ const croppedImageSettings = new CroppedImageSettings();
255
+ croppedImageSettings.returnDocumentImage = true;
256
+ croppedImageSettings.returnFaceImage = true;
257
+ croppedImageSettings.returnSignatureImage = true;
258
+ /**
259
+ * Place the image settings in the scanning settings
260
+ */
261
+ scanningSettings.croppedImageSettings = croppedImageSettings;
262
+
263
+ /**
264
+ * Place the scanning settings in the session settings
265
+ */
266
+ sessionSettings.scanningSettings = scanningSettings;
267
+
268
+ /**
269
+ * Add the Base64 string of the first side of the document
270
+ */
271
+ const firstImageBase64 = "your-base64-image";
272
+
273
+ /**
274
+ * Add the Base64 string of the second side of the document
275
+ * This paramater is optional if only one side
276
+ * of the document is requred.
277
+ */
278
+ const secondImageBase64 = "your-base64-image";
279
+ ```
280
+
281
+ 2. Call the `performDirectApiScan` scanning method, handle the results and catch any errors:
282
+ ```typescript
283
+ /**
284
+ * Call the `performDirectApiScan` method,
285
+ * where the SDK and session settings need to be passed,
286
+ * along with the Base64 images.
287
+ */
288
+ await performDirectApiScan(
289
+ sdkSettings,
290
+ sessionSettings,
291
+ firstImageBase64,
292
+ secondImageBase64
293
+ )
294
+ .then((result: BlinkIdScanningResult) => {
295
+ //handle the results here.
296
+ console.log(result.firstName?.value);
297
+ })
298
+ .catch((error) => {
299
+ // handle any errors here.
300
+ console.log(`Error during scan: ${error}`);
301
+ });
302
+ ```
303
+ **Note:**
304
+ - The whole integration process can be found in the sample app `App.tsx` file [here](https://github.com/BlinkID/blinkid-react-native/blob/master/sample_files/App.tsx).
305
+ - The settings and the results that can be used with the BlinkID plugin can be found in the paragraphs below, but also in the comments of each BlinkID TS file.
306
+
307
+ ## <a name="plugin-specifics"></a> Plugin specifics
308
+ The BlinkID plugin implementation is located in the `src` folder [here](https://github.com/BlinkID/blinkid-react-native/tree/master/BlinkID/src), while platform-specific implementation is located in the `android` and `ios` folders.
309
+
310
+ ### <a name="scanning-methods"></a> Scanning methods
311
+ Currently, the BlinkID plugin contains the two main methods of scanning: `performScan` and `performDirectApiScan`.
312
+
313
+ **The `performScan` method**
314
+
315
+ The `performScan` method launches the BlinkID scanning process with the default UX properties.\
316
+ It takes the following parameters:
317
+ 1. BlinkID SDK settings
318
+ 2. BlinkID session settings
319
+ 4. The optional BlinkID UI settings for UI customization.
320
+ 3. The optional ClassFilter object for filtering documents.
321
+
322
+ **BlinkID SDK Settings** - `BlinkIdSdkSettings`: the class that contains all of the available SDK settings. It contains settings for the license key, and how the models, that the SDK needs for the scanning process, should be obtained.
323
+
324
+ **BlinkID Session Settings** - `BlinkIdSessionSettings`: the class that contains various settings for the scanning session. It contains the settings for the `ScanningMode` and `BlinkIdScanningSettings`, which define various parameters that control the scanning process.
325
+
326
+ **BlinkID UI Settings** - `BlinkIdUiSettings`: the class that allows customization of various aspects of the UI used during the scanning process.
327
+
328
+ The optional **ClassFilter** class - `ClassFilter`: the class which controls which documents will be accepted or reject for information extraction during the scanning session.
329
+
330
+ - The implementation of the `performScan` method can be viewed here in the [index.tsx](https://github.com/BlinkID/blinkid-react-native/blob/master/BlinkID/src/index.tsx) file.
331
+
332
+ **The `performDirectApiScan` method**
333
+
334
+ The `performDirectApiScan` method launches the BlinkID scanning process intended for information extraction from static images.\
335
+ It takes the following parameters:
336
+ 1. BlinkID SDK settings
337
+ 2. BlinkID session settings
338
+ 3. First image string in the Base64 format
339
+ 4. The optional second image string in the Base64 format
340
+
341
+ **BlinkID SDK Settings** - `BlinkIdSdkSettings`: the class that contains all of the available SDK settings. It contains settings for the license key, and how the models, that the SDK needs for the scanning process, should be obtained.
342
+
343
+ **BlinkID Session Settings** - `BlinkIdSessionSettings`: the class that contains various settings for the scanning session. It contains the settings for the `ScanningMode` and `BlinkIdScanningSettings`, which define various parameters that control the scanning process.
344
+
345
+ The first image Base64 string - `String`: image that represents one side of the document. If the document contains two sides and the `ScanningMode` is set to `automatic`, this should contain the image of the front side of the document. In case the `ScanningMode` is set to `single`, it can be either the front or the back side of the document. If the document contains only one side (for example, various passports), the SDK will automatically detect it, and will not look for the other side.
346
+
347
+ The optional second image Base64 string - `String`: needed if the information from back side of the document is required and the `ScanningMode` is set to `automatic`.
348
+
349
+ - The implementation of the `performDirectApiScanning` method can be viewed here in the [index.tsx](https://github.com/BlinkID/blinkid-react-native/blob/master/BlinkID/src/index.tsx) file.
350
+
351
+ ### <a name="blinkid-settings"></a> BlinkID Settings
352
+ The BlinkID SDK contains various settings, modifying different parts of scanning process:
353
+ 1. [BlinkID SDK settings](https://github.com/BlinkID/blinkid-react-native/blob/master/BlinkID/src/blinkIdSettings.ts#L14) - `BlinkIdSdkSettings` \
354
+ These settings are used for the initialization of the BlinkID SDK.
355
+
356
+ 2. [BlinkID session settings](https://github.com/BlinkID/blinkid-react-native/blob/feature/blinkid-v7/BlinkID/src/blinkIdSettings.ts#L92) - `BlinkIdSessionSettings`\
357
+ These settings represent the configuration settings for a scanning session.\
358
+ This class holds the settings related to the resources initialization, scanning mode, and specific scanning configurations that define how the scanning session should behave.
359
+
360
+ 3. [BlinkID scanning settings](https://github.com/BlinkID/blinkid-react-native/blob/master/BlinkID/src/blinkIdSettings.ts#L141) - `BlinkIdScanningSettings`\
361
+ These settings represent the configurable settings for scanning a document.`
362
+ This class defines various parameters and policies related to the scanning process, including image quality handling, data extraction and anonymization, along with options for frame processing and image extraction.
363
+
364
+ 4. [BlinkID UI settings](https://github.com/BlinkID/blinkid-react-native/blob/master/BlinkID/src/blinkIdSettings.ts#L468) - `BlinkIdUiSettings`\
365
+ Allows customization of various aspects of the UI used during the scanning process.
366
+
367
+ 5. [Cropped image settings](https://github.com/BlinkID/blinkid-react-native/blob/master/BlinkID/src/blinkIdSettings.ts#L468) - `CroppedImageSettings`\
368
+ These settings represent the image cropping settings.
369
+
370
+ **Additional notes:**
371
+
372
+ - The [blinkIdSettings.ts](https://github.com/BlinkID/blinkid-react-native/blob/master/BlinkID/src/blinkIdSettings.ts) and [types.ts](https://github.com/BlinkID/blinkid-react-native/blob/master/BlinkID/src/types.ts) files contains all the settings that can be modified and explains what each setting does in more detail.
373
+
374
+ - The native documentation for the above mentioned settings can be found here for [Android](https://blinkid.github.io/blinkid-android/blinkid-core/com.microblink.blinkid.core/index.html) & [iOS](https://blinkid.github.io/blinkid-swift-package/documentation/blinkid/).
375
+
376
+ - The native Kotlin & Swift implementation of all BlinkID settings can be found here for [Android](https://github.com/BlinkID/blinkid-react-native/blob/master/BlinkID/android/src/main/java/com/blinkidreactnative/BlinkIdDeserializationUtilities.kt) & [iOS](https://github.com/BlinkID/blinkid-react-native/blob/master/BlinkID/ios/BlinkIdDeserializationUtilities.swift) in the BlinkID deserialization utilities.
377
+
378
+ ### <a name="blinkid-result"></a> BlinkID Results
379
+
380
+ The result of the scanning process is stored in the `BlinkIdScanningResult`. It contains the results of scanning a document, including the extracted data and images from the document.
381
+
382
+ Along with the information scanned from the document, the BlinkID also provides additional details that was obtained during the scanning process:
383
+
384
+ 1. **Recognition mode**- `RecognitionMode`\
385
+ Scanning mode used to scan the current document.
386
+
387
+ 2. **Document class info** - `DocumentClassInfo`\
388
+ The document class information.
389
+
390
+ 3. **Data match informatoin** - `DataMatchResult`\
391
+ Info on whether the data extracted from multiple sides matches.
392
+
393
+ 4. **Singleside scanning result** - `SingleSideScanningResult`\
394
+ Represents the result of scanning a single side of the document.\
395
+ Contains the data extracted from the Visual Inspection Zone, Machine Readable Zone, barcode, the input image, and the cropped document, face, and signature images.
396
+
397
+ 5. **Detailed cropped image result** - `DetailedCroppedImageResult`\
398
+ Represents the result of the image crop transformation with additional details.
399
+
400
+ **Additional notes:**
401
+
402
+ - The [blinkIdResult.ts](https://github.com/BlinkID/blinkid-react-native/blob/master/BlinkID/src/blinkIdResult.ts) and [types.ts](https://github.com/BlinkID/blinkid-react-native/blob/master/BlinkID/src/types.ts) files contain all the results after the scanning process finishes.
403
+
404
+ - The native documentation for the above mentioned results can be found here for [Android](https://blinkid.github.io/blinkid-android/blinkid-core/com.microblink.blinkid.core.result/index.html) & [iOS](https://blinkid.github.io/blinkid-swift-package/documentation/blinkid/blinkidscanningresult).
405
+
406
+ - The native Kotlin & Swift implementation of all BlinkID settings can be found here for [Android](https://github.com/BlinkID/blinkid-react-native/blob/master/BlinkID/android/src/main/java/com/blinkidreactnative/BlinkIdSerializationUtilities.kt) & [iOS](https://github.com/BlinkID/blinkid-react-native/blob/master/BlinkID/ios/BlinkIdSerializationUtilities.swift) in the BlinkID deserialization utilities.
407
+
408
+ ## <a name="additional-information-and-support"></a> Additional information and Support
409
+ For any additional questions and information, feel free to contact us [here](https://help.microblink.com), or directly to the Support team via mail support@microblink.com.
File without changes
@@ -0,0 +1,2 @@
1
+ #Tue May 20 15:25:31 CEST 2025
2
+ gradle.version=8.9
File without changes
@@ -0,0 +1,85 @@
1
+ buildscript {
2
+ ext.getExtOrDefault = {name ->
3
+ return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties['BlinkidReactNative_' + name]
4
+ }
5
+
6
+ repositories {
7
+ google()
8
+ mavenCentral()
9
+ }
10
+
11
+ dependencies {
12
+ classpath "com.android.tools.build:gradle:8.7.2"
13
+ // noinspection DifferentKotlinGradleVersion
14
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${getExtOrDefault('kotlinVersion')}"
15
+ }
16
+ }
17
+
18
+
19
+ apply plugin: "com.android.library"
20
+ apply plugin: "kotlin-android"
21
+ apply plugin: 'kotlin-parcelize'
22
+
23
+ apply plugin: "com.facebook.react"
24
+
25
+ def getExtOrIntegerDefault(name) {
26
+ return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties["BlinkidReactNative_" + name]).toInteger()
27
+ }
28
+
29
+ android {
30
+ namespace "com.microblink.blinkid.reactnative"
31
+
32
+ compileSdkVersion getExtOrIntegerDefault("compileSdkVersion")
33
+
34
+ defaultConfig {
35
+ minSdkVersion getExtOrIntegerDefault("minSdkVersion")
36
+ targetSdkVersion getExtOrIntegerDefault("targetSdkVersion")
37
+ }
38
+
39
+ buildFeatures {
40
+ buildConfig true
41
+ }
42
+
43
+ buildTypes {
44
+ release {
45
+ minifyEnabled false
46
+ }
47
+ }
48
+
49
+ lintOptions {
50
+ disable "GradleCompatible"
51
+ }
52
+
53
+ compileOptions {
54
+ sourceCompatibility JavaVersion.VERSION_1_8
55
+ targetCompatibility JavaVersion.VERSION_1_8
56
+ }
57
+
58
+ sourceSets {
59
+ main {
60
+ java.srcDirs += [
61
+ "generated/java",
62
+ "generated/jni"
63
+ ]
64
+ }
65
+ }
66
+ }
67
+
68
+ repositories {
69
+ mavenCentral()
70
+ google()
71
+ }
72
+
73
+ def kotlin_version = getExtOrDefault("kotlinVersion")
74
+
75
+ dependencies {
76
+ implementation "com.facebook.react:react-android"
77
+ implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
78
+ implementation("com.microblink:blinkid-ux:7.2.1")
79
+ }
80
+
81
+ react {
82
+ jsRootDir = file("../src/")
83
+ libraryName = "BlinkidReactNative"
84
+ codegenJavaPackageName = "com.microblink.blinkid.reactnative"
85
+ }
@@ -0,0 +1,5 @@
1
+ BlinkidReactNative_kotlinVersion=2.0.21
2
+ BlinkidReactNative_minSdkVersion=24
3
+ BlinkidReactNative_targetSdkVersion=34
4
+ BlinkidReactNative_compileSdkVersion=35
5
+ BlinkidReactNative_ndkVersion=27.1.12297006
@@ -0,0 +1,2 @@
1
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android">
2
+ </manifest>