1

I have confusion Currently I am working on React native project based on React Native v 0.73.9 Now that starting from August 31 2025: New apps and app updates must target Android 15 (API level 35) or higher to be submitted to Google Play. Do i need to upgrade my react native project to higher version?

asked Aug 25 at 10:10
2
  • Not necessarily. You can update your targetSDKVersion and compileSdkVersion to 35. This may require a gradle plugin update. Commented Aug 25 at 11:41
  • CompileSDK is not needed Commented Aug 25 at 14:30

2 Answers 2

1

you can change the targetSdkVersion within android/build.gradle to 35:

android {
 ndkVersion rootProject.ext.ndkVersion
 buildToolsVersion rootProject.ext.buildToolsVersion
 compileSdk rootProject.ext.compileSdkVersion
 namespace "com.rndiffapp"
 defaultConfig {
 applicationId "com.rndiffapp"
 minSdkVersion rootProject.ext.minSdkVersion
 targetSdkVersion 35
 versionCode 1
 versionName "1.0"
 }
 signingConfigs {
 debug {
 storeFile file('debug.keystore')
 storePassword 'android'
 keyAlias 'androiddebugkey'
 keyPassword 'android'
 }
 }
 buildTypes {
 debug {
 signingConfig signingConfigs.debug
 }
 release {
 // Caution! In production, you need to generate your own keystore file.
 // see https://reactnative.dev/docs/signed-apk-android.
 signingConfig signingConfigs.debug
 minifyEnabled enableProguardInReleaseBuilds
 proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
 }
 }
}

This is sufficient to meet the requirements.

answered Aug 25 at 11:57
Sign up to request clarification or add additional context in comments.

Comments

0

Yes, you just have to change

targetSdkVersion 35

For me I have expo app with expo sdk 49 and react native 0.72.6

I have spent a lot of time to upgrade; finally, what worked for me is just to upgrade targetSdkVersion from 34 to 35, and my app works fine.

Here is my build.gradle file on a project level:

 ext {
 buildToolsVersion = findProperty('android.buildToolsVersion') ?: '34.0.0'
 minSdkVersion = Integer.parseInt(findProperty('android.minSdkVersion') ?: '24')
 compileSdkVersion = Integer.parseInt(findProperty('android.compileSdkVersion') ?: '34')
 targetSdkVersion = Integer.parseInt(findProperty('android.targetSdkVersion') ?: '35')
 kotlinVersion = findProperty('android.kotlinVersion') ?: '1.8.22'
 frescoVersion = findProperty('expo.frescoVersion') ?: '2.5.0'
 ndkVersion = "23.1.7779620"
 }
Jeremy Caney
7,799113 gold badges57 silver badges86 bronze badges
answered Sep 30 at 6:34

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.