#wilcalaf
1 messages · Page 1 of 1 (latest)
👋 happy to help
hey thanks - so im trying to differentiate between a physical reader and a tap to pay since i need to support both
is COTS_DEVICE the device type im looking for?
wilcalaf-account-support
like if its COTS_DEVICE is tap to pay - everything else is reader
wilcalaf
In what step are you looking for this exactly?
Im looking at the Connect to reader step in the manual
however in my app i need to support both regular phisical card readers and alsl tap to pay
so i need to differentiate them on the callbacks
i looked at the DeviceType but it is not clear which one is the correct
it seems to be DeviceType.COTS_DEVICE but cant say for sure
Could you please share the list of readers that you receive in onUpdateDiscoveredReaders?
How to share it?
Can you print out the IDs and send the text of that list here?
[com.stripe.stripeterminal.external.models.Reader@7352aa6]
I just want to know if theres a way to know if the "Reader" Object is tap to pay or just another type of reader
to show the user if the current "reader" is actually a phisical one or just tap to pay
since when connecting to a reader or to tap to pay you will always get an object of type "Reader" regardlress
Ah gotcha, apologies the server got bery busy so it has been taking me a bit to catch up. Looking in to that and will get back to you.
i think the answer is if Reader.deviceType == DeviceType.COTS_DEVICE - but i cant say for sure since it doesnt seem documented and im on the simulated version
It is looking like that is the way to check for me as well but I am having trouble confirming. I will double check with my colleagues and get back to you