I'm wondering if there is any workaround that would allow the iOS device to scan via Bluetooth even when the screen is locked. Any advice or suggestions would be greatly appreciated.
I have been able to successfully scan and advertise on the iPhone when the app is in the foreground or background. However, I'm facing an issue where the scanning stops as soon as the screen is locked.
PS. I am not going to connect with any other devices but just want to scan and get the beacon of neighbor devices.