@thegrizzlylabs/cordova-plugin-genius-scan 4.8.0 → 4.9.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 (27) hide show
  1. package/README.md +2 -0
  2. package/package.json +1 -1
  3. package/plugin.xml +7 -5
  4. package/src/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/GSSDKCore +0 -0
  5. package/src/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/Info.plist +0 -0
  6. package/src/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/dSYMs/GSSDKCore.framework.dSYM/Contents/Info.plist +2 -2
  7. package/src/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/dSYMs/GSSDKCore.framework.dSYM/Contents/Resources/DWARF/GSSDKCore +0 -0
  8. package/src/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/GSSDKCore +0 -0
  9. package/src/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Info.plist +0 -0
  10. package/src/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDKCore.framework.dSYM/Contents/Info.plist +2 -2
  11. package/src/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDKCore.framework.dSYM/Contents/Resources/DWARF/GSSDKCore +0 -0
  12. package/src/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64/GSSDKOCR.framework/GSSDKOCR +0 -0
  13. package/src/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64/GSSDKOCR.framework/Info.plist +0 -0
  14. package/src/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64/dSYMs/GSSDKOCR.framework.dSYM/Contents/Info.plist +2 -2
  15. package/src/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64/dSYMs/GSSDKOCR.framework.dSYM/Contents/Resources/DWARF/GSSDKOCR +0 -0
  16. package/src/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/GSSDKOCR.framework/GSSDKOCR +0 -0
  17. package/src/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/GSSDKOCR.framework/Info.plist +0 -0
  18. package/src/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDKOCR.framework.dSYM/Contents/Info.plist +2 -2
  19. package/src/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDKOCR.framework.dSYM/Contents/Resources/DWARF/GSSDKOCR +0 -0
  20. package/src/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/GSSDKScanFlow +0 -0
  21. package/src/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/Info.plist +0 -0
  22. package/src/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/dSYMs/GSSDKScanFlow.framework.dSYM/Contents/Info.plist +2 -2
  23. package/src/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/dSYMs/GSSDKScanFlow.framework.dSYM/Contents/Resources/DWARF/GSSDKScanFlow +0 -0
  24. package/src/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/GSSDKScanFlow +0 -0
  25. package/src/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Info.plist +0 -0
  26. package/src/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDKScanFlow.framework.dSYM/Contents/Info.plist +2 -2
  27. package/src/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDKScanFlow.framework.dSYM/Contents/Resources/DWARF/GSSDKScanFlow +0 -0
package/README.md CHANGED
@@ -138,6 +138,7 @@ It returns a promise with `result` object containing:
138
138
  - `enhancedUrl`: the cropped and enhanced file, as processed by the SDK. "file://<filepath>.{jpeg|png}"
139
139
  - `ocrResult`: the result of text recognition for this scan
140
140
  - `text`: the raw text that was recognized
141
+ - `hocrTextLayout`: the recognized text in [hOCR](https://en.wikipedia.org/wiki/HOCR) format (with position, style…)
141
142
 
142
143
  ### Error callback
143
144
 
@@ -155,6 +156,7 @@ The `document` parameter is a map containing the following values:
155
156
 
156
157
  - `pages`: an array of page objects. Each page object has:
157
158
  - `imageUrl`: the URL of the image file for this page, e.g. `file://<filepath>.{jpeg|png}`
159
+ - `hocrTextLayout`: the text layout in hOCR format
158
160
 
159
161
  The `configuration` parameter provides the following options:
160
162
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thegrizzlylabs/cordova-plugin-genius-scan",
3
- "version": "4.8.0",
3
+ "version": "4.9.0",
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="4.8.0" 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="4.9.0" 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" />
@@ -9,13 +9,15 @@
9
9
  <feature name="GeniusScan">
10
10
  <param name="android-package" value="com.geniusscansdk.cordova.GeniusScan" />
11
11
  </feature>
12
+ <!-- Needed until we can upgrade cordova-android to a version that supports API 33 (v12.0.0?) -->
13
+ <preference name="android-targetSdkVersion" value="33" />
14
+ <preference name="android-compileSdkVersion" value="33" />
12
15
  </config-file>
13
- <config-file parent="/manifest/application" target="AndroidManifest.xml">
14
- </config-file>
16
+ <config-file parent="/manifest/application" target="AndroidManifest.xml" />
15
17
  <source-file src="src/android/GeniusScan.java" target-dir="src/com/geniusscansdk/cordova" />
16
18
  <framework custom="true" src="src/android/build.gradle" type="gradleReference" />
17
- <framework src="com.geniusscansdk:gssdk-scanflow:4.8.0"/>
18
- <framework src="com.geniusscansdk:gssdk-ocr:4.8.0"/>
19
+ <framework src="com.geniusscansdk:gssdk-scanflow:4.9.0"/>
20
+ <framework src="com.geniusscansdk:gssdk-ocr:4.9.0"/>
19
21
  </platform>
20
22
 
21
23
  <platform name="ios">
@@ -13,8 +13,8 @@
13
13
  <key>CFBundleSignature</key>
14
14
  <string>????</string>
15
15
  <key>CFBundleShortVersionString</key>
16
- <string>4.8.0</string>
16
+ <string>4.9.0</string>
17
17
  <key>CFBundleVersion</key>
18
- <string>11350</string>
18
+ <string>11516</string>
19
19
  </dict>
20
20
  </plist>
@@ -13,8 +13,8 @@
13
13
  <key>CFBundleSignature</key>
14
14
  <string>????</string>
15
15
  <key>CFBundleShortVersionString</key>
16
- <string>4.8.0</string>
16
+ <string>4.9.0</string>
17
17
  <key>CFBundleVersion</key>
18
- <string>11350</string>
18
+ <string>11516</string>
19
19
  </dict>
20
20
  </plist>
@@ -13,8 +13,8 @@
13
13
  <key>CFBundleSignature</key>
14
14
  <string>????</string>
15
15
  <key>CFBundleShortVersionString</key>
16
- <string>4.8.0</string>
16
+ <string>4.9.0</string>
17
17
  <key>CFBundleVersion</key>
18
- <string>11350</string>
18
+ <string>11516</string>
19
19
  </dict>
20
20
  </plist>
@@ -13,8 +13,8 @@
13
13
  <key>CFBundleSignature</key>
14
14
  <string>????</string>
15
15
  <key>CFBundleShortVersionString</key>
16
- <string>4.8.0</string>
16
+ <string>4.9.0</string>
17
17
  <key>CFBundleVersion</key>
18
- <string>11350</string>
18
+ <string>11516</string>
19
19
  </dict>
20
20
  </plist>
@@ -13,8 +13,8 @@
13
13
  <key>CFBundleSignature</key>
14
14
  <string>????</string>
15
15
  <key>CFBundleShortVersionString</key>
16
- <string>4.8.0</string>
16
+ <string>4.9.0</string>
17
17
  <key>CFBundleVersion</key>
18
- <string>11350</string>
18
+ <string>11516</string>
19
19
  </dict>
20
20
  </plist>
@@ -13,8 +13,8 @@
13
13
  <key>CFBundleSignature</key>
14
14
  <string>????</string>
15
15
  <key>CFBundleShortVersionString</key>
16
- <string>4.8.0</string>
16
+ <string>4.9.0</string>
17
17
  <key>CFBundleVersion</key>
18
- <string>11350</string>
18
+ <string>11516</string>
19
19
  </dict>
20
20
  </plist>