juliansteenbakker / flutter_ble_peripheral

A Flutter package for advertising BLE data in peripheral mode
BSD 3-Clause "New" or "Revised" License
72 stars 50 forks source link

Background advertising #97

Open HaniMontana opened 1 year ago

HaniMontana commented 1 year ago

Hello,

my target is to advertise with the smartphone while the display is switched off. This should work for iOS and Android. I think for Android it is already somehow working, but for iOS I was not able to go into background mode. What I tried till now is to modify for iOS the info.plist. I added UIBackgroundModes and the the value bluetooth-peripheral. It doesnt worked. Do you have any idea how I can realize this or what could be the issue?

Thank you!

isaacfi commented 1 year ago

Hi @HaniMontana,

I'm interested in this functionality too, but I'm new in iOS development. I found this post, you may catch an idea: iOS Background Bluetooth: BLE scanning when iPhone is locked

Riz-waan commented 1 year ago

Hi! Is there any update to this?