[Solved] How to send data to AudioServiceTask class which extends BackgroundAudioTask from UI
(Answer update: Since v0.18, this sort of pitfall doesn’t exist since the UI and background code run in a shared isolate. The answer below is only relevant for v0.17 and earlier.) audio_service runs your BackgroundAudioTask in a separate isolate. In the README, it is put this way: Note that your UI and background task run … Read more