@capacitor/barcode-scanner 1.0.1-dev-20240516T195948.0 → 1.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 +12 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -11,6 +11,14 @@ npx cap sync
|
|
|
11
11
|
|
|
12
12
|
#### Android
|
|
13
13
|
|
|
14
|
+
The barcode scanner plugin requires a minimum Android SDK target of 26. This is higher than the default that comes with your Capacitor application. You can update this value in your `android/variables.gradle` file.
|
|
15
|
+
|
|
16
|
+
```gradle
|
|
17
|
+
ext {
|
|
18
|
+
minSdkVersion = 26
|
|
19
|
+
}
|
|
20
|
+
```
|
|
21
|
+
|
|
14
22
|
You will need to modify the `allprojects > repositories` section in your `android/build.gradle` file to include the Outsystems repository. Your `android/build.gradle` file should look similar to this after adding the repository.
|
|
15
23
|
|
|
16
24
|
```gradle
|
|
@@ -33,6 +41,10 @@ allprojects {
|
|
|
33
41
|
}
|
|
34
42
|
```
|
|
35
43
|
|
|
44
|
+
#### iOS
|
|
45
|
+
|
|
46
|
+
The barcode scanner uses the camera on the device. Ensure you configure the Privacy - Camera Usage Description in your Info.plist file so that your application can access the device's camera.
|
|
47
|
+
|
|
36
48
|
---
|
|
37
49
|
|
|
38
50
|
## API
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor/barcode-scanner",
|
|
3
|
-
"version": "1.0.1
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Capacitor plugin using Outsystems Barcode libs",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"src": "android"
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "7171d448c78ac49acfb37c7edfff3538f4f2a734"
|
|
84
84
|
}
|