Skip to content

TapToPay disappears after go to the Home screen #880

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

Open
VonLohegramm opened this issue Jan 29, 2025 · 1 comment
Open

TapToPay disappears after go to the Home screen #880

VonLohegramm opened this issue Jan 29, 2025 · 1 comment

Comments

@VonLohegramm
Copy link

Describe the bug
On Android is possible to minimize Stripe TapToPay screen and go to Home screen, when my application is reopened, Stripe TapToPay disappears.

To Reproduce

  1. Launch TapToPay intent
  2. Press Home button and go to Home screen
  3. Reopen application
  4. Stripe TapToPay screen disappears

Expected behavior
I expect Stripe TapToPay keep running or at least, there is a way to detect when Stripe TapToPay is closed.

Stripe Terminal React Native SDK version

  • (^0.0.1-beta.23) (^0.0.1-beta.22`)

Smartphone (please complete the following information):

  • Device: Galaxy M15 5G
  • OS: Android 14
  • Browser: not applicable
  • Version: not applicable

Additional context
In iOS is not possible minimize TapToPay screen.

@brunoambrozio-acsn
Copy link

I'm facing a similar issue: when using Tap to Pay on iOS, I can't minimize or navigate back from the Tap to Pay screen unless I select the "X" option. However, on Android, I can go back using the navigation buttons and/or gestures.

I attempted to control this behavior using AppState, but when the Tap to Pay screen appears on Android, the background event is triggered—just as it happens when minimizing the app using the home button.

Has anyone found a reliable solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants