stripe / stripe-terminal-ios

Stripe Terminal iOS SDK
https://stripe.com/docs/terminal/sdk/ios
Other
105 stars 65 forks source link

stop software update process of reader #247

Closed Roniy08 closed 1 year ago

Roniy08 commented 1 year ago

Summary

func reader(_ reader: Reader, didStartInstallingUpdate update: ReaderSoftwareUpdate, cancelable: Cancelable?)

iOS version

16.5.1

Installation method

pods

SDK version

2.21.0

Other information

how can I stop the update process if user don't want to update.

bric-stripe commented 1 year ago

Hi @Roniy08 -- please start with emailing support@stripe.com for general SDK usage questions.

for this specific question though you can read more in the docs here. If the update is starting when you try to connect to the reader that means the version of the software the reader is running mus be required to be installed before it can be used. So canceling the install with the cancelable will stop it installing the update but will then fail the connectBluetoothReader command.