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

Not working in Foreground service after activity is destroyed #2

Closed
indiandragon opened this issue Jul 20, 2016 · 2 comments
Closed

Comments

@indiandragon
Copy link

Hi Bugfender team,

I have been using Bugfender for a while now & I can confirm that there is an issue related to usage in foreground services in Android.

Steps :

  1. Include Bugfender sdk in Application class as advised by the document.
  2. Implement a Foreground service (Service with notification) & print random logs continuously .
  3. Put the display to sleep [To make sure the activity is destroyed] .

Logs will be available in Bugfender console only till the screen was awake i.e when activity was alive. Technically , application is alive as the service is active & Bugfender is supposed to work in services.

Let me know if any further details is needed, fixing this would enable bugfender to be used in services of apps where user intervention is not available & where bug fender would be really helpful.

@jgimenez
Copy link
Member

Hi @indiandragon . I'm sorry you're experiencing trouble. Thanks for the detailed report, we'll try to reproduce it (if you could attach a sample project that would be even better).

My only suspicion for now would be that for some reason the foreground service is actually dying and restarting. If all activities/services/... of the application are destroyed that would destroy the process and create a new Bugfender session upon restart. We would need to check that. Could you please point me to a sample session ID where this is happening? Thanks.

@indiandragon
Copy link
Author

Hi @jgimenez I will check and revert the same asap.

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