From 98484da401a965bfdd5fa21accdcf8bff62cd5bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mon?= Date: Wed, 18 Sep 2024 17:53:46 +0100 Subject: [PATCH] document android plugin issue in readme (#1923) * document android plugin issue in readme * downgrade example app android --------- Co-authored-by: Remon --- README.md | 4 ++++ example/android/settings.gradle | 2 +- packages/stripe/README.md | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 10b84ae9..83314087 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,10 @@ These changes are needed because the Android Stripe SDK requires the use of the If you are having troubles to make this package to work on Android, join [this discussion](https://github.com/flutter-stripe/flutter_stripe/discussions/538) to get some support. +##### Issue with latest Android plugin + +We are aware of an issue with `com.android.application` plugin version 8.0.0 and above. Do not upgrade to this version as it can crash the payment sheet in release builds. See [issue](https://github.com/flutter-stripe/flutter_stripe/issues/1909) to follow the progress. + #### iOS Compatible with apps targeting iOS 13 or above. diff --git a/example/android/settings.gradle b/example/android/settings.gradle index 8e11cefd..151528c4 100644 --- a/example/android/settings.gradle +++ b/example/android/settings.gradle @@ -18,7 +18,7 @@ pluginManagement { plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" - id "com.android.application" version "8.5.1" apply false + id "com.android.application" version "7.3.0" apply false id "org.jetbrains.kotlin.android" version "1.8.10" apply false } diff --git a/packages/stripe/README.md b/packages/stripe/README.md index 10b84ae9..83314087 100644 --- a/packages/stripe/README.md +++ b/packages/stripe/README.md @@ -66,6 +66,10 @@ These changes are needed because the Android Stripe SDK requires the use of the If you are having troubles to make this package to work on Android, join [this discussion](https://github.com/flutter-stripe/flutter_stripe/discussions/538) to get some support. +##### Issue with latest Android plugin + +We are aware of an issue with `com.android.application` plugin version 8.0.0 and above. Do not upgrade to this version as it can crash the payment sheet in release builds. See [issue](https://github.com/flutter-stripe/flutter_stripe/issues/1909) to follow the progress. + #### iOS Compatible with apps targeting iOS 13 or above.