Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
Thanks for your reply Quinn!Yes, I was able to isolate the issue to a small app. Upon more troubleshooting, it appears that in iOS13.2 and on, some Core Bluetooth behavior changed. The presence of CBCentralManager CBCentralManagerOptionRestoreIdentifierKey launches the app before the user unlocks their phone with a passcode for the first time after a reboot. Because of this, all data (keychain, UserDefaults, etc) is unavailable.I have filed FB7447530 with the sample app, and a lot more info. Not sure if it's a bug or expected behavior, but I think bug because launching the app before first unlock can cause a lot of issues if the data that the app depends on is not available. And we've never seen this behavior where the app launches before first unlock in any of the previous iOS versions we have been using (all the way from iOS10). Also, iBeacons does not wake up the app before first unlock, and seem to properly wait until user unlocks the phone for the first time.Thanks again!