@thegrizzlylabs/react-native-genius-scan 4.10.1 → 4.12.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 (143) hide show
  1. package/README.md +7 -0
  2. package/android/build.gradle +2 -2
  3. package/android/src/main/java/com/geniusscansdk/reactnative/RNGeniusScanModule.java +1 -1
  4. package/ios/GSSDK/GSSDKCore.xcframework/Info.plist +5 -5
  5. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/AdobeRGB1998.icc +0 -0
  6. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/GSSDKCore +0 -0
  7. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/Headers/GSKCameraSession.h +1 -0
  8. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/Headers/GSKCore.h +2 -4
  9. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/Headers/GSKPDFGeneratorConfiguration+Init.h +26 -0
  10. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/Headers/GSKPDFGeneratorConfiguration.h +10 -0
  11. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/Headers/GSSDKCore-Swift.h +97 -57
  12. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/Headers/GSSDKCore.h +2 -1
  13. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/Info.plist +0 -0
  14. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/arm64-apple-ios.abi.json +284 -11
  15. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/arm64-apple-ios.private.swiftinterface +11 -4
  16. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  17. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/arm64-apple-ios.swiftinterface +11 -4
  18. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/AdobeRGB1998.icc +0 -0
  19. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/GSSDKCore +0 -0
  20. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Headers/GSKCameraSession.h +1 -0
  21. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Headers/GSKCore.h +2 -4
  22. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Headers/GSKPDFGeneratorConfiguration+Init.h +26 -0
  23. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Headers/GSKPDFGeneratorConfiguration.h +10 -0
  24. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Headers/GSSDKCore-Swift.h +194 -114
  25. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Headers/GSSDKCore.h +2 -1
  26. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Info.plist +0 -0
  27. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/arm64-apple-ios-simulator.abi.json +284 -11
  28. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +11 -4
  29. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  30. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface +11 -4
  31. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/x86_64-apple-ios-simulator.abi.json +284 -11
  32. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +11 -4
  33. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  34. package/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Modules/GSSDKCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +11 -4
  35. package/ios/GSSDK/GSSDKOCR.xcframework/Info.plist +5 -5
  36. package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64/GSSDKOCR.framework/GSSDKOCR +0 -0
  37. package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64/GSSDKOCR.framework/Info.plist +0 -0
  38. package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64/GSSDKOCR.framework/PrivateHeaders/geOCREngine.hpp +32 -0
  39. package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64/GSSDKOCR.framework/PrivateHeaders/geOCREngineConfiguration.hpp +38 -0
  40. package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64/GSSDKOCR.framework/PrivateHeaders/geOCREngineError.hpp +29 -0
  41. package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64/GSSDKOCR.framework/PrivateHeaders/geOCREngineInput.hpp +25 -0
  42. package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64/GSSDKOCR.framework/PrivateHeaders/geOCREngineProgressListener.hpp +19 -0
  43. package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64/GSSDKOCR.framework/PrivateHeaders/geOCREngineResult.hpp +35 -0
  44. package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64/GSSDKOCR.framework/PrivateHeaders/geTesseractOCREngine.hpp +47 -0
  45. package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/GSSDKOCR.framework/GSSDKOCR +0 -0
  46. package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/GSSDKOCR.framework/Info.plist +0 -0
  47. package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/GSSDKOCR.framework/PrivateHeaders/geOCREngine.hpp +32 -0
  48. package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/GSSDKOCR.framework/PrivateHeaders/geOCREngineConfiguration.hpp +38 -0
  49. package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/GSSDKOCR.framework/PrivateHeaders/geOCREngineError.hpp +29 -0
  50. package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/GSSDKOCR.framework/PrivateHeaders/geOCREngineInput.hpp +25 -0
  51. package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/GSSDKOCR.framework/PrivateHeaders/geOCREngineProgressListener.hpp +19 -0
  52. package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/GSSDKOCR.framework/PrivateHeaders/geOCREngineResult.hpp +35 -0
  53. package/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/GSSDKOCR.framework/PrivateHeaders/geTesseractOCREngine.hpp +47 -0
  54. package/ios/GSSDK/GSSDKScanFlow.xcframework/Info.plist +5 -5
  55. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/Assets.car +0 -0
  56. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/GSSDKScanFlow +0 -0
  57. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/Headers/GSSDKScanFlow-Swift.h +98 -57
  58. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/Info.plist +0 -0
  59. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/arm64-apple-ios.abi.json +4761 -1024
  60. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/arm64-apple-ios.private.swiftinterface +120 -17
  61. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  62. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/arm64-apple-ios.swiftinterface +120 -17
  63. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/PrivateHeaders/GSKScanFlowLocalization.h +16 -0
  64. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/PrivateHeaders/GSKUICameraViewController.h +39 -0
  65. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/PrivateHeaders/GSKUIDocumentGenerator.h +45 -0
  66. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/PrivateHeaders/GSKUIDocumentGeneratorProtocol.h +22 -0
  67. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/PrivateHeaders/GSKUIEditFrameViewController.h +30 -0
  68. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/PrivateHeaders/GSKUINavigationController.h +22 -0
  69. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/PrivateHeaders/GSKUIPDFGenerator.h +22 -0
  70. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/PrivateHeaders/GSKUIPostProcessingViewController.h +41 -0
  71. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/PrivateHeaders/GSKUIScanner.h +82 -0
  72. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/PrivateHeaders/GSKUIShutterButton.h +23 -0
  73. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/PrivateHeaders/GSKUIStorage.h +24 -0
  74. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/PrivateHeaders/GSKUITIFFGenerator.h +24 -0
  75. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/PrivateHeaders/GSKView+Animations.h +26 -0
  76. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/PrivateHeaders/MBProgressHUD.h +411 -0
  77. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/PrivateHeaders/UIViewController+GSKScanFlow.h +21 -0
  78. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/ar.lproj/Localizable.strings +0 -0
  79. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/da.lproj/Localizable.strings +0 -0
  80. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/de.lproj/Localizable.strings +0 -0
  81. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/en.lproj/Localizable.strings +0 -0
  82. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/es.lproj/Localizable.strings +0 -0
  83. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/fr.lproj/Localizable.strings +0 -0
  84. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/he.lproj/Localizable.strings +0 -0
  85. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/id.lproj/Localizable.strings +0 -0
  86. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/it.lproj/Localizable.strings +0 -0
  87. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/ja.lproj/Localizable.strings +0 -0
  88. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/ko.lproj/Localizable.strings +0 -0
  89. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/nl.lproj/Localizable.strings +0 -0
  90. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/pt-BR.lproj/Localizable.strings +0 -0
  91. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/ru.lproj/Localizable.strings +0 -0
  92. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/sv.lproj/Localizable.strings +0 -0
  93. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/tr.lproj/Localizable.strings +0 -0
  94. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/vi.lproj/Localizable.strings +0 -0
  95. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/zh-Hans.lproj/Localizable.strings +0 -0
  96. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/zh-Hant.lproj/Localizable.strings +0 -0
  97. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Assets.car +0 -0
  98. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/GSSDKScanFlow +0 -0
  99. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Headers/GSSDKScanFlow-Swift.h +196 -114
  100. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Info.plist +0 -0
  101. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/arm64-apple-ios-simulator.abi.json +4761 -1024
  102. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +120 -17
  103. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  104. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/arm64-apple-ios-simulator.swiftinterface +120 -17
  105. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/x86_64-apple-ios-simulator.abi.json +4761 -1024
  106. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +120 -17
  107. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  108. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Modules/GSSDKScanFlow.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +120 -17
  109. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/PrivateHeaders/GSKScanFlowLocalization.h +16 -0
  110. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/PrivateHeaders/GSKUICameraViewController.h +39 -0
  111. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/PrivateHeaders/GSKUIDocumentGenerator.h +45 -0
  112. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/PrivateHeaders/GSKUIDocumentGeneratorProtocol.h +22 -0
  113. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/PrivateHeaders/GSKUIEditFrameViewController.h +30 -0
  114. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/PrivateHeaders/GSKUINavigationController.h +22 -0
  115. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/PrivateHeaders/GSKUIPDFGenerator.h +22 -0
  116. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/PrivateHeaders/GSKUIPostProcessingViewController.h +41 -0
  117. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/PrivateHeaders/GSKUIScanner.h +82 -0
  118. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/PrivateHeaders/GSKUIShutterButton.h +23 -0
  119. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/PrivateHeaders/GSKUIStorage.h +24 -0
  120. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/PrivateHeaders/GSKUITIFFGenerator.h +24 -0
  121. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/PrivateHeaders/GSKView+Animations.h +26 -0
  122. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/PrivateHeaders/MBProgressHUD.h +411 -0
  123. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/PrivateHeaders/UIViewController+GSKScanFlow.h +21 -0
  124. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/ar.lproj/Localizable.strings +0 -0
  125. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/da.lproj/Localizable.strings +0 -0
  126. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/de.lproj/Localizable.strings +0 -0
  127. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/en.lproj/Localizable.strings +0 -0
  128. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/es.lproj/Localizable.strings +0 -0
  129. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/fr.lproj/Localizable.strings +0 -0
  130. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/he.lproj/Localizable.strings +0 -0
  131. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/id.lproj/Localizable.strings +0 -0
  132. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/it.lproj/Localizable.strings +0 -0
  133. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/ja.lproj/Localizable.strings +0 -0
  134. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/ko.lproj/Localizable.strings +0 -0
  135. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/nl.lproj/Localizable.strings +0 -0
  136. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/pt-BR.lproj/Localizable.strings +0 -0
  137. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/ru.lproj/Localizable.strings +0 -0
  138. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/sv.lproj/Localizable.strings +0 -0
  139. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/tr.lproj/Localizable.strings +0 -0
  140. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/vi.lproj/Localizable.strings +0 -0
  141. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/zh-Hans.lproj/Localizable.strings +0 -0
  142. package/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/zh-Hant.lproj/Localizable.strings +0 -0
  143. package/package.json +1 -1
package/README.md CHANGED
@@ -189,6 +189,13 @@ NB: iOS applications must be [localized in XCode by adding each language to the
189
189
 
190
190
  Make sure that the license key is correct, that is has not expired, and that it is used with the App ID it was generated for. To learn more about the procurement and replacement of license keys, refer to the [Licensing FAQ](https://geniusscansdk.com/license/licensing).
191
191
 
192
+ ## Troubleshooting
193
+
194
+ Refer to the troubleshooting guides of the native libraries to resolve common configuration and build problems:
195
+
196
+ - [iOS](https://geniusscansdk.com/docs/v4/ios/troubleshooting/)
197
+ - [Android](https://geniusscansdk.com/docs/v4/android/troubleshooting/)
198
+
192
199
  # Changelog
193
200
 
194
201
  See [changelog](https://geniusscansdk.com/docs/changelog/)
@@ -40,6 +40,6 @@ rootProject.allprojects {
40
40
 
41
41
  dependencies {
42
42
  implementation 'com.facebook.react:react-native:+'
43
- implementation 'com.geniusscansdk:gssdk-scanflow:4.10.1'
44
- implementation 'com.geniusscansdk:gssdk-ocr:4.10.1'
43
+ implementation 'com.geniusscansdk:gssdk-scanflow:4.12.0'
44
+ implementation 'com.geniusscansdk:gssdk-ocr:4.12.0'
45
45
  }
@@ -68,7 +68,7 @@ public class RNGeniusScanModule extends ReactContextBaseJavaModule {
68
68
  @SuppressWarnings("unused")
69
69
  @ReactMethod
70
70
  public void generateDocument(ReadableMap document, ReadableMap configuration, Promise promise) {
71
- PromiseResult promiseResult = PluginBridge.generateDocument(document.toHashMap(), configuration.toHashMap());
71
+ PromiseResult promiseResult = PluginBridge.generateDocument(getCurrentActivity(), document.toHashMap(), configuration.toHashMap());
72
72
  resolvePromiseWithPromiseResult(promise, promiseResult);
73
73
  }
74
74
 
@@ -6,30 +6,30 @@
6
6
  <array>
7
7
  <dict>
8
8
  <key>LibraryIdentifier</key>
9
- <string>ios-arm64_x86_64-simulator</string>
9
+ <string>ios-arm64</string>
10
10
  <key>LibraryPath</key>
11
11
  <string>GSSDKCore.framework</string>
12
12
  <key>SupportedArchitectures</key>
13
13
  <array>
14
14
  <string>arm64</string>
15
- <string>x86_64</string>
16
15
  </array>
17
16
  <key>SupportedPlatform</key>
18
17
  <string>ios</string>
19
- <key>SupportedPlatformVariant</key>
20
- <string>simulator</string>
21
18
  </dict>
22
19
  <dict>
23
20
  <key>LibraryIdentifier</key>
24
- <string>ios-arm64</string>
21
+ <string>ios-arm64_x86_64-simulator</string>
25
22
  <key>LibraryPath</key>
26
23
  <string>GSSDKCore.framework</string>
27
24
  <key>SupportedArchitectures</key>
28
25
  <array>
29
26
  <string>arm64</string>
27
+ <string>x86_64</string>
30
28
  </array>
31
29
  <key>SupportedPlatform</key>
32
30
  <string>ios</string>
31
+ <key>SupportedPlatformVariant</key>
32
+ <string>simulator</string>
33
33
  </dict>
34
34
  </array>
35
35
  <key>CFBundlePackageType</key>
@@ -35,6 +35,7 @@ typedef NS_ENUM(NSInteger, GSKCameraSessionError) {
35
35
  GSKCameraSessionErrorInvalidSetupDependency = -5,
36
36
  GSKCameraSessionErrorNoVideoCaptureConnection = -6,
37
37
  GSKCameraSessionErrorInvalidData = -7,
38
+ GSKCameraSessionErrorBadInput = -8,
38
39
 
39
40
  // Warnings
40
41
  GSKCameraSessionWarnLockDevice = -1003,
@@ -10,8 +10,6 @@
10
10
  #import <CoreMedia/CoreMedia.h>
11
11
  #import <UIKit/UIKit.h>
12
12
 
13
- #import <GSSDKCore/GSKPDFGeneratorError.h>
14
-
15
13
  NS_ASSUME_NONNULL_BEGIN
16
14
 
17
15
  @class GSKPDFDocument;
@@ -64,14 +62,14 @@ NS_ASSUME_NONNULL_BEGIN
64
62
  toPath:(NSString *)filePath
65
63
  withConfiguration:(GSKPDFGeneratorConfiguration *)configuration
66
64
  withImageProcessor:(_Nullable id<GSKPDFImageProcessor>)processor
67
- error:(NSError * _Nullable *)error;
65
+ error:(NSError * _Nullable *)error NS_SWIFT_NAME(generate(_:toPath:configuration:imageProcessor:)) __deprecated_msg("Use GSKDocumentGenerator instead.");
68
66
 
69
67
  /**
70
68
  A convenience shorthand for the previous method with a processor that doesn't apply any change to the images.
71
69
  */
72
70
  + (BOOL)generatePDFDocument:(GSKPDFDocument *)document
73
71
  toPath:(NSString *)filePath
74
- error:(NSError * _Nullable *)error;
72
+ error:(NSError * _Nullable *)error __deprecated_msg("Use GSKDocumentGenerator instead.");
75
73
 
76
74
  @end
77
75
 
@@ -0,0 +1,26 @@
1
+ //
2
+ // Genius Scan SDK
3
+ //
4
+ // Copyright 2010-2023 The Grizzly Labs
5
+ //
6
+ // Subject to the Genius Scan SDK Licensing Agreement
7
+ // sdk@thegrizzlylabs.com
8
+ //
9
+
10
+
11
+
12
+ #import <GSSDKCore/GSSDKCore.h>
13
+
14
+ NS_ASSUME_NONNULL_BEGIN
15
+
16
+ @interface GSKPDFGeneratorConfiguration (Init)
17
+
18
+ /**
19
+ A configuration with the specified font path. This configuration will generate a PDF/A-1 with a default ICC profile.
20
+ If you don't want a PDF/A-1, use `initWithFontPath:iccProfilePath:` and pass `nil` for the ICC profile path.
21
+ */
22
+ - (instancetype)initWithFontPath:(NSString * _Nullable)fontPath;
23
+
24
+ @end
25
+
26
+ NS_ASSUME_NONNULL_END
@@ -6,12 +6,22 @@
6
6
  /** A configuration for the PDF generator */
7
7
  @interface GSKPDFGeneratorConfiguration : NSObject
8
8
  - (nonnull instancetype)initWithFontPath:(nullable NSString *)fontPath
9
+ iccProfilePath:(nullable NSString *)iccProfilePath
9
10
  debug:(BOOL)debug;
10
11
  + (nonnull instancetype)PDFGeneratorConfigurationWithFontPath:(nullable NSString *)fontPath
12
+ iccProfilePath:(nullable NSString *)iccProfilePath
11
13
  debug:(BOOL)debug;
12
14
 
13
15
  @property (nonatomic, readonly, nullable) NSString * fontPath;
14
16
 
17
+ /**
18
+ * An ICC profile file that will be configured on the
19
+ * PDF file. This is needed to have PDF/A compliance.
20
+ * It's a RGB profile so that it supports any RGB or Grayscale
21
+ * image.
22
+ */
23
+ @property (nonatomic, readonly, nullable) NSString * iccProfilePath;
24
+
15
25
  /**
16
26
  * If true, OCR'ed text will visible on the PDF.
17
27
  * Defaults to false
@@ -1,6 +1,6 @@
1
1
  #if 0
2
2
  #elif defined(__arm64__) && __arm64__
3
- // Generated by Apple Swift version 5.7 (swiftlang-5.7.0.127.4 clang-1400.0.29.50)
3
+ // Generated by Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
4
4
  #ifndef GSSDKCORE_SWIFT_H
5
5
  #define GSSDKCORE_SWIFT_H
6
6
  #pragma clang diagnostic push
@@ -23,7 +23,6 @@
23
23
  # include <swift/objc-prologue.h>
24
24
  #endif
25
25
 
26
- #pragma clang diagnostic ignored "-Wduplicate-method-match"
27
26
  #pragma clang diagnostic ignored "-Wauto-import"
28
27
  #if defined(__OBJC__)
29
28
  #include <Foundation/Foundation.h>
@@ -32,10 +31,24 @@
32
31
  #include <cstdint>
33
32
  #include <cstddef>
34
33
  #include <cstdbool>
34
+ #include <cstring>
35
+ #include <stdlib.h>
36
+ #include <new>
37
+ #include <type_traits>
35
38
  #else
36
39
  #include <stdint.h>
37
40
  #include <stddef.h>
38
41
  #include <stdbool.h>
42
+ #include <string.h>
43
+ #endif
44
+ #if defined(__cplusplus)
45
+ #if __has_include(<ptrauth.h>)
46
+ # include <ptrauth.h>
47
+ #else
48
+ # ifndef __ptrauth_swift_value_witness_function_pointer
49
+ # define __ptrauth_swift_value_witness_function_pointer(x)
50
+ # endif
51
+ #endif
39
52
  #endif
40
53
 
41
54
  #if !defined(SWIFT_TYPEDEFS)
@@ -71,53 +84,66 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
71
84
  # if __has_feature(objc_class_property)
72
85
  # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
73
86
  # else
74
- # define SWIFT_CLASS_PROPERTY(...)
87
+ # define SWIFT_CLASS_PROPERTY(...)
75
88
  # endif
76
89
  #endif
77
-
78
- #if __has_attribute(objc_runtime_name)
79
- # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
80
- #else
81
- # define SWIFT_RUNTIME_NAME(X)
90
+ #if !defined(SWIFT_RUNTIME_NAME)
91
+ # if __has_attribute(objc_runtime_name)
92
+ # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
93
+ # else
94
+ # define SWIFT_RUNTIME_NAME(X)
95
+ # endif
82
96
  #endif
83
- #if __has_attribute(swift_name)
84
- # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
85
- #else
86
- # define SWIFT_COMPILE_NAME(X)
97
+ #if !defined(SWIFT_COMPILE_NAME)
98
+ # if __has_attribute(swift_name)
99
+ # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
100
+ # else
101
+ # define SWIFT_COMPILE_NAME(X)
102
+ # endif
87
103
  #endif
88
- #if __has_attribute(objc_method_family)
89
- # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
90
- #else
91
- # define SWIFT_METHOD_FAMILY(X)
104
+ #if !defined(SWIFT_METHOD_FAMILY)
105
+ # if __has_attribute(objc_method_family)
106
+ # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
107
+ # else
108
+ # define SWIFT_METHOD_FAMILY(X)
109
+ # endif
92
110
  #endif
93
- #if __has_attribute(noescape)
94
- # define SWIFT_NOESCAPE __attribute__((noescape))
95
- #else
96
- # define SWIFT_NOESCAPE
111
+ #if !defined(SWIFT_NOESCAPE)
112
+ # if __has_attribute(noescape)
113
+ # define SWIFT_NOESCAPE __attribute__((noescape))
114
+ # else
115
+ # define SWIFT_NOESCAPE
116
+ # endif
97
117
  #endif
98
- #if __has_attribute(ns_consumed)
99
- # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
100
- #else
101
- # define SWIFT_RELEASES_ARGUMENT
118
+ #if !defined(SWIFT_RELEASES_ARGUMENT)
119
+ # if __has_attribute(ns_consumed)
120
+ # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
121
+ # else
122
+ # define SWIFT_RELEASES_ARGUMENT
123
+ # endif
102
124
  #endif
103
- #if __has_attribute(warn_unused_result)
104
- # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
105
- #else
106
- # define SWIFT_WARN_UNUSED_RESULT
125
+ #if !defined(SWIFT_WARN_UNUSED_RESULT)
126
+ # if __has_attribute(warn_unused_result)
127
+ # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
128
+ # else
129
+ # define SWIFT_WARN_UNUSED_RESULT
130
+ # endif
107
131
  #endif
108
- #if __has_attribute(noreturn)
109
- # define SWIFT_NORETURN __attribute__((noreturn))
110
- #else
111
- # define SWIFT_NORETURN
132
+ #if !defined(SWIFT_NORETURN)
133
+ # if __has_attribute(noreturn)
134
+ # define SWIFT_NORETURN __attribute__((noreturn))
135
+ # else
136
+ # define SWIFT_NORETURN
137
+ # endif
112
138
  #endif
113
139
  #if !defined(SWIFT_CLASS_EXTRA)
114
- # define SWIFT_CLASS_EXTRA
140
+ # define SWIFT_CLASS_EXTRA
115
141
  #endif
116
142
  #if !defined(SWIFT_PROTOCOL_EXTRA)
117
- # define SWIFT_PROTOCOL_EXTRA
143
+ # define SWIFT_PROTOCOL_EXTRA
118
144
  #endif
119
145
  #if !defined(SWIFT_ENUM_EXTRA)
120
- # define SWIFT_ENUM_EXTRA
146
+ # define SWIFT_ENUM_EXTRA
121
147
  #endif
122
148
  #if !defined(SWIFT_CLASS)
123
149
  # if __has_attribute(objc_subclassing_restricted)
@@ -137,28 +163,25 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
137
163
  # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
138
164
  # endif
139
165
  #endif
140
-
141
166
  #if !defined(SWIFT_PROTOCOL)
142
167
  # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
143
168
  # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
144
169
  #endif
145
-
146
170
  #if !defined(SWIFT_EXTENSION)
147
171
  # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
148
172
  #endif
149
-
150
173
  #if !defined(OBJC_DESIGNATED_INITIALIZER)
151
174
  # if __has_attribute(objc_designated_initializer)
152
175
  # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
153
176
  # else
154
- # define OBJC_DESIGNATED_INITIALIZER
177
+ # define OBJC_DESIGNATED_INITIALIZER
155
178
  # endif
156
179
  #endif
157
180
  #if !defined(SWIFT_ENUM_ATTR)
158
- # if defined(__has_attribute) && __has_attribute(enum_extensibility)
181
+ # if __has_attribute(enum_extensibility)
159
182
  # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
160
183
  # else
161
- # define SWIFT_ENUM_ATTR(_extensibility)
184
+ # define SWIFT_ENUM_ATTR(_extensibility)
162
185
  # endif
163
186
  #endif
164
187
  #if !defined(SWIFT_ENUM)
@@ -187,14 +210,16 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
187
210
  #if !defined(SWIFT_DEPRECATED_MSG)
188
211
  # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
189
212
  #endif
190
- #if __has_feature(attribute_diagnose_if_objc)
191
- # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
192
- #else
193
- # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
213
+ #if !defined(SWIFT_DEPRECATED_OBJC)
214
+ # if __has_feature(attribute_diagnose_if_objc)
215
+ # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
216
+ # else
217
+ # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
218
+ # endif
194
219
  #endif
195
220
  #if defined(__OBJC__)
196
221
  #if !defined(IBSegueAction)
197
- # define IBSegueAction
222
+ # define IBSegueAction
198
223
  #endif
199
224
  #endif
200
225
  #if !defined(SWIFT_EXTERN)
@@ -207,26 +232,31 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
207
232
  #if !defined(SWIFT_CALL)
208
233
  # define SWIFT_CALL __attribute__((swiftcall))
209
234
  #endif
235
+ #if !defined(SWIFT_INDIRECT_RESULT)
236
+ # define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
237
+ #endif
238
+ #if !defined(SWIFT_CONTEXT)
239
+ # define SWIFT_CONTEXT __attribute__((swift_context))
240
+ #endif
241
+ #if !defined(SWIFT_ERROR_RESULT)
242
+ # define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
243
+ #endif
210
244
  #if defined(__cplusplus)
211
- #if !defined(SWIFT_NOEXCEPT)
212
245
  # define SWIFT_NOEXCEPT noexcept
213
- #endif
214
246
  #else
215
- #if !defined(SWIFT_NOEXCEPT)
216
247
  # define SWIFT_NOEXCEPT
217
248
  #endif
249
+ #if defined(_WIN32)
250
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
251
+ # define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
218
252
  #endif
219
- #if defined(__cplusplus)
220
- #if !defined(SWIFT_CXX_INT_DEFINED)
221
- #define SWIFT_CXX_INT_DEFINED
222
- namespace swift {
223
- using Int = ptrdiff_t;
224
- using UInt = size_t;
225
- }
253
+ #else
254
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
255
+ # define SWIFT_IMPORT_STDLIB_SYMBOL
226
256
  #endif
227
257
  #endif
228
258
  #if defined(__OBJC__)
229
- #if __has_feature(modules)
259
+ #if __has_feature(objc_modules)
230
260
  #if __has_warning("-Watimport-in-framework-header")
231
261
  #pragma clang diagnostic ignored "-Watimport-in-framework-header"
232
262
  #endif
@@ -254,6 +284,7 @@ using UInt = size_t;
254
284
  #endif
255
285
 
256
286
  #if defined(__OBJC__)
287
+
257
288
  @class GSKPDFDocument;
258
289
  @class GSKDocumentGeneratorConfiguration;
259
290
 
@@ -289,6 +320,15 @@ SWIFT_CLASS("_TtC9GSSDKCore33GSKDocumentGeneratorConfiguration")
289
320
  - (nullable instancetype)initWithDictionary:(NSDictionary<NSString *, id> * _Nonnull)dictionary error:(NSError * _Nullable * _Nullable)error;
290
321
  @end
291
322
 
323
+ @class NSBundle;
324
+
325
+ SWIFT_CLASS("_TtC9GSSDKCore18GSSDKCoreResources")
326
+ @interface GSSDKCoreResources : NSObject
327
+ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) NSBundle * _Nonnull bundle;)
328
+ + (NSBundle * _Nonnull)bundle SWIFT_WARN_UNUSED_RESULT;
329
+ - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
330
+ @end
331
+
292
332
  #endif
293
333
  #if defined(__cplusplus)
294
334
  #endif
@@ -47,4 +47,5 @@ FOUNDATION_EXPORT const unsigned char GSSDKVersionString[];
47
47
  #import <GSSDKCore/GSKPDFPage.h>
48
48
  #import <GSSDKCore/GSKPDFSize.h>
49
49
  #import <GSSDKCore/GSKPDFGeneratorConfiguration.h>
50
-
50
+ #import <GSSDKCore/GSKPDFGeneratorError.h>
51
+ #import <GSSDKCore/GSKPDFGeneratorConfiguration+Init.h>