terminal-js
terminal-js copied to clipboard
Turned off reader still appears online after few minutes
Summary
Version : @stripe/terminal-js@^0.10.1 Reader: WisePOS E (Version 2.8.4.0) Browser : Google chrome
I’m currently working on a stripe terminal integration (BBPOS WisePOS E // javascript - react - react native). I’m encountering some connectivity issues with the terminal.
When I start a new discovery, my paired reader appears online
. Then, when I turn off my device, it still appears online
on my application for a few minutes.
The method onUnexpectedReaderDisconnect
(https://stripe.com/docs/terminal/payments/connect-reader?terminal-sdk-platform=js&reader-type=internet#handling-disconnects) is only called after long minutes and the device’s status is then updated.
Is this normal? Is there a way I can have access to my reader’s status faster?
Other information
onUnexpectedReaderDisconnect
should update every minute, is that not your experience? At the moment there isn't a faster way of accessing reader status through the SDK.
Hey @nazli-stripe, thanks for those details. For now, my reader is disconnecting after approximately 1min30 to 2min.