-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
The service will be killed several minutes after pausing on background #83
Comments
This is a good find. Although it will need to be weighed against the requirements from #72 and #74 . Ultimately, the behaviour of the plugin on pause will need to be configurable by options. One option could be to keep the stopForeground call but to listen for when the service is destroyed and handle that case appropriately. One other thing I've been meaning to reconsider is whether or not to keep the background isolate running on pause. There are a couple of options here:
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with audio_service. |
Describe the bug
When a click a pause button, notification should be remain on the system tray.
But several minutes after calling the pause, the service will be killed and the notification icon will be disappeared.
Once this happened, it is not possible to restart the service.
Minimal reproduction project
This issue is reproducible with the example app.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The service should keep on working while pausing on background.
The text was updated successfully, but these errors were encountered: