Skip to content
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 monitoring stops when terminating app on Android 7 #34

Open
magnus-lpa opened this issue Apr 12, 2019 · 0 comments
Open

Background monitoring stops when terminating app on Android 7 #34

magnus-lpa opened this issue Apr 12, 2019 · 0 comments

Comments

@magnus-lpa
Copy link

I'm running the example app on a Huawei Honor 6X with Android 7.0, and monitoring works fine as long as the app is running, i.e. it is either visible or just "minimized" by pressing the home button. If I force close the app or terminate it from the recent apps list (not sure if that does the same thing as a force close?), background monitoring events fail to produce notifications.

From reading the Background monitoring section in the README, I'm under the impression that background monitoring should continue even if the app is terminated? Sadly, this is not the case on my device. And since Android can kill apps unexpectedly, this behavior kind of means that this plugin doesn't really support background monitoring in any practical sense. Normal smartphone users wouldn't expect that they need to open the app periodically to make sure it's not terminated, they expect to install the app, open it once and then never have to do anything again but still receive beacon events in the background, just like SMS or calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant