-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with advertising in Background #22
Comments
Hi @mczeti and @omergul123 ! I am also facing this challenge. Were you able to find a fix or way around this? I understand that it is likely to do with Apple's resource management however I am just wondering if there may be some other way to gain continued background processing. Also, I really appreciate your work on this Ömer, it's exactly what I need in a project I am working on. Any insight would be really appreciated! Thanks, |
Same here. |
@mczeti @connorgiles @eman6576 How come background advertising works for you? I use Discovery on iOS device and android-discovery on an android device, my android device is not able to detect iOS beacon when the iOS app running in the background. Does this scenario work for you? Please help me. I'm banging my head for 1 week. |
From my understanding, iBeacons can not broadcast once the app leaves the foreground. |
Hi Ömer!
Im using your Discovery Lib for some matching app of mine and I have to say you did a great job :)
I am facing a Problem now with the background mode though.
Not sure if this is an issue on your side (I don't think so) but maybe you have experienced the same thing and have some answers or maybe a workaround.
So the thing is:
I'm using Discovery to successfully advertise the the phone as a ble device.
I find the device when both app are active -> OK!
I find the device when one device switches to background mode -> OK!
I also find the device when i didn't have it before and get close to the other one in background mode -> OK!
so thats all really great!
The Problem start when having the app in the background for longer than about 5-10 minutes.
In this case i cannot find the peripheral device any more. It doesn't advertise anything.
I tried analyzing with a BLE analyzer and i see the device for 5-10 minutes. then its just gone. :(
It seems Apple just suspendes the App and the advertisment of the bluetooth peripheral.
I would need the app to continue sending as long as it is not completely killed.
Do you have any Idea if there is a fix the that problem.
Every Feedback is very much appreciated!!
Thx in advance
Martin
The text was updated successfully, but these errors were encountered: