[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Feature request
[ ] Question
Current behavior
When the app is opened, deactivated (not in focus), or minimized all background tasks works as expected
Expected behavior
When the app is closed all background tasks works as expected
Steps to reproduce the behavior
Open the app and navigate to notifications page
Keep the app opened.
Login to GitHub
Wait for the toasts to arrive, click any of the toast's read button
see toast has gone, in github's notifications page it will be gone, and in our app as well
Mark any notification as read from github's web interface and wait for 15 mins to allow the background task to trigger and sync the notifications in the app's notifications view and toasts as well
this workflow does not work when the app is closed
I'm submitting a...
Current behavior
When the app is opened, deactivated (not in focus), or minimized all background tasks works as expected
Expected behavior
When the app is closed all background tasks works as expected
Steps to reproduce the behavior
this workflow does not work when the app is closed
Environment