ryanheise
ryanheise
> Maybe something along these lines would help? > https://stackoverflow.com/a/72449084/3746945 That's an interesting approach... I haven't encountered the AlarmManager solution before.
I could look into that as a fallback in case the app doesn't implement other measures to avoid the exception.
The `fix/notification_npe` branch adds the stream `AudioService.asyncError` which broadcasts any exceptions that occur asynchronously, such as when the foreground service fails to start due to this exception. Given that Android...
I would like to avoid solutions based on `AudioServiceConfig` since those options are static, and what we're dealing with here is a requirement to change the foreground status dynamically. `stopForegroundOnPause`...
I've just merged and published the `fix/notification_npe` branch which should allow the app to at least catch/listen to this error, and importantly, prevent an app crash. I will keep this...
> Setting the PlayerState to error and returning null from AudioHandler.getChildren is also not possible. But in order to show an full screen error message null must be returned from...
There may be some value in separating the changes into non-breaking (to be merged into `minor`) and breaking (to be merged into `major`) and get a new `minor` release out...
Just thinking on this, the non-breaking version of this would be to make it sot hat if `getChildren` throws an exception, the Dart side can catch that and send a...
I'm also not an expert with the Xcode debugger, so I sometimes insert NSLog statements into the code for debugging purposes. You can find various other NSLog statements already in...
I have reopened. @CyrilHu if you are willing to either provide a minimal reproduction project or would be willing to help participating in the debugging, I will be able to...