Closed YuraAAA closed 5 years ago
@YuraAAA, this question is really out of scope for this forum since it is about debugging a custom app. This forum is reserved for feature requests and reproducible bugs with the library itself.
If you repost your question on StackOverflow.com, I am happy to look, but please try to make it as comcise as possible.
In general, for background detection to work, you must trigger Region bootstrap in the onCreate method of your custon Application class. Please verify you do that and show clearly how that is done.
@YuraAAA, this question is really out of scope for this forum since it is about debugging a custom app. This forum is reserved for feature requests and reproducible bugs with the library itself.
If you repost your question on StackOverflow.com, I am happy to look, but please try to make it as comcise as possible.
In general, for background detection to work, you must trigger Region bootstrap in the onCreate method of your custon Application class. Please verify you do that and show clearly how that is done.
Sure, sorry for this issue) Can you please look at my question? stackoverflow
Expected behavior
Bind to consumer in foreground and work with RegionBootstrap in background
Actual behavior
Background scan doesn't start
Steps to reproduce this behavior
I want to combine background and foreground beacon detection.
Class for foreground scan
And in instance of android.app.Application:
Switch modes in onCreate inside my app class
Mobile device model and OS version
OnePlus 6 (A6000) Android 9.0 OxygenOS 9.0.2
Android Beacon Library version
2+ (2.15.2)
Logs
Logs when application starting in foreground (looks fine)
Close app (background mode?):
After reboot:
And thats all. No detections...
So, my question:
Thanks