developermypos / myPOS-SDK-Android

myPOS SDK Android enabling to integrate Apps with myPOS Card Terminals for Card Payments processing
49 stars 22 forks source link

Make connect dialog optional #19

Closed rbedemann closed 1 year ago

rbedemann commented 2 years ago

Hi,

when calling the connect method to connect a bluetooth device, there's always a dialog being shown. Would it be possible to make this optional? Especially when using public void connectDevice(Context context, String deviceSN) it doesn't really make sense, as the device to connect with is already specified via Serial number.

In our case it would probably confuse the user, as the dialog is not properly integrated in the entire UX and also in a different language.

Thanks in advance!

StiliyanKovachev commented 2 years ago

Hi,

in the new version you can pass BluetoothDevice as parameter to public void connectDevice(Context context, BluetoothDevice bluetoothDevice) method. It will be available soon

rbedemann commented 2 years ago

Great news! Thanks for the update!

StiliyanKovachev commented 1 year ago

version 'com.mypos:slavesdk:2.1.1' is live now. Please update

rbedemann commented 1 year ago

Thanks for releasing the new version! Unfortunately I still see the old method signature...

Screenshot 2022-09-30 at 11 56 12

StiliyanKovachev commented 1 year ago

Sorry, something went wrong with the publishing. I released a new version 2.1.2. it will be available up to several days

StiliyanKovachev commented 1 year ago

it is live now