Skip to content

Android App crashes in Release mode with com.android.application version >= 8 #1909

@lokus1980

Description

@lokus1980

Hello,

As the title suggests, this Stripe library does not work on any of my Android phones (for example, the Pixel 6 with Android 14).

Detailed log from the crash in Release build: crash.log

I have tested on multiple phones with Android 10 and Android 14. It always works in Debug mode but crashes instantly in Release mode. Please help.

Flutter: 3.24.1 (latest version)
flutter_stripe: 11.0.0 (latest version)

Also, I have done every single installation step as described here:
https://pub.dev/packages/flutter_stripe

That's the piece of code that shows the payment sheet:
payment sheet

Video from Debug build (works):
https://github.com/user-attachments/assets/ef3eba99-6180-4f5a-8a09-0933f76e5641

Video from Release build (crashes):
https://github.com/user-attachments/assets/bc5daedd-4ef3-4fcf-9116-17815776cddc

This blocks me from releasing the app to production as the payment feature is the core functionality here. The only thing I need for my MVP is to allow customers to pay by card. Nothing else is required at this stage and even this scenario does not work. And I don't want to publish a Debug version to production...

Please help. I have invested lots of time integrating Stripe with my backend but it's not usable end to end as the mobile app (currently my only API client) is not working at all. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AndroidIssue related to Android native bindings

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions