-
Notifications
You must be signed in to change notification settings - Fork 103
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
Background mode every whatever minute #130
Comments
Update: Want to share a bit of trick here. But the issue I'm having was slightly different. |
@hoongoon86 Hi, thanks for sharing this, sorry for not being of much help here. I think BLE scanning will work in the background, but I don't think you can control how often the scan is performed/the app wakes up. Perhaps there are other background tasks/services that could be added to the app to wake the app up? |
@mikaelkindborg Hi, thanks for your comment. So far, I could make BG work for about 36 hours. Of course it consumes energy from both phone and the device but it was a good experiment. |
@hoongoon86 I will keep my eyes open for solutions and ideas! |
Hi,
I know it's not an issue of this plugin.
Actually, this plugin works great on iOS background mode.(Tested on iPhone 5, iOS 9.3)
When the app goes on background, BLE can scan, connect, and read / write.
What I want to do is to run BLE on background every ~ minutes. (like 5m, 10m, etc)
Since I'm using cordova / phonegap, I was trying to implement simple javascript timer and local notification but none of these can wake up the app and run BLE.
Does anyone have an idea how to make this happen?
Thank you!
The text was updated successfully, but these errors were encountered: