[Bug]: Issues with Firebase Messaging when app is terminated #1353
Labels
P2
Important issues not at the top of the work list.
platform: android
Issue is related to the Android platform.
type: bug
Something isn't working
Please check the following before submitting a new issue.
Please select affected platform(s)
I am encountering issues when using the
firebase_messaging
andgeolocator
plugins in a Flutter app. Specifically, the problem arises when I try to use thegetPositionStream
method from thegeolocator
plugin while the app is terminated.The error messages I am encountering in the terminal are as follows:
These errors seem to be related to the interaction between the
geolocator
plugin and thefirebase_messaging
plugin when the app is in a terminated state. This issue does not occur when the app is in the foreground or background.Steps to reproduce
Expected results
The
geolocator
plugin should work as expected, even when the app is terminated. It should not produce the mentioned error messages.Actual results
The error messages mentioned above are displayed in the terminal when using the
geolocator
plugin in combination with thefirebase_messaging
plugin while the app is terminated.Code sample
Can clone the app to test the issue Link in Github
Version
10.1.0
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: