xamarinbluetooth-lowenergycore-bluetoothios13cbcentralmanager

CBCentralManager's retrievePeripherals(withIdentifiers:) not yielding CBPeripherals under iOS13?


I was wondering if anyone ran into the same problem under iOS 13 that the call to CBCentralManager retrievePeripherals(withIdentifiers:) returns 'null' although there is a ble device paired with the system?

This seems to be a specific problem in combination with iOS13 since if I'm testing the very same code under iOS 12, I'm getting the paired devices as expected.

I already had a look at apple's core bluetooth documentation today where, however, i could not find possible deviations which might have arised with iOS 13.

Any information is greatly appreciated!


Solution

  • Basically the issue was related to the fact, that the BLE stack was not ready when i tried to initialize the device (see here).