-
Notifications
You must be signed in to change notification settings - Fork 44
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 - iOS #37
Comments
Any advice or answer? |
Hello! For me isn't working. I got the example that has this package on pub.dev. Thank you! |
Your issue maybe related to this (i believe this package uses this beacon library!). https://altbeacon.github.io/android-beacon-library/battery_manager.html
This does not mean that detections will take that long, as low-power scans as described in the fast detections section described above will still be active. If you use case needs frequent scanning in the background, you can configure the library to use a Foreground Service. I have also noticed that this package has hardcoded two properties in BeaconHelper.kt which would be good if they were configurable.
For my use case I need to be able to monitor for beacons (a quick scan every 30 seconds) for nearby iBeacons. The beacons transmit for 1 minute. I need to do this whilst the app is both in the background and foreground. The foreground part works fine, but like above i think the background implementation may not be 100% Has anyone achieve similar with this package? |
Hi, when the app is in the background the library scans the beacons for about 15 seconds and then it stops. If I resume the app and put it in the background immediatly the library starts scanning for 15 seconds again and stops. How to increate the scanning to at least few minutes?
Here is the code I use to listen for new scanned beacons.
The text was updated successfully, but these errors were encountered: