ble.net icon indicating copy to clipboard operation
ble.net copied to clipboard

ScanforBroadcasts in Background

Open ongunsaracbasi opened this issue 6 years ago • 1 comments

I would like to have my app continue scanning for BLE peripherals in the background. I have UIBackgroundModes as bluetooth-central on info.plist. So far I couldn't get the app to continue scanning in background.

What type of parameters that I need to pass to ScanForBroadcasts so that it continues searching for BLEs even if app is in the background?

Thanks for the help

ongunsaracbasi avatar Jun 28 '18 14:06 ongunsaracbasi

Hey @ongunsaracbasi, sorry I overlooked this. It should "just work", what is the behavior you are seeing? And how are are you intending to use background mode in your app? Can you share your log output?

nexussays avatar Sep 21 '18 00:09 nexussays