developermypos/myPOS-SDK-Android

Make connect dialog optional

Closed this issue · 6 comments

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!

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

Great news! Thanks for the update!

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

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

Screenshot 2022-09-30 at 11 56 12

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

it is live now