Skip to content
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

Issue connecting to reader #789

Closed
thelight413 opened this issue Aug 19, 2024 · 7 comments
Closed

Issue connecting to reader #789

thelight413 opened this issue Aug 19, 2024 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@thelight413
Copy link

Describe the bug
On a first install of the app(example-app), the app doesn't connect to the reader. It just errors out eventually with "Timed out waiting for connection token. But it does work if I reopen the app.
To Reproduce
Steps to reproduce the behavior:

  1. run example-app
  2. accept the permissions
  3. wait for the sdk to initialize
  4. click on discover readers
  5. pick a reader
  6. Wait till the error pops up.

Expected behavior
The reader should connect. It seems like the sdk/app doesn't attempt at getting a connection token at all so it can't connect to the reader.

Screenshots
If applicable, add screenshots to help explain your problem.

Stripe Terminal React Native SDK version

  • ^0.0.1-beta.20`
  • this issue does not happen on ^0.0.1-beta.19`

Smartphone (please complete the following information):

  • Device: Pixel 6a or a Android Tablet
  • OS: Android
  • Browser [e.g. stock browser, safari]
  • Version 13/14

Additional context
Add any other context about the problem here.

@danmofo
Copy link

danmofo commented Aug 27, 2024

I'm experiencing the same issue. Reader failing to connect after initially installing the app, then working after re-opening. Downgrading to 0.0.1-beta.19 fixes the issue, and it seems they are aware of it.

@tzecheng
Copy link

tzecheng commented Sep 9, 2024

Hi,

When we downgraded to 0.0.1-beta.19 , we saw a similar problem (I don't know whether it is related or not).

  1. Build app
  2. Fresh install of app (if app exists, delete it first)
  3. Go to Tap to Pay button
  4. Android - it shows a spinner at the Tap to Pay button; need to terminate app to use
  5. iOS - similar, but it returns to the Tap to Pay button after a few minutes, after which it can be used

We are reluctant to release this version as new users will think the app is not working.

Any ideas?

@nazli-stripe
Copy link
Collaborator

beta.21 was just released and should address this issue. Can you give it a try and let us know?

@nazli-stripe nazli-stripe self-assigned this Sep 14, 2024
@nazli-stripe nazli-stripe added the bug Something isn't working label Sep 14, 2024
@maestrodrew
Copy link

I updated to 0.0.1-beta.21 and tested on iOS 18 and Android 11 and everything works as expected.

@nazli-stripe
Copy link
Collaborator

@tzecheng are you still running into issues on the latest release?

@tzecheng
Copy link

@tzecheng are you still running into issues on the latest release?

Hi @nazli-stripe , will be testing in the next few days.

@tzecheng
Copy link

@tzecheng are you still running into issues on the latest release?

Hi @nazli-stripe , will be testing in the next few days.

Hi @nazli-stripe ,
Have upgraded to 0.0.1-beta.22. Tested on iOS 17.6.1 and Android 12. The problem reported earlier on Android spinner and iOS delay is no longer there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants