Skip to content

Commit

Permalink
android: bump API level to 24, aka Android 7
Browse files Browse the repository at this point in the history
We have already de-facto done it since some of the code after the
migration to UP requires API level 24.
  • Loading branch information
saghul committed May 1, 2023
1 parent be1ef90 commit 4f837d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Documentation/AndroidInstallation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Starting with React Native 0.60 due to a new auto linking feature you no longer

See a sample app in the `examples/GumTestApp` directory.

**IMPORTANT:** Android API level >= 24 are supported.

## Declaring Permissions

In `android/app/src/main/AndroidManifest.xml` add the following permissions before the `<application>` section.
Expand Down
6 changes: 3 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ def safeExtGet(prop, fallback) {
}

android {
compileSdkVersion safeExtGet('compileSdkVersion', 23)
compileSdkVersion safeExtGet('compileSdkVersion', 24)
buildToolsVersion safeExtGet('buildToolsVersion', "23.0.1")

defaultConfig {
minSdkVersion safeExtGet('minSdkVersion', 19)
targetSdkVersion safeExtGet('targetSdkVersion', 23)
minSdkVersion safeExtGet('minSdkVersion', 24)
targetSdkVersion safeExtGet('targetSdkVersion', 24)
versionCode 1
versionName "1.0"
}
Expand Down

0 comments on commit 4f837d0

Please sign in to comment.