anyline-ocr-react-native-module 54.6.0 → 55.0.3

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.
@@ -61,7 +61,7 @@ repositories {
61
61
 
62
62
  dependencies {
63
63
  implementation fileTree(dir: "libs", include: ["*.jar"])
64
- implementation 'io.anyline:anylinesdk:54.6.0'
64
+ implementation 'io.anyline:anylinesdk:55.0.3'
65
65
  implementation "com.facebook.react:react-native:+"
66
66
  implementation("com.google.android.material:material:1.9.0")
67
67
  implementation 'androidx.multidex:multidex:2.0.1'
@@ -5,7 +5,7 @@
5
5
  <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
6
6
  <uses-permission android:name="android.permission.CAMERA" />
7
7
 
8
- <application android:allowBackup="true">
8
+ <application>
9
9
  <activity
10
10
  android:name=".ScanActivity"
11
11
  android:screenOrientation="portrait" />
@@ -23,7 +23,7 @@ import java.util.HashMap;
23
23
 
24
24
  import io.anyline2.WrapperConfig;
25
25
  import io.anyline2.WrapperInfo;
26
- import io.anyline2.core.ScanController;
26
+ import io.anyline2.core.PluginType;
27
27
  import io.anyline2.di.context.ContextProvider;
28
28
  import io.anyline2.legacy.products.AnylineUpdater;
29
29
  import io.anyline2.legacy.trainer.AssetContext;
@@ -129,7 +129,7 @@ class AnylineSDKPlugin extends ReactContextBaseJavaModule implements ResultRepor
129
129
  reactContext,
130
130
  assetContext,
131
131
  new AnylineUpdateDelegateImpl(reactContext, onUpdateError, onUpdateFinished),
132
- ScanController.PluginType.OCR
132
+ PluginType.OCR
133
133
  );
134
134
  }
135
135
  } catch (JSONException e) {
@@ -18,7 +18,7 @@ Pod::Spec.new do |s|
18
18
  s.source = { :git => "https://github.com/Anyline/anyline-ocr-react-native-module.git", :tag => "#{s.version}" }
19
19
 
20
20
  s.source_files = "*.{h,m}"
21
- s.dependency "Anyline", "54.6.0"
21
+ s.dependency "Anyline", "55.0.3"
22
22
  s.dependency "React"
23
23
 
24
24
  end
package/package.json CHANGED
@@ -1,51 +1,28 @@
1
1
  {
2
- "_from": "anyline-ocr-react-native-module@^54.6.0",
3
- "_id": "anyline-ocr-react-native-module@^54.6.0",
4
- "_inBundle": false,
5
- "_integrity": "sha512-BGi9zNkSsoxXywDBIqzgBRvKUBniQOJHDKBrozZubKthZNRBAj8Ry5tW0Me0yLXt/fauME//hbC0wsenfPJZqw==",
6
- "_location": "/anyline-ocr-react-native-module",
7
- "_phantomChildren": {},
8
- "_requested": {
9
- "type": "range",
10
- "registry": true,
11
- "raw": "anyline-ocr-react-native-module@^54.6.0",
12
- "name": "anyline-ocr-react-native-module",
13
- "escapedName": "anyline-ocr-react-native-module",
14
- "rawSpec": "^54.6.0",
15
- "saveSpec": null,
16
- "fetchSpec": "^54.6.0"
17
- },
18
- "_requiredBy": [
19
- "/"
20
- ],
21
- "_resolved": "https://registry.npmjs.org/anyline-ocr-react-native-module/-/anyline-ocr-react-native-module-54.6.0.tgz",
22
- "_shasum": "bacbcd260cc662244f59393ed81a6edba009b52c",
23
- "_spec": "anyline-ocr-react-native-module@^54.6.0",
24
- "_where": "/Users/amiransari/Projects/anyline-ocr-react-native-module1/example/RNExampleApp",
25
- "bugs": {
26
- "url": "https://github.com/Anyline/anyline-ocr-react-native-module/issues"
27
- },
28
- "bundleDependencies": false,
29
- "dependencies": {
30
- "buffer": "^5.1.0"
31
- },
32
- "deprecated": false,
2
+ "name": "anyline-ocr-react-native-module",
3
+ "version": "55.0.3",
33
4
  "description": "A Plugin for connecting Anyline with React-Native",
34
- "directories": {
35
- "example": "examples"
36
- },
37
- "homepage": "https://github.com/Anyline/anyline-ocr-react-native-module#readme",
38
5
  "keywords": [
39
6
  "reactnative",
40
7
  "anyline",
41
8
  "ocr"
42
9
  ],
10
+ "homepage": "https://github.com/Anyline/anyline-ocr-react-native-module#readme",
11
+ "bugs": {
12
+ "url": "https://github.com/Anyline/anyline-ocr-react-native-module/issues"
13
+ },
43
14
  "license": "SEE LICENSE IN LICENSE",
44
- "main": "index.js",
45
- "name": "anyline-ocr-react-native-module",
46
15
  "repository": {
47
16
  "type": "git",
48
17
  "url": "git+https://github.com/Anyline/anyline-ocr-react-native-module.git"
49
18
  },
50
- "version": "54.6.0"
19
+ "main": "index.js",
20
+ "directories": {
21
+ "example": "examples"
22
+ },
23
+ "dependencies": {
24
+ "buffer": "^5.1.0"
25
+ },
26
+ "bundleDependencies": false,
27
+ "deprecated": false
51
28
  }