Skip to content

Commit 99ed6aa

Browse files
authored
docs: update readme with additional information (#10)
1 parent 59d9fc5 commit 99ed6aa

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ npx cap sync
1111

1212
#### Android
1313

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+
1422
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.
1523

1624
```gradle
@@ -33,6 +41,10 @@ allprojects {
3341
}
3442
```
3543

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+
3648
---
3749

3850
## API

plugin/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ npx cap sync
1111

1212
#### Android
1313

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+
1422
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.
1523

1624
```gradle
@@ -33,6 +41,10 @@ allprojects {
3341
}
3442
```
3543

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+
3648
---
3749

3850
## API

0 commit comments

Comments
 (0)