#Dano - Android RN Terminal
1 messages · Page 1 of 1 (latest)
Good question, I think that that is a bug in the doc but will double check
Dano - Android RN Terminal
Hey apologies I am taking a bit. We do describe android support on our actual GitHub repo https://github.com/stripe/stripe-terminal-react-native
Looking to see if we have another getting started guide. It looks like that guide actually is supposed to have info here on RN + Termnal on android but it isn't viewable because of that bug
Take your time! I appreciate it 🙂
Is there a specific aspect of that android section that you are looking for help with? I can try to look in to that specifically as well
Also the repo that I linked to has an example app that you can try to set up and run if that will be helpful
Just looking through the repo README. One of my company's concerns is the ability to take payment when internet/signal is spotty since we operate inside shopping malls. The README says this: First, create an endpoint on your backend server that creates a new connection token via the Stripe Terminal API.
Does this mean that we'd need to connect to the internet every so often just to get the reader paired with the app? And if so, how often?
For the connection token, that is actually something your server creates. So as long as your app can reach out to your server and retry if the connection times out you should be good. We actually show this in part of the doc that you can currently see https://stripe.com/docs/terminal/payments/setup-integration?terminal-sdk-platform=react-native#connection-token
Double checking if those have some kind of expiry or something that you would need to keep in mind with that inconsistent connection
Okay, awesome! Sorry about that.
No worries at all, it is what I am here for. Not seeing an expiry here but it does look like you need a new one any time your app wants to connect/reconnect with a reader
Our docs on the M2 say that it will try to stay connected while inactive and will turn off after 10 hours of inactivity https://stripe.com/docs/terminal/payments/setup-reader/stripe-m2#power
That's great. Thank you! If I have any further questions later, is it better to continue this thread or post a new question in the dev-help channel?