PurpleSoftSrl / sumup_flutter_plugin

A Flutter wrapper to use the SumUp SDK. With this plugin, your app can easily connect to a SumUp terminal, login and accept card payments on Android and iOS.
https://www.purplesoft.io
MIT License
16 stars 17 forks source link

How to keep sumup reader alive as it times out even with prepareforcheckout? #50

Open mrgithub opened 8 months ago

mrgithub commented 8 months ago

Prepareforcheckout doesn't stop the sumup reader going to sleep. How to change the timeout or monitor for connection changes?

sstasi95 commented 8 months ago

Hi, prepareForCheckout should be called just before calling checkout to speed up the checkout process. There is no way to monitor the connection as far as I know, you can open an issue on SumUp's repos to request the feature if you need it. iOS repo, Android repo