You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using this package for a while until I recently stumbled upon this bug (I did not even update this package).
The error (like the title says) is just Method addObserver must be called on the main thread and appears when calling getLatestLocation after getting permission and configuring RNLocation.
I am very inexperienced with Java so it is a bit hard for me to fix this bug. I will try to dig into the code.
If anyone is experiencing the same issue, please let me know if you discover a way to solve it.
Hi! 👏
I have been using this package for a while until I recently stumbled upon this bug (I did not even update this package).
The error (like the title says) is just
Method addObserver must be called on the main thread
and appears when callinggetLatestLocation
after getting permission and configuringRNLocation
.I am very inexperienced with Java so it is a bit hard for me to fix this bug. I will try to dig into the code.
If anyone is experiencing the same issue, please let me know if you discover a way to solve it.
I have found similar bugs in other libraries:
The error hints to this method in
RNPlayServicesLocationProvider.java
:Cheers!
The text was updated successfully, but these errors were encountered: