-
Notifications
You must be signed in to change notification settings - Fork 28
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
Terminal getting stuck with bluetooth connection #57
Comments
Thanks for the feedback. The warning is not the issue here. Still, we agree it is unnecessary noise and it will be fixed in the next sdk version. Regarding the issue, we identified it internally. It will be part of the next SDK release as well. |
Thank you for the update! So the main issue regarding the terminal getting stuck will be fixed in the upcoming version of the SDK? |
Yep! |
And what can we do for our clients in the meantime? |
The issue typically happens if the app is killed in the middle of a transaction. (e.g. while entering the pin, or landing on the signature screen). To recover from this issue, switching off and back on the reader will be the workaround. |
It's not getting killed, but the since the SDK pushes itself on top of the main activity, the activity gets stopped. This is most likely also related to the 'sending message to a Handler on a dead thread' issue. Is there any state in your SDK that we can check to see if this has happend so that we can reset? |
The warning is there because the bt got disconnected. This is a side effect but not the source of the issue. Unfortunately, we dont provide any callback to check on that in the current implementation. |
Ok, but then tell me if you need any help from us with the update so we can speed up the process. |
Having the same issue (exception). We are working on an integration and yesterday everything worked fine. Today, the first payment worked. The second got stuck on "Checking card reader" and the terminal Bluetooth icon kept flashing. Worked after resetting terminal, but only once. The official SumUp application works fine. Any help regarding a workaround would be greatly appreciated, as this is a blocker for us. |
We aim at releasing a next version of the SDK solving this issue programmatically by end of Q3. For the moment, switching off and back on the card reader will be the workaround. |
Great, will wait for next version. Can you think of a use case, where SumUp will be used at self-service environments please!
This would be a huge win! |
@vladaman appreciate your feedback however unfortunately we do not support self-service (eg. vending machine) setups today. |
Hey @vfoixcable any news on the update? |
Hi @nuvoPoint , still aiming at end of Q3. So far, we are on track! It could happen end of next week or beginning of the one after. |
Latest version 3.1.0 seems to be working properly now. |
Thanks for the update, and sorry for the delay in that thread. |
Are we the only ones still seeing this issue? Many of our clients experience having to reset the SumUp terminal daily. |
We are having issues with the terminal getting stuck with the bluetooth connection.
We think the issue might be that when calling checkout your SDK goes in forground and stops the main activity (our app) and therefore the thread will be dead and can't get notified.
Even your sample app has the same issue.
This stackoverflow question outlines the problem, along with a potential answer:
https://stackoverflow.com/questions/8040280/how-to-handle-handler-messages-when-activity-fragment-is-paused
The text was updated successfully, but these errors were encountered: