From 477d8df3126b325b8cc9b410f1eaeb56b727d4d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20Lo=CC=81pez=20Man=CC=83as?= Date: Thu, 3 Jul 2025 08:01:47 -0700 Subject: [PATCH] Updated targetSdk to 36 (#52355) Summary: We need to upgrade the targetSdk to 36, which requires ensuring compatibility with the latest Android APIs and addressing any deprecations or behavior changes introduced in this version. ## Changelog: [Android] [Changed] - Updated targetSdk to 36 in Android. Pull Request resolved: https://github.com/facebook/react-native/pull/52355 Test Plan: - Verified that the app builds and runs successfully with targetSdkVersion 36. - Ran the full suite of unit and instrumentation tests: all tests passed. - Manually tested key user flows (login, navigation, data sync) on devices running Android 14 (API 34) and emulator with API 36 - Confirmed that there are no runtime crashes or warnings related to `targetSDK` upgrade. Behavioral guide for migration: https://developer.android.com/about/versions/16/behavior-changes-16 Reviewed By: fabriziocucci Differential Revision: D77728391 Pulled By: cortinico fbshipit-source-id: 3f714f900bbeecc56c0cf46c54b4e42c532c8384 --- packages/react-native/ReactAndroid/src/main/AndroidManifest.xml | 2 +- packages/react-native/gradle/libs.versions.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-native/ReactAndroid/src/main/AndroidManifest.xml b/packages/react-native/ReactAndroid/src/main/AndroidManifest.xml index ed0ad2690d0..ed881a552c0 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 2a7deed35db..f0902b7441d 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 = "35" +targetSdk = "36" compileSdk = "36" buildTools = "36.0.0" ndkVersion = "27.1.12297006"