sumup / sumup-android-sdk

Sample App for the SumUp Android SDK
Other
105 stars 28 forks source link

API to Connect to Certain Reader #78

Open legolas108 opened 5 years ago

legolas108 commented 5 years ago

The only issue left with our SumUp integration is that the tablet loses the Bluetooth connection to the reader sporadically. To quickly re-connect in such cases it would be very helpful to have an API that allows to connect to a certain reader identified by its serial number.

Can this be made available, please?

Thanks for considering! Ole

JullianSU commented 5 years ago

Hi Legolas108,

Thank you for your message. Did you implement the prepareForCheckout option https://github.com/sumup/sumup-android-sdk#3-prepare-the-sumup-card-terminal-in-advance

This feature can help you to reconnect before the normal step during the checkout process.

Many thanks,

rasson commented 5 years ago

Hi All

We find the prepare for checkout really helps - but there are times where the card reader (following a successful transaction) gets a bluetooth connection stuck (the bluetooth Icon remains on the card reader screen) - when that happens the prepare for checkout doesn't help as the reader is still pre-occupied with the previous transaction.

Did anyone find a workaround to this issue?

legolas108 commented 5 years ago

@JullianSU Thanks much for your good advice. Yes, we have implemented the prepareForCheckout call, but it doesn't allow to connect to a specific reader. All you can do is ask for resetting the Bluetooth configuration by calling clearCardTerminalSettings(), but afaik you cannot even trigger the Bluetooth reader scanning process from the API except by initiating a new transaction.

For a complete, automatic reset of a connection to a certain reader it would be very helpful to have a call available that allows to connect to a specific reader identified by its serial number. It saves the checkout staff from spending time and hassle going through the scanning and re-connecting process because it's not always connecting smoothly.

Thanks for considering!

@rasson We haven't had your problem (yet). Sometimes the only thing that gets things working again (especially with Bluetooth issues) is a complete reboot of POS computer and tablet. Fortunately that takes only a minute.

PiotrWicher commented 5 years ago

Having the possibility to connect to certain reader is very vital. Hope this will be added soon.

rasson commented 5 years ago

Apparently there's a new release due in 2 weeks, hopefully that will clear up the last of the bluetooth connection issues

refeele commented 5 years ago

Any updates on this? As @PiotrWicher said it's a critical feature that we need :(

refeele commented 5 years ago

Digging a bit on the aar file... there is a class file that caught my attention "AirUsbDiscoveryController.class" maybe you guys can dig a bit more since I'm kinda new on Android development.

GreenGI commented 4 years ago

Any news on this?

refeele commented 4 years ago

:?

bkaantan commented 3 years ago

any update about this issue?

DxTa commented 1 year ago

any update, and can I help?