@biso_gmbh/capacitor-plugin-ml-kit-barcode-scanner 1.0.9 → 2.0.1
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.
- package/README.md +10 -0
- package/android/build.gradle +1 -1
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -3,6 +3,9 @@ A really configurable implementation of googles MLKit Vision barcode scanning AP
|
|
|
3
3
|
|
|
4
4
|
This is a capacitor port of [bi-so-gmbh / cordova-plugin-mlkit-barcode-scanner](https://github.com/bi-so-gmbh/cordova-plugin-mlkit-barcode-scanner)
|
|
5
5
|
|
|
6
|
+
> [!IMPORTANT]
|
|
7
|
+
> Version 2.x.x and upwards are Capacitor 6 versions. For Capacitor 5 use version 1.x.x
|
|
8
|
+
|
|
6
9
|
## Supported Versions
|
|
7
10
|
|
|
8
11
|
### iOS
|
|
@@ -15,6 +18,13 @@ npm install https://github.com/bi-so-gmbh/capacitor-plugin-mlkit-barcode-scanner
|
|
|
15
18
|
npx cap sync
|
|
16
19
|
```
|
|
17
20
|
|
|
21
|
+
## Publish
|
|
22
|
+
To publish to npm use
|
|
23
|
+
```bash
|
|
24
|
+
npm publish --access public
|
|
25
|
+
```
|
|
26
|
+
If this is the first time you publish anything (or you were logged out) use
|
|
27
|
+
|
|
18
28
|
### Permissions
|
|
19
29
|
|
|
20
30
|
#### IOS
|
package/android/build.gradle
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biso_gmbh/capacitor-plugin-ml-kit-barcode-scanner",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Google MLKit Vision Barcode Scanner Plugin",
|
|
6
6
|
"main": "dist/plugin.cjs.js",
|
|
@@ -49,9 +49,10 @@
|
|
|
49
49
|
"prepublishOnly": "npm run build"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@capacitor/android": "^
|
|
52
|
+
"@capacitor/android": "^6.0.0",
|
|
53
|
+
"@capacitor/cli": "^6.0.0",
|
|
53
54
|
"@capacitor/docgen": "^0.2.2",
|
|
54
|
-
"@capacitor/ios": "^
|
|
55
|
+
"@capacitor/ios": "^6.0.0",
|
|
55
56
|
"@ionic/eslint-config": "0.4.0",
|
|
56
57
|
"@ionic/prettier-config": "^4.0.0",
|
|
57
58
|
"@ionic/swiftlint-config": "^1.1.2",
|
|
@@ -64,7 +65,7 @@
|
|
|
64
65
|
"typescript": "~5.4.2"
|
|
65
66
|
},
|
|
66
67
|
"peerDependencies": {
|
|
67
|
-
"@capacitor/core": "^
|
|
68
|
+
"@capacitor/core": "^6.0.0"
|
|
68
69
|
},
|
|
69
70
|
"swiftlint": "@ionic/swiftlint-config",
|
|
70
71
|
"eslintConfig": {
|