paypal / paypal-here-sdk-ios-distribution

Add credit card (tap, insert, swipe & key-in) capabilities to your iOS app
Other
81 stars 91 forks source link

Re-connect to Bluetooth Card reader #370

Open danilkurkin1 opened 2 years ago

danilkurkin1 commented 2 years ago

Coming across the issue where I am trying to reconnect to bluetooth device.

Scenario as follows ->

1) Start the app and successfully connecting to PayPalReader (PPR) 2) Disabling bluetooth and getting into routine to reconnect 3) Enabling Bluetooth and app successfully reconnects to PPR by using ScanAndAutoConnectToBluetoothReader 4) Disabling bluetooth and getting into routine to reconnect 5) Enabling Bluetooth 6) Getting PayPalInterface.OnConnectionComplete error: DEVICE_UNAVAILABLE

from this point I cannot reconnect to reader whatever I do: SearchAndConnect, ConnectToLastActiveReader, SearchAndConnect

when doing SearchAndConnect I am getting list of available devices including PPR, but when select for connecting getting an error - "Sorry, we could't find any available card readers"

Any advice on that?

EarthyOrange commented 2 years ago

@danilkurkin1 Which SDK version is your app on?