From b7c449cc77993728ffeb65c62bf02a9a1ddfa54e Mon Sep 17 00:00:00 2001 From: Vladimir Abramichev <2648655+descorp@users.noreply.github.com> Date: Tue, 12 Nov 2024 17:21:55 +0100 Subject: [PATCH] Create Compatibility.md --- docs/Compatibility.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 docs/Compatibility.md diff --git a/docs/Compatibility.md b/docs/Compatibility.md new file mode 100644 index 00000000..7b64e60c --- /dev/null +++ b/docs/Compatibility.md @@ -0,0 +1,15 @@ +## React-Native v0.73 + +* set `kotlin` in `node_modules/@react-native/gradle-plugin/gradle/libs.versions.toml` to at least **1.9.10** +* set `apiVersion` in `node_modules/@react-native/gradle-plugin/build.gradle.kts` to at least **1.7** + +> [!NOTE] +> Google have introduced new [target API level requirements for Google Play apps](https://support.google.com/googleplay/android-developer/answer/11926878?hl=en) on August 31 2024. +> React-Native version **73** and below considered deprecated. + +## React-Native v0.72 and below + +* make sure your Java version is 17; +* update Android compileTarget to 34 in `android/build.gradle`; +* set `classpath("com.android.tools.build:gradle:8.1.4")` in `android/build.gradle`; +* enable `buildConfig` in `android/app/build.gradle` by adding `android.buildFeatures.buildConfig = true`.