#cory-terminal-update
1 messages · Page 1 of 1 (latest)
I also would like to know Terminal.shared.simulatorConfiguration.availableReaderUpdate where to set this in the process . On app initialization , on discovery or on connecting . This is in order to test it
cory-terminal-update
I'm looking into this but will take some time (sorry lots of people in parallel asking questions)
Yes please happy to wait
Hi 👋
I'm jumping in to offer some info:
- Required updates occur once a reader is connected so this is after discovery stops. We cover it here: https://stripe.com/docs/terminal/payments/connect-reader?terminal-sdk-platform=ios&reader-type=bluetooth#update-reader
Required updates start installing on connection to the reader and must complete before the reader can be used.
-
The
simulatedConfiguration.availableReaderUpdateenum is designed specifically to allow you to test for these scenarios. We document this part of the iOS SDK here: https://stripe.dev/stripe-terminal-ios/docs/Classes/SCPSimulatorConfiguration.html#/c:objc(cs)SCPSimulatorConfiguration(py)availableReaderUpdate -
All available enum values are documented here: https://stripe.dev/stripe-terminal-ios/docs/Enums/SCPSimulateReaderUpdate.html
So, to answer your question directly, yes you would use the simulatedConfirmation.availabeReaderUpdate to simulate different update scenarios on connection to the reader
@sage moth ^ did this help?
I tend to disagree that required updates happen post connecting to the reader . The problem here is I am unable to connect to the reader because it needs a required update
Can you explain what the problem is? Why are you unable to connect? what's your exact code and which exact error do you get?