Closed FeherF closed 1 year ago
Hi @FeherF,
you probably see the issue when launching your app using Xcode? The logs appear if relaunching the app and there was connection at the time of relaunch of the app. The origin of the problem is the Bluetooth State Preservation and Restoration, which was introduced in release 3.3.4. The Bluetooth State Preservation and Restoration will be removed in release 5.0.0 as it is not working properly.
The Bluetooth State Preservation and Restoration is now removed in release 5.0.0-beta2
Thank you very much!
Platform your question concerns:
Device:
I get the following error while I initialize the
api
variable:[CoreBluetooth] API MISUSE: <CBCentralManager: 0x281a001e0> can only accept this command while in the powered on state
Here's the interested block of code:
Sometimes the error doesn't even shows up, but 8 times out of 10 it will.
I'm testing on iPhone 11 with iOS 16, using polar-ble-sdk 3.3.6v. Thanks in advance!