#jack-drake_code
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question. Thank you for your patience!
âąď¸ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1215049018451824670
đ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- jack-drake_api, 4 hours ago, 6 messages
hello
Hello
is there a way i can manually disconnect the reader from the app programmatically
bc if the app crashes the tablet remains connected and when the app opens it would discover readers but it cant bc sometimes it is connected and sometimes it disconnects after crash
m2 sdk android
stripe terminal
Hmm not sure I understand... mostly you want to just implement automatic reconnection for unexpected disconnects: https://docs.stripe.com/terminal/payments/connect-reader?terminal-sdk-platform=android&reader-type=bluetooth#handling-disconnects
If you attempt to discover readers and you are already connected then you are good to go, no?
If you really want to, you should be able to call disconnectReader(): https://stripe.dev/stripe-terminal-android/core/com.stripe.stripeterminal/-terminal/disconnect-reader.html
But like I said above... not really sure why you would want that
ok thank you
please allow me sometime
i am testing it rn
ill let you know if i have any questions
Yeah, I'll leave the thread open for a bit.
How is the testing going?