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

Unable to Monitor beacon when app killed. #453

Open
sunil-cdn opened this issue Feb 4, 2021 · 1 comment
Open

Unable to Monitor beacon when app killed. #453

sunil-cdn opened this issue Feb 4, 2021 · 1 comment

Comments

@sunil-cdn
Copy link

  1. Expected behavior and actual behavior : Beacon monitoring not working when app killed but it should.
  2. Steps to reproduce the problem : Please kill the app and test the beacon monitoring.
  3. cordova-android version : 9.0.0
  4. cordova-plugin-ibeacon version: 3.8.1
  5. If running on a device, device model and os version. Sumsung android version:10
@enTcsv
Copy link

enTcsv commented May 31, 2021

@sunil-cdn, if I understood your issue right, the following might help:

Take a look at the Android "Activities lifecycle" if you kill the parent activity, the children ones will die too.

Putting the scanning logic and keeping it aside in a Service might fix the issue.

(see #433)

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

2 participants