Google Play requires new Android phone and tablet app submissions and updates to target Android 16 (API level 36) or higher. See Google Play's target API level requirement. This is set by the consuming application, not this library; configure the Android app that consumes @adyen/react-native with:
buildscript {
ext {
compileSdkVersion = 36
targetSdkVersion = 36
}
}- set
kotlininnode_modules/@react-native/gradle-plugin/gradle/libs.versions.tomlto at least 1.9.10 - set
apiVersioninnode_modules/@react-native/gradle-plugin/build.gradle.ktsto at least 1.7
Note
React-Native version 73 and below are considered deprecated.
- 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")inandroid/build.gradle; - enable
buildConfiginandroid/app/build.gradleby addingandroid.buildFeatures.buildConfig = true.