ryanheise
ryanheise
Is the crash you mentioned in audio_service or in the ads plugin?
That crash looks similar to another one reported for the google ads plugin: https://github.com/flutter/flutter/issues/76728 https://github.com/googleads/googleads-mobile-flutter/pull/9 So it's likely this is another issue with that plugin. It may be worth submitting...
I think the Android and iOS sides of this might benefit from being treated as separate issues as the two platforms are completely different in their capabilities in some respects....
Reopening until the issue is resolved.
They are related, and the one-isolate branch is intended to solve it, but I still haven't got a good answer to the system destroying the service. Maybe I've made a...
> > I think what's going on here is that when you pause, the service should be stopped but not necessarily destroyed > > Actually, the service calls the stopForeground...
I was also just looking into this now - the example provided above actually has other issues with `one-isolate` now because the processing state is always `idle`. In the latest...
I did some testing but actually didn't reproduce it myself. A minimal reproduction project would be helpful.
Some general advice would be to build Android 11 media session resumption feature into your app so that even if the process is killed, Android will keep the notification around.
I'd like to be able to reproduce the issue before experimenting with this, but there is already an `androidNotificationOngoing` option, and rather than add a new option, it may be...