Closed TheCarpetMerchant closed 11 months ago
Minimal reproduction project
Official example: main.dart
Reproduction steps
I'm getting this bug from crashlytics, I have no idea what causes it. Could it be that the app gets killed but not the foreground service ?
I am a bit skeptical that the above is a valid bug report (Why would you run my demo main.dart
in production?). Please confirm the correct reproduction project and reproduction steps (otherwise you may close the issue).
I can't reproduce the issue. I'm looking for pointers on what could be causing this error as it being raised thousands of times points to something being fundamentally wrong in the way I use the plugin, but I have no idea of what it could be.
Closing since it is not feasible to fix bugs where no means to reproduce them is provided. As for "looking for pointers", that is not something I dedicate time to - for all I know, you could be running an old version of audio_service with bugs in it that have since been fixed, or you may be doing something else that is not correct according to the documentation, but it's impossible to play this guessing game when you haven't provided the minimal reproduction project for me to inspect. The time for me to investigate a bug is after you submit a valid bug report.
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.
Documented behaviour
audio_service library
Actual behaviour
java.lang.IllegalArgumentException - context shouldn't be null
Runtime error
Minimal reproduction project
Official example: main.dart
Reproduction steps
I'm getting this bug from crashlytics, I have no idea what causes it. Could it be that the app gets killed but not the foreground service ?
Output of flutter doctor