Skip to content

Commit

Permalink
document android plugin issue in readme (#1923)
Browse files Browse the repository at this point in the history
* document android plugin issue in readme

* downgrade example app android

---------

Co-authored-by: Remon <[email protected]>
  • Loading branch information
remonh87 and Remon authored Sep 18, 2024
1 parent 510a2ab commit 98484da
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion example/android/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
4 changes: 4 additions & 0 deletions packages/stripe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 98484da

Please sign in to comment.