Skip to content

Commit

Permalink
docs: update readme with additional information (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
dallastjames authored May 16, 2024
1 parent 59d9fc5 commit 99ed6aa
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ npx cap sync

#### Android

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.

```gradle
ext {
minSdkVersion = 26
}
```

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.

```gradle
Expand All @@ -33,6 +41,10 @@ allprojects {
}
```

#### iOS

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.

---

## API
Expand Down
12 changes: 12 additions & 0 deletions plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ npx cap sync

#### Android

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.

```gradle
ext {
minSdkVersion = 26
}
```

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.

```gradle
Expand All @@ -33,6 +41,10 @@ allprojects {
}
```

#### iOS

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.

---

## API
Expand Down

0 comments on commit 99ed6aa

Please sign in to comment.