Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Payment sheet does not show up in Android release build #1696

Closed
zamargab opened this issue Mar 27, 2024 · 4 comments
Closed

Payment sheet does not show up in Android release build #1696

zamargab opened this issue Mar 27, 2024 · 4 comments
Labels
needs triage Needs triage

Comments

@zamargab
Copy link

Describe the bug
I have followed all the integration guidelines for Android including the proguard-rules and i tested on debug mode and everything worked fine but on building a release APK, I noticed the Payment sheet refused to come up.

To Reproduce
Steps to reproduce the behavior:

  1. Integrated package on Android platform
  2. Create a payment and display payment sheet
  3. Build release apk

Expected behavior
Payment sheet comes up and works fine in debug mode but refused to come up in release mode

Smartphone / tablet

  • Samsung A23
  • OS: Android 14
  • Package version: 10.1.1 and 9.5.0+1
  • Flutter version 3.13.9
@zamargab zamargab added the needs triage Needs triage label Mar 27, 2024
@AditiFlutter
Copy link

i am also facing this issue u get any solution .

@AbdullahChauhan
Copy link

@zamargab @AditiFlutter
Make sure you followed all the steps for Android configuration. I'm also facing the same issue and found that I missed adding the Theme.MaterialComponents in the styles.xml file (values-night directory).

@zamargab
Copy link
Author

I copied the styles.xml in the example project and the problem persists for Android. I even tried building for IOS and the same issue exists in IOS

@AbdullahChauhan
Copy link

@zamargab
If payment sheet is not opening successfully, there has to be the configuration issue. Please check again if you've fulfilled all the steps correctly for both Android & iOS.

@flutter-stripe flutter-stripe locked and limited conversation to collaborators Apr 1, 2024
@remonh87 remonh87 converted this issue into discussion #1704 Apr 1, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
needs triage Needs triage
Projects
None yet
Development

No branches or pull requests

3 participants