From 48ea6867a96bd16dc7aed9af5a8e9ce12a487c22 Mon Sep 17 00:00:00 2001 From: Alan Lee Date: Wed, 20 Nov 2024 11:06:31 -0800 Subject: [PATCH] update targetSdk to 35 (#47738) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47738 - updating targetSdk to 35 for RN Android and helloworld - **Note:** `tagetSdk` of RN Android does not have effect on the app's targetSdk. App can set `targetSdk` regardless of what RN targetSdk is. Updating the targetSdk just signals that RN Android has been tested with targetSdk 35 and apps can choose to support lower targetSdk as needed. Changelog: [Android][Changed] updating targetSdk to 35 (apps can still choose their own targetSdk regardless of RN version) Reviewed By: NickGerleman Differential Revision: D66209381 fbshipit-source-id: 2f26e8f605a383ff662e4b1d65611f186a7d7979 --- packages/helloworld/android/build.gradle | 2 +- packages/react-native/ReactAndroid/src/main/AndroidManifest.xml | 2 +- packages/react-native/gradle/libs.versions.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/helloworld/android/build.gradle b/packages/helloworld/android/build.gradle index 45ad5c70a1a..8e60949acf7 100644 --- a/packages/helloworld/android/build.gradle +++ b/packages/helloworld/android/build.gradle @@ -10,7 +10,7 @@ buildscript { buildToolsVersion = "35.0.0" minSdkVersion = 24 compileSdkVersion = 35 - targetSdkVersion = 34 + targetSdkVersion = 35 ndkVersion = "27.1.12297006" kotlinVersion = "2.0.21" } diff --git a/packages/react-native/ReactAndroid/src/main/AndroidManifest.xml b/packages/react-native/ReactAndroid/src/main/AndroidManifest.xml index 59ba29b570b..ed0ad2690d0 100644 --- a/packages/react-native/ReactAndroid/src/main/AndroidManifest.xml +++ b/packages/react-native/ReactAndroid/src/main/AndroidManifest.xml @@ -9,7 +9,7 @@ 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 c8180987c16..86682f63e91 100644 --- a/packages/react-native/gradle/libs.versions.toml +++ b/packages/react-native/gradle/libs.versions.toml @@ -1,7 +1,7 @@ [versions] # Android versions minSdk = "24" -targetSdk = "34" +targetSdk = "35" compileSdk = "35" buildTools = "35.0.0" ndkVersion = "27.1.12297006"