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

Tap To Pay reader - background mode #220

Open
eugeneekus opened this issue May 2, 2023 · 7 comments
Open

Tap To Pay reader - background mode #220

eugeneekus opened this issue May 2, 2023 · 7 comments
Labels
feature Feature request

Comments

@eugeneekus
Copy link

Greetings, our users very often lock their screen so app goes to the background all the time. That means app has to reconnect terminal every time. How can we keep terminal connected in the background or at least reduce connecting time? Right now it takes around 7 seconds.

Thanks for your help!

@bric-stripe bric-stripe added the feature Feature request label May 15, 2023
@bric-stripe
Copy link
Collaborator

👋 hi, I don't have any timelines but reducing connecting time is being investigated to help here.

@eugeneekus
Copy link
Author

Perfect, thanks for your response.

👋 hi, I don't have any timelines but reducing connecting time is being investigated to help here.

@sadanand-lowanshi
Copy link

Any update on this feature @bric-stripe ?

@bric-stripe
Copy link
Collaborator

@sadanandhexalitcs It was missed in the changelogs but 2.22.0 improves reconnect times to help, but readers will still disconnect when the host application goes to the background/screen lock/etc.

@NirmitDagly
Copy link

Hi @bric-stripe Is there any update on keep the reader connected in background? Or is there any SDK delegate method can be used to re-connect the reader automatically when the app is activated from background mode?

@bric-stripe
Copy link
Collaborator

Nothing available yet but the work to enable auto-reconnect, similar to what exists for Bluetooth readers, is in-progress and should be available soon. Will update this once we're confident in the release it will be available in.

@bric-stripe
Copy link
Collaborator

Hi, the latest release, 3.4.0, added autoReconnectOnUnexpectedDisconnect and autoReconnectionDelegate on the LocalMobileConnectionConfigurationBuilder (both must be set). Enabling that will enable the SDK to attempt to reconnect when the application becomes active after being backgrounded. Please give that a try and let us know if run in to any issues with that solution.

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

No branches or pull requests

4 participants