-
-
Notifications
You must be signed in to change notification settings - Fork 836
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
App crashing when onLocationChanged is used #40
Comments
i have this issue too. |
I had the same issue and am now using a Timer.periodic + "var currentLocation = <String, double>{}; var location = new Location(); // Platform messages may fail, so we use a try/catch PlatformException. |
Should be fixed in 1.3.1, thank you for your time 👍 |
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Below is the code I took from the docs. It seems not working and throws a RuntimeException.
So I digged a little deeper and found the part throwing this exception. These are the code from L127-L145 of LocationPlugin.java. Why should the condition be
events == null
and then a methodsuccess()
of theevents
object being access later in the true block?The text was updated successfully, but these errors were encountered: