@thegrizzlylabs/cordova-plugin-genius-scan 5.17.2 → 6.0.0-beta02

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 (125) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
  3. package/plugin.xml +2 -2
  4. package/src/android/GeniusScan.java +2 -2
  5. package/src/ios/GSSDK/GSSDK.xcframework/Info.plist +5 -5
  6. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Assets.car +0 -0
  7. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/DeviceGuru_DeviceGuru.bundle/DeviceList.plist +0 -0
  8. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/DeviceGuru_DeviceGuru.bundle/Info.plist +0 -0
  9. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/DeviceGuru_DeviceGuru.bundle/PrivacyInfo.xcprivacy +34 -0
  10. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/GSSDK +0 -0
  11. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKDefaultLogLevel.h +1 -1
  12. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKDocumentDetector.h +5 -3
  13. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKEnhancementConfiguration.h +0 -8
  14. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKError.h +7 -3
  15. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKLog.h +1 -1
  16. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKLogger.h +1 -1
  17. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKProcessingResult.h +0 -4
  18. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKQuadrangle.h +1 -7
  19. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKReadabilityResult.h +1 -1
  20. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKRotation.h +5 -1
  21. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKScanFlowStructuredData.h +2 -2
  22. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKScanProcessor.h +6 -5
  23. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK-Swift.h +459 -344
  24. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSSDK.h +0 -6
  25. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/UIImage+GSKUtils.h +12 -3
  26. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Info.plist +0 -0
  27. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.abi.json +19923 -17290
  28. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +334 -279
  29. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  30. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios.swiftinterface +334 -279
  31. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ar.lproj/GSSDK.stringsdict +0 -0
  32. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/da.lproj/GSSDK.stringsdict +0 -0
  33. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/de.lproj/GSSDK.stringsdict +0 -0
  34. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/es.lproj/GSSDK.stringsdict +0 -0
  35. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/fr.lproj/GSSDK.stringsdict +0 -0
  36. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/he.lproj/GSSDK.stringsdict +0 -0
  37. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/hu.lproj/GSSDK.stringsdict +0 -0
  38. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/it.lproj/GSSDK.stringsdict +0 -0
  39. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ja.lproj/GSSDK.stringsdict +0 -0
  40. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ko.lproj/GSSDK.stringsdict +0 -0
  41. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/nl.lproj/GSSDK.stringsdict +0 -0
  42. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/pl.lproj/GSSDK.stringsdict +0 -0
  43. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/pt-BR.lproj/GSSDK.stringsdict +0 -0
  44. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/ru.lproj/GSSDK.stringsdict +0 -0
  45. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/sv.lproj/GSSDK.stringsdict +0 -0
  46. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/tr.lproj/GSSDK.stringsdict +0 -0
  47. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/vi.lproj/GSSDK.stringsdict +0 -0
  48. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/zh-Hans.lproj/GSSDK.stringsdict +0 -0
  49. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/dSYMs/GSSDK.framework.dSYM/Contents/Info.plist +2 -2
  50. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/dSYMs/GSSDK.framework.dSYM/Contents/Resources/DWARF/GSSDK +0 -0
  51. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/dSYMs/GSSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/GSSDK.yml +4574 -4684
  52. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Assets.car +0 -0
  53. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/DeviceGuru_DeviceGuru.bundle/DeviceList.plist +0 -0
  54. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/DeviceGuru_DeviceGuru.bundle/Info.plist +0 -0
  55. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/DeviceGuru_DeviceGuru.bundle/PrivacyInfo.xcprivacy +34 -0
  56. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/GSSDK +0 -0
  57. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKDefaultLogLevel.h +1 -1
  58. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKDocumentDetector.h +5 -3
  59. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKEnhancementConfiguration.h +0 -8
  60. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKError.h +7 -3
  61. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKLog.h +1 -1
  62. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKLogger.h +1 -1
  63. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKProcessingResult.h +0 -4
  64. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKQuadrangle.h +1 -7
  65. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKReadabilityResult.h +1 -1
  66. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKRotation.h +5 -1
  67. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKScanFlowStructuredData.h +2 -2
  68. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKScanProcessor.h +6 -5
  69. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK-Swift.h +932 -702
  70. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSSDK.h +0 -6
  71. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/UIImage+GSKUtils.h +12 -3
  72. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Info.plist +0 -0
  73. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +19923 -17290
  74. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +334 -279
  75. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  76. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +334 -279
  77. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +19923 -17290
  78. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +334 -279
  79. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  80. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Modules/GSSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +334 -279
  81. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ar.lproj/GSSDK.stringsdict +0 -0
  82. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/da.lproj/GSSDK.stringsdict +0 -0
  83. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/de.lproj/GSSDK.stringsdict +0 -0
  84. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/es.lproj/GSSDK.stringsdict +0 -0
  85. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/fr.lproj/GSSDK.stringsdict +0 -0
  86. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/he.lproj/GSSDK.stringsdict +0 -0
  87. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/hu.lproj/GSSDK.stringsdict +0 -0
  88. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/it.lproj/GSSDK.stringsdict +0 -0
  89. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ja.lproj/GSSDK.stringsdict +0 -0
  90. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ko.lproj/GSSDK.stringsdict +0 -0
  91. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/nl.lproj/GSSDK.stringsdict +0 -0
  92. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/pl.lproj/GSSDK.stringsdict +0 -0
  93. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/pt-BR.lproj/GSSDK.stringsdict +0 -0
  94. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/ru.lproj/GSSDK.stringsdict +0 -0
  95. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/sv.lproj/GSSDK.stringsdict +0 -0
  96. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/tr.lproj/GSSDK.stringsdict +0 -0
  97. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/vi.lproj/GSSDK.stringsdict +0 -0
  98. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/zh-Hans.lproj/GSSDK.stringsdict +0 -0
  99. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDK.framework.dSYM/Contents/Info.plist +2 -2
  100. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDK.framework.dSYM/Contents/Resources/DWARF/GSSDK +0 -0
  101. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/GSSDK.yml +4574 -4677
  102. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDK.framework.dSYM/Contents/Resources/Relocations/x86_64/GSSDK.yml +4526 -4623
  103. package/src/ios/GeniusScan.m +11 -11
  104. package/types/index.d.ts +9 -9
  105. package/www/GeniusScan.js +2 -2
  106. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKEditFrameView.h +0 -71
  107. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKEditFrameViewController.h +0 -62
  108. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKEditableFrame.h +0 -68
  109. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKFilterType.h +0 -43
  110. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKMBProgressHUD.h +0 -410
  111. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKShutterView.h +0 -28
  112. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/Headers/GSKView.h +0 -70
  113. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/PrivateHeaders/png.h +0 -3358
  114. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/PrivateHeaders/pngconf.h +0 -615
  115. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64/GSSDK.framework/PrivateHeaders/pnglibconf.h +0 -233
  116. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKEditFrameView.h +0 -71
  117. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKEditFrameViewController.h +0 -62
  118. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKEditableFrame.h +0 -68
  119. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKFilterType.h +0 -43
  120. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKMBProgressHUD.h +0 -410
  121. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKShutterView.h +0 -28
  122. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/Headers/GSKView.h +0 -70
  123. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/PrivateHeaders/png.h +0 -3358
  124. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/PrivateHeaders/pngconf.h +0 -615
  125. package/src/ios/GSSDK/GSSDK.xcframework/ios-arm64_x86_64-simulator/GSSDK.framework/PrivateHeaders/pnglibconf.h +0 -233
package/README.md CHANGED
@@ -19,10 +19,10 @@ You can try the "demo" version for free without a license key, the only limitati
19
19
  You need to [set a license key](#set-the-license-key) for unlimited demo time, or for production.
20
20
 
21
21
  To buy a license:
22
- 1. [Sign up](https://sdk.geniusscan.com/apps) to our developer console
22
+ 1. [Sign up](https://portal.geniusscansdk.com/apps) to our developer console
23
23
  2. Submit a quote request for each application
24
24
 
25
- You can learn more about [licensing](https://geniusscansdk.com/license/licensing) in our website and contact us at sdk@geniusscan.com for further questions.
25
+ You can learn more about [licensing](https://geniusscansdk.com/license/licensing) in our website and contact us at sales@geniusscansdk.com for further questions.
26
26
 
27
27
  ## Demo application
28
28
 
@@ -136,8 +136,8 @@ The method `scanWithConfiguration` takes a `configuration` parameter which can t
136
136
  - `ocrConfiguration`: text recognition options. Text recognition will run on a background thread for every captured image. No text recognition will be applied if this parameter is not present.
137
137
  - `languages`: list of BCP 47 language tags (eg `["en-US"]`) for which to run text recognition. Note that text recognition will take longer if multiple languages are specified.
138
138
  - `outputFormats`: an array with the formats in which the OCR result is made available in the ScanFlow result (defaults to all formats). Possible formats are `rawText`, `hOCR` and `textLayerInPDF`.
139
- - `structuredData`: an array of the structured data you want to extract. E.g.: `['receipt', 'businessCard']`. Possible values are `receipt`, `readableCode`, `bankDetails` (iOS only), `businessCard` (iOS only).
140
- - `structuredDataReadableCodeTypes`: an array of the readable code types to extract, e.g. `['qr', 'code39']`. Possible values are `aztec`, `code39`, `code93`, `code128`, `dataMatrix`, `ean8`, `ean13`, `itf`, `pdf417`, `qr`, `upca` (Android only), `upce`, `codabar` (iOS 15+ only), `gs1DataBar` (iOS 15+ only), `microPDF417` (iOS 15+ only), `microQR` (iOS 15+ only), `msiPlessey` (iOS 15+ only).
139
+ - `structuredData`: an array of the structured data you want to extract. E.g.: `['receipt', 'businessCard']`. Possible values are `receipt`, `barcode`, `bankDetails` (iOS only), `businessCard` (iOS only).
140
+ - `structuredDataBarcodeTypes`: an array of the barcode types to extract, e.g. `['qr', 'code39']`. Possible values are `aztec`, `code39`, `code93`, `code128`, `dataMatrix`, `ean8`, `ean13`, `itf`, `pdf417`, `qr`, `upca` (Android only), `upce`, `codabar` (iOS 15+ only), `gs1DataBar` (iOS 15+ only), `microPDF417` (iOS 15+ only), `microQR` (iOS 15+ only), `msiPlessey` (iOS 15+ only).
141
141
  - `requiredReadabilityLevel`: the required readability level below which a warning will be displayed to the user. Possible values are `lowest`, `low`, `medium`, `high`, `highest` (default to `lowest`, which means the warning will never be displayed).
142
142
 
143
143
  It returns a promise with `result` object containing:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thegrizzlylabs/cordova-plugin-genius-scan",
3
- "version": "5.17.2",
3
+ "version": "6.0.0-beta02",
4
4
  "description": "Cordova Plugin for Genius Scan SDK",
5
5
  "author": "TheGrizzlyLabs <sdk@thegrizzlylabs.com> (https://www.thegrizzlylabs.com/)",
6
6
  "homepage": "https://geniusscansdk.com/",
package/plugin.xml CHANGED
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <plugin id="@thegrizzlylabs/cordova-plugin-genius-scan" version="5.17.2" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
2
+ <plugin id="@thegrizzlylabs/cordova-plugin-genius-scan" version="6.0.0-beta02" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
3
3
  <name>Genius Scan</name>
4
4
  <js-module name="GeniusScan" src="www/GeniusScan.js">
5
5
  <clobbers target="cordova.plugins.GeniusScan" />
@@ -13,7 +13,7 @@
13
13
  <config-file parent="/manifest/application" target="AndroidManifest.xml" />
14
14
  <source-file src="src/android/GeniusScan.java" target-dir="src/com/geniusscansdk/cordova" />
15
15
  <framework custom="true" src="src/android/build.gradle" type="gradleReference" />
16
- <framework src="com.geniusscansdk:gssdk:5.17.2"/>
16
+ <framework src="com.geniusscansdk:gssdk:6.0.0-beta02"/>
17
17
  </platform>
18
18
 
19
19
  <platform name="ios">
@@ -111,11 +111,11 @@ public class GeniusScan extends CordovaPlugin {
111
111
  return true;
112
112
  }
113
113
 
114
- if (action.equals("scanReadableCodesWithConfiguration")) {
114
+ if (action.equals("scanBarcodesWithConfiguration")) {
115
115
  callback = callbackContext;
116
116
  Map<String, Object> configuration = toMap(args.getJSONObject(0));
117
117
  this.cordova.setActivityResultCallback((CordovaPlugin) this);
118
- PluginBridge.scanReadableCodesWithConfiguration(this.cordova.getActivity(), configuration);
118
+ PluginBridge.scanBarcodesWithConfiguration(this.cordova.getActivity(), configuration);
119
119
  return true;
120
120
  }
121
121
 
@@ -10,18 +10,15 @@
10
10
  <key>DebugSymbolsPath</key>
11
11
  <string>dSYMs</string>
12
12
  <key>LibraryIdentifier</key>
13
- <string>ios-arm64_x86_64-simulator</string>
13
+ <string>ios-arm64</string>
14
14
  <key>LibraryPath</key>
15
15
  <string>GSSDK.framework</string>
16
16
  <key>SupportedArchitectures</key>
17
17
  <array>
18
18
  <string>arm64</string>
19
- <string>x86_64</string>
20
19
  </array>
21
20
  <key>SupportedPlatform</key>
22
21
  <string>ios</string>
23
- <key>SupportedPlatformVariant</key>
24
- <string>simulator</string>
25
22
  </dict>
26
23
  <dict>
27
24
  <key>BinaryPath</key>
@@ -29,15 +26,18 @@
29
26
  <key>DebugSymbolsPath</key>
30
27
  <string>dSYMs</string>
31
28
  <key>LibraryIdentifier</key>
32
- <string>ios-arm64</string>
29
+ <string>ios-arm64_x86_64-simulator</string>
33
30
  <key>LibraryPath</key>
34
31
  <string>GSSDK.framework</string>
35
32
  <key>SupportedArchitectures</key>
36
33
  <array>
37
34
  <string>arm64</string>
35
+ <string>x86_64</string>
38
36
  </array>
39
37
  <key>SupportedPlatform</key>
40
38
  <string>ios</string>
39
+ <key>SupportedPlatformVariant</key>
40
+ <string>simulator</string>
41
41
  </dict>
42
42
  </array>
43
43
  <key>CFBundlePackageType</key>
@@ -0,0 +1,34 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>NSPrivacyCollectedDataTypes</key>
6
+ <array>
7
+ <dict>
8
+ <key>NSPrivacyCollectedDataType</key>
9
+ <string>NSPrivacyCollectedDataTypeOtherDataTypes</string>
10
+ <key>NSPrivacyCollectedDataTypeLinked</key>
11
+ <false/>
12
+ <key>NSPrivacyCollectedDataTypeTracking</key>
13
+ <false/>
14
+ <key>NSPrivacyCollectedDataTypePurposes</key>
15
+ <array>
16
+ <string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
17
+ </array>
18
+ </dict>
19
+ </array>
20
+ <key>NSPrivacyTracking</key>
21
+ <false/>
22
+ <key>NSPrivacyAccessedAPITypes</key>
23
+ <array>
24
+ <dict>
25
+ <key>NSPrivacyAccessedAPIType</key>
26
+ <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
27
+ <key>NSPrivacyAccessedAPITypeReasons</key>
28
+ <array>
29
+ <string>CA92.1</string>
30
+ </array>
31
+ </dict>
32
+ </array>
33
+ </dict>
34
+ </plist>
@@ -6,7 +6,7 @@
6
6
  // Copyright © 2024 The Grizzly Labs. All rights reserved.
7
7
  //
8
8
 
9
- #import "GSKLoggerSeverity.h"
9
+ #import <GSSDK/GSKLoggerSeverity.h>
10
10
 
11
11
  #ifndef GSKDefaultLogLevel_h
12
12
  #define GSKDefaultLogLevel_h
@@ -52,6 +52,8 @@ NS_ASSUME_NONNULL_BEGIN
52
52
  @end
53
53
 
54
54
  /**
55
+ Detects the frame of a document in an image.
56
+
55
57
  - Performance:
56
58
  A document detector can be expensive to create: it's recommended to keep a reference to it if it's needed several times in a row.
57
59
  */
@@ -61,12 +63,12 @@ NS_ASSUME_NONNULL_BEGIN
61
63
  - (instancetype)init;
62
64
 
63
65
  /**
64
- Detects the quadrangle corresponding to the edges of a document in video frame
66
+ Detects the quadrangle corresponding to the edges of a document in a video frame
65
67
 
66
68
  @param sampleBuffer a YCbCr sample buffer of a video frame. Make sure the video output generating these frames is configured with the pixel format kCVPixelFormatType_420YpCbCr8BiPlanarFullRange
67
69
  @param error On input, a pointer to an error object. If an error occurs, this pointer is set to an actual error object containing the error information. You may specify nil for this parameter if you do not want the error information.
68
70
 
69
- @return The detected quadrangle or nil if an error occured.
71
+ @return The detected quadrangle or nil if an error occurred.
70
72
  */
71
73
  - (GSKDocumentDetectionResult * _Nullable)detectDocumentInSampleBuffer:(CMSampleBufferRef)sampleBuffer error:(NSError * _Nullable *)error;
72
74
 
@@ -76,7 +78,7 @@ NS_ASSUME_NONNULL_BEGIN
76
78
  @param image The photo to detect a document in
77
79
  @param error On input, a pointer to an error object. If an error occurs, this pointer is set to an actual error object containing the error information. You may specify nil for this parameter if you do not want the error information.
78
80
 
79
- @return The detected quadrangle or nil if an error occured.
81
+ @return The detected quadrangle or nil if an error occurred.
80
82
  */
81
83
  - (GSKDocumentDetectionResult * _Nullable)detectDocumentInImage:(UIImage *)image error:(NSError * _Nullable *)error;
82
84
 
@@ -9,7 +9,6 @@
9
9
  #import <Foundation/Foundation.h>
10
10
  #import <GSSDK/GSKFilterColorPalette.h>
11
11
  #import <GSSDK/GSKFilterStyle.h>
12
- #import <GSSDK/GSKFilterType.h>
13
12
 
14
13
  @class GSKFilterConfiguration;
15
14
 
@@ -34,13 +33,6 @@ NS_ASSUME_NONNULL_BEGIN
34
33
  */
35
34
  + (instancetype)automaticEnhancementConfigurationWithColorPalette:(GSKFilterColorPalette)colorPalette NS_SWIFT_NAME(automatic(colorPalette:));
36
35
 
37
- /**
38
- An enhancement configuration that will result in using the specified legacy filter.
39
-
40
- Deprecated.
41
- */
42
- + (instancetype)enhancementConfigurationWithFilter:(GSKFilterType)filter DEPRECATED_MSG_ATTRIBUTE("Use `filterConfiguration` instead.");
43
-
44
36
  /**
45
37
  An enhancement configuration that will result in using the specified filter.
46
38
  */
@@ -4,7 +4,7 @@
4
4
  // Copyright 2010-2020 The Grizzly Labs
5
5
  //
6
6
  // Subject to the Genius Scan SDK Licensing Agreement
7
- // sdk@thegrizzlylabs.com
7
+ // sales@geniusscansdk.com
8
8
  //
9
9
 
10
10
  #ifndef GSKError_h
@@ -17,7 +17,7 @@ FOUNDATION_EXPORT NSString * const GSKErrorDomain;
17
17
  typedef NS_ENUM(NSInteger, GSKError) {
18
18
  /// An license key related error.
19
19
  GSKLicenseError = 1000,
20
- /// An internal error. Please report it to sdk@geniusscan.com with output logs.
20
+ /// An internal error. Please report it to support@geniusscansdk.com with output logs.
21
21
  GSKInternalError = 1001,
22
22
  /// An image processing error
23
23
  GSKProcessingError = 1002,
@@ -26,9 +26,13 @@ typedef NS_ENUM(NSInteger, GSKError) {
26
26
  /// A file not found error
27
27
  GSKFileNotFound = 1004,
28
28
  /// A memory (not storage) error
29
- GSKMemoryError = 1005
29
+ GSKMemoryError = 1005,
30
+ /// A capture session error
31
+ GSKCaptureError = 1006
30
32
  };
31
33
 
32
34
  FOUNDATION_EXPORT NSString * const GSKPDFErrorDomain;
33
35
 
36
+ FOUNDATION_EXPORT NSError *GSKErrorToNSError(GSKError code, NSString *description);
37
+
34
38
  #endif /* GSKError_h */
@@ -5,7 +5,7 @@
5
5
 
6
6
  #import <Foundation/Foundation.h>
7
7
 
8
- #import "GSKLogger.h"
8
+ #import <GSSDK/GSKLogger.h>
9
9
 
10
10
  NS_ASSUME_NONNULL_BEGIN
11
11
 
@@ -6,7 +6,7 @@
6
6
  // Copyright © 2024 The Grizzly Labs. All rights reserved.
7
7
  //
8
8
 
9
- #import "GSKLoggerSeverity.h"
9
+ #import <GSSDK/GSKLoggerSeverity.h>
10
10
 
11
11
  #ifndef GSKLogger_h
12
12
  #define GSKLogger_h
@@ -8,7 +8,6 @@
8
8
 
9
9
  #import <Foundation/Foundation.h>
10
10
 
11
- #import <GSSDK/GSKFilterType.h>
12
11
  #import <GSSDK/GSKRotation.h>
13
12
 
14
13
  @class GSKQuadrangle;
@@ -25,9 +24,6 @@ NS_ASSUME_NONNULL_BEGIN
25
24
  /// The quadrangle that was used for perspective correction
26
25
  @property (nonatomic, strong, readonly) GSKQuadrangle *appliedQuadrangle;
27
26
 
28
- /// The filter that was applied during the enhancement phase
29
- @property (nonatomic, assign, readonly) GSKFilterType appliedFilter __deprecated_msg("Use appliedFilterConfiguration instead.");
30
-
31
27
  /// The filter that was applied during the enhancement phase
32
28
  @property (nonatomic, strong, readonly) GSKFilterConfiguration *appliedFilterConfiguration;
33
29
 
@@ -9,14 +9,8 @@
9
9
 
10
10
  #import <Foundation/Foundation.h>
11
11
  #import <CoreGraphics/CoreGraphics.h>
12
-
12
+ #import <GSSDK/GSKRotation.h>
13
13
  #import <UIKit/UIKit.h>
14
- #import "GSKRotation.h"
15
-
16
- extern const CGPoint GSKQuadrangleTopRightPoint;
17
- extern const CGPoint GSKQuadrangleTopLeftPoint;
18
- extern const CGPoint GSKQuadrangleBottomLeftPoint;
19
- extern const CGPoint GSKQuadrangleBottomRightPoint;
20
14
 
21
15
  NS_ASSUME_NONNULL_BEGIN
22
16
 
@@ -8,7 +8,7 @@
8
8
  //
9
9
 
10
10
  #import <Foundation/Foundation.h>
11
- #import "GSKReadabilityLevel.h"
11
+ #import <GSSDK/GSKReadabilityLevel.h>
12
12
 
13
13
  NS_ASSUME_NONNULL_BEGIN
14
14
 
@@ -13,9 +13,13 @@
13
13
 
14
14
  /// Defines an image rotation by increment of 90 degrees.
15
15
  typedef NS_ENUM(NSInteger, GSKRotation) {
16
+ /// No rotation
16
17
  GSKRotationNone = 0,
18
+ /// Clockwise rotation, or rotation to the right
17
19
  GSKRotationClockwise = 1,
18
- GSKRotation180 = 2,
20
+ // 180 degree rotation
21
+ GSKRotationUpsideDown = 2,
22
+ // Counter-clockwise rotation, or rotation to the left
19
23
  GSKRotationCounterClockwise = 3
20
24
  };
21
25
 
@@ -12,8 +12,8 @@ typedef NS_OPTIONS(NSUInteger, GSKScanFlowStructuredData) {
12
12
  GSKScanFlowStructuredDataBusinessCard = 1 << 1,
13
13
  /// To scan receipt/invoice information
14
14
  GSKScanFlowStructuredDataReceipt = 1 << 2,
15
- /// To scan barcodes and QR codes. The SDK can detect multiple readable codes on a single page.
16
- GSKScanFlowStructuredDataReadableCode = 1 << 3,
15
+ /// To scan barcodes and QR codes. The SDK can detect multiple barcodes on a single page.
16
+ GSKScanFlowStructuredDataBarcode = 1 << 3,
17
17
  };
18
18
 
19
19
  #endif
@@ -11,7 +11,6 @@
11
11
  #import <Foundation/Foundation.h>
12
12
  #import <UIKit/UIKit.h>
13
13
 
14
- #import <GSSDK/GSKFilterType.h>
15
14
  #import <GSSDK/GSKRotation.h>
16
15
 
17
16
  NS_ASSUME_NONNULL_BEGIN
@@ -33,9 +32,11 @@ NS_ASSUME_NONNULL_BEGIN
33
32
  The document processor is the central class of the GSSDK's image processing algorithms.
34
33
 
35
34
  With the document processor, you can correct the distortion in your documents, as well as improve their legibility.
36
- If you are only interested in the detecting a document in an image, please refer to GSKDocumentDetector.
35
+ The scan processor can also analyze the scan and evaluate its readability.
37
36
 
38
- Warning: `GSKScanProcessor` is not thread-safe; you shouldn't reuse the same instance accross threads.
37
+ If you are only interested in detecting a document in an image, please refer to ``GSKDocumentDetector``. If you are looking to detect whether an image contains a document, use ``GSKDocumentFinder`` instead.
38
+
39
+ Warning: `GSKScanProcessor` is not thread-safe; you shouldn't reuse the same instance across threads.
39
40
  */
40
41
  @interface GSKScanProcessor : NSObject
41
42
 
@@ -45,8 +46,8 @@ NS_ASSUME_NONNULL_BEGIN
45
46
 
46
47
  @param configuration The configuration of the different steps of the processing.
47
48
 
48
- @returns The result of the processing, nil if there is an error. The results includes the parameters that have been selected for the different processing steps,
49
- as well as the temporary path were the output was written. The output is written in a temporary folder. The caller can take ownership of this file.
49
+ @returns The result of the processing, nil if there is an error. The result includes the parameters that have been selected for the different processing steps,
50
+ as well as the temporary path where the output was written. The output is written in a temporary folder. The caller can take ownership of this file.
50
51
  By default, the best output format will be chosen by this method. For instance, if the monochrome enhancement was selected, the output will not
51
52
  be saved as JPEG but as a 1-bit PNG image. The result's processedImagePath file extension will reflect this.
52
53
  */