Skip to content

Commit fa8c3ed

Browse files
committed
docs: update desugaring instructions in README.md
1 parent 6da0bbe commit fa8c3ed

1 file changed

Lines changed: 14 additions & 12 deletions

File tree

README.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,12 @@ To ensure compatibility with AndroidX, enable Jetifier in your `android/gradle.p
6262
android.enableJetifier=true
6363
```
6464

65-
#### Minimum SDK Requirements for Android
65+
#### Enable Core Library Desugaring
6666

67-
The `minSdkVersion` for your Android project must be set to 23 or higher in `android/app/build.gradle`:
67+
Core library desugaring **must be enabled** for your Android project, regardless of your minSdkVersion.
6868

69-
```groovy
70-
android {
71-
defaultConfig {
72-
minSdkVersion 23
73-
}
74-
}
75-
```
69+
To enable desugaring, update your `android/app/build.gradle` file:
7670

77-
If `minSdkVersion` is set to less than 34 (API 34), you need to configure desugaring for your Android app.
78-
To enable desugaring, add the following configurations to `android/app/build.gradle` file:
7971
```groovy
8072
android {
8173
...
@@ -90,7 +82,17 @@ dependencies {
9082
}
9183
```
9284

93-
You may also need to upgrade to Gradle 8.4 and the Android Gradle plugin version 8.3.0
85+
#### Minimum SDK Requirements for Android
86+
87+
The `minSdkVersion` for your Android project must be set to 23 or higher in `android/app/build.gradle`:
88+
89+
```groovy
90+
android {
91+
defaultConfig {
92+
minSdkVersion 23
93+
}
94+
}
95+
```
9496

9597
#### Set Google Maps API Key
9698

0 commit comments

Comments
 (0)