#zish - Terminal Connection Tokens

1 messages · Page 1 of 1 (latest)

agile sky
#

Hi 👋

#

Let me take a look at that.

tribal pasture
#

Hi there!

#

Awesome! Thanks!

agile sky
#

The Connection Token is used to authenticate the Android POS with the reader. If the token is expired it will trigger the TokenProvider to retrieve a new one.

#

So you are disconnected briefly but if properly implemented the recovery should be graceful and not noticeable.

tribal pasture
#

Oh gotcha! So if disconnected - I should probably handle it the same I would handle onUnexpectedDisconnect where I could reconnect to it?

agile sky
#

zish - Terminal Connection Tokens

tribal pasture
#

Do I need to go through the find all available readers step or is that not necessary during this circumstance?

#

And the circumstance where onUnexpectedDisconnect? I imagine the latter is not necessary

agile sky
#

Exactly, it should gracefully handle brief disconnections without requiring the reader discovery process

tribal pasture
#

Sorry for the dumb question haha, but by it do you mean the code from Stripe or my implementation?

#

^code built into the reader

agile sky
tribal pasture
#

I could just check the connection status during those instances - and if it's not connected but I have a reader they've picked I could reconnect to it

#

Awesome! This is perfect!

#

Thanks for your help!!