diff --git a/README.md b/README.md index 89b36b8c..95e1b573 100644 --- a/README.md +++ b/README.md @@ -3,16 +3,20 @@ [![Adyen Android](https://img.shields.io/badge/android-v5.6.0-brightgreen.svg)](https://github.com/Adyen/adyen-android/releases/tag/5.6.0) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=Adyen_adyen-react-native&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=Adyen_adyen-react-native) -> [!WARNING] +> [!ATTENTION] > Google will introduce new [target API level requirements for Google Play apps](https://support.google.com/googleplay/android-developer/answer/11926878?hl=en) starting August 31 2024. > -> For React-Native **73+** -> * use version 2.1.1 +> For React-Native **73+** no action needed. > > For React-Native **before 73**: -> * update Android compileTarget to 34 -> * set android plugin version to at least 8.1+ -> * use version 2.1.0 +> * update Android compileTarget to 34 in `android/build.gradle` +> * set `classpath("com.android.tools.build:gradle:8.1.4")` in `android/build.gradle` +> * enable `buildConfig` in `android/app/build.gradle` by adding `android.buildFeatures.buildConfig = true` +> +> For React-Native **before 72**: +> * update Android compileTarget to 34 in `android/build.gradle` + + ![React Native Logo](https://user-images.githubusercontent.com/2648655/198584674-f0c46e71-1c21-409f-857e-77acaa4daae0.png)