-
-
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
onStop error #203
Comments
You aren't supposed to call |
Your error message indicates an error with another plugin, although I'm unfamiliar with it. I would suggest reporting the bug with that project. |
there aren't another plugin in my background
|
Flutter loads every plugin into each Flutter engine. So even if you're not using the plugin in the background, the fact that you've declared it in your |
This is strangeEverything is working fine until I add flutter_audio_query: "^ 0.3.4 + 1" to pubspec.yaml |
That is the very plugin your error message above is about. The stack trace will be helpful to the developer of that plugin since it gives the line number and the file name where the error occurs. |
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 I call onStop method i get this error.
PlatformException (PlatformException(error, Attempt to invoke interface method 'void io.flutter.embedding.engine.plugins.activity.ActivityPluginBinding.removeRequestPermissionsResultListener(io.flutter.plugin.common.PluginRegistry$RequestPermissionsResultListener)' on a null object reference, null))
and after that when i want to start again It crashes.
Error messages
The text was updated successfully, but these errors were encountered: