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 check if card reader is connected from flutter app? #52

Open mrgithub opened 7 months ago

mrgithub commented 7 months ago

Sometimes the card reader disconnects due to power, inactivity etc. Can I automatically scan for the card reader and connect without user interaction?

I want to display a page if it can't find the card reader so it prompts user to go through reconnection process.

sstasi95 commented 5 months ago

Hi, I'm afraid that it's not possible. The only way is to call Sumup.openSettings(), which required user interaction.