Skip to content

Commit de2bd04

Browse files
committed
fix readme for stripe package
1 parent 8f5fe5f commit de2bd04

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

packages/stripe/README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,11 @@ This plugin requires several changes to be able to work on Android devices. Plea
5959
-dontwarn com.stripe.android.pushProvisioning.PushProvisioningActivityStarter$Error
6060
-dontwarn com.stripe.android.pushProvisioning.PushProvisioningActivityStarter
6161
-dontwarn com.stripe.android.pushProvisioning.PushProvisioningEphemeralKeyProvider
62+
# Keep Stripe classes
63+
-keep class com.stripe.** { *; }
6264
```
63-
8. Add the following line to your `gradle.properties` file: [example](https://github.com/flutter-stripe/flutter_stripe/blob/master/example/android/gradle.properties)
64-
```properties
65-
android.enableR8.fullMode=false
66-
```
67-
This will prevent crashes with the Stripe SDK on Android (see [issue](https://github.com/flutter-stripe/flutter_stripe/issues/1909)).
6865

69-
9. Rebuild the app, as the above changes don't update with hot reload
66+
8. Rebuild the app, as the above changes don't update with hot reload
7067

7168
These changes are needed because the Android Stripe SDK requires the use of the AppCompat theme for their UI components and the Support Fragment Manager for the Payment Sheets
7269

0 commit comments

Comments
 (0)