ios-nearby icon indicating copy to clipboard operation
ios-nearby copied to clipboard

iOS11 background mode not working after 3mins running in background

Open vsyw opened this issue 6 years ago • 1 comments

Hi, I ran the sample code on a iPhoneX and a iPhone6S, both running on iOS11, it worked fine on foreground, but both devices couldn't be detected after entering background mode for 3 minutes, is this the expected behavior?

vsyw avatar Jul 12 '18 13:07 vsyw

It will work in BLE ONLY mode.

"Background operations must use the BLE medium only; audio is not supported. There is an added battery cost for background BLE. The cost is low, but you should measure it before deciding to use background mode. iOS will ask the user for permission to advertise via BLE in the background."

ritesh124 avatar Oct 03 '18 12:10 ritesh124