From de297438e31e8e89e6d20e0d7958d0ccc1c3f97a Mon Sep 17 00:00:00 2001 From: David Vacca Date: Tue, 26 Sep 2023 13:37:14 -0700 Subject: [PATCH] Bump minSdk to 23 in RN OSS (#38874) Summary: In this diff I'm increasing the minSdk of RN Android to 23 to keep it in sync with Meta min sdk changelog: [Android][Breaking] Increase min sdk version of RN Android to 23 Reviewed By: fkgozali, NickGerleman Differential Revision: D48177965 --- packages/react-native/ReactAndroid/src/main/AndroidManifest.xml | 2 +- packages/react-native/gradle/libs.versions.toml | 2 +- packages/react-native/template/android/build.gradle | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/react-native/ReactAndroid/src/main/AndroidManifest.xml b/packages/react-native/ReactAndroid/src/main/AndroidManifest.xml index e05503658c7801..fe6accdb8b4dc8 100644 --- a/packages/react-native/ReactAndroid/src/main/AndroidManifest.xml +++ b/packages/react-native/ReactAndroid/src/main/AndroidManifest.xml @@ -8,7 +8,7 @@ up from the file to lint until it find an AndroidManifest with a minSdkVersion. This is then used as the min SDK to lint the file.--> diff --git a/packages/react-native/gradle/libs.versions.toml b/packages/react-native/gradle/libs.versions.toml index 85876f065cda7b..775f8cf73fc244 100644 --- a/packages/react-native/gradle/libs.versions.toml +++ b/packages/react-native/gradle/libs.versions.toml @@ -1,6 +1,6 @@ [versions] # Android versions -minSdk = "21" +minSdk = "23" targetSdk = "34" compileSdk = "34" buildTools = "34.0.0" diff --git a/packages/react-native/template/android/build.gradle b/packages/react-native/template/android/build.gradle index 7e6117e3ab46d5..fec62eed5d116b 100644 --- a/packages/react-native/template/android/build.gradle +++ b/packages/react-native/template/android/build.gradle @@ -3,7 +3,7 @@ buildscript { ext { buildToolsVersion = "34.0.0" - minSdkVersion = 21 + minSdkVersion = 23 compileSdkVersion = 34 targetSdkVersion = 34 ndkVersion = "25.1.8937393"