As application developers, I LOVE it when a new version of the OS is released and things break. Don't we all love it?
We have an application that was working fine since the last time they changed how things work.
In fact it worked fine up until iOS 15.8
The application purpose is to scan for certain BLE devices in the background. When a suitable device is found it has to connect to it, exchange some data and stay connected.
We already have the bluetooth-central UIBackgroundModes string added to the plist, the NSBluetoothPeripheralUsageDescription and NSBluetoothAlwaysUsageDescription strings in place and the app store review doesn't complain.
However, after the iOS update the application stops working 10-20 seconds after going into the background, if not already connected to a device, and opening it again restarts the application instead of resume it. In debug mode, the debugger exit
I've started looking in the documentation, but i've yet to find what changed in iOS 16 and how to restore the intended app behaviour