Open pnemere opened 5 years ago
I will submit an engineering ticket to see how this can be better implemented. Currently the bluetooth disabled error is thrown after not finding any bluetooth readers since you can still auto-connect to the audio jack reader with bluetooth disabled. The auto connect is set to continuously search for the last active reader but maybe there's a timeout value that we can utilize here that will trigger an error/message to check that the reader is turned on/within range and that bluetooth is enabled.
PayPalHereSDKv2 version 2.1.0219063010
To reproduce:
Turn off bluetooth on iPad Start sample application
(I'm using a live connection with a pre-defined access key, my
initMerchant
function looks like this:Click "Get Started" Click "Live" Click "Init SDK" Click "Initialize Merchant" Click "Connect card reader" Click "Auto Connect" (3rd button)
The log after merchantInit starts busy-looping (NOTE the times! This is happening MANY times per second, non-stop: