-
-
Notifications
You must be signed in to change notification settings - Fork 851
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
[Bug]: Could not invoke RTMGLLocationModule.start - Error on UserLocation #3046
Comments
I have this issue on Android 9 and 13 but only when @react-native-community/geolocation is at 3.1.0. I think it's because of this change: |
I had the problem "Invalid displacement" when I try to put only UserLocation on MapView. Someone with the same error? |
Hey @RayanCardoso I also faced this issue, for me the only thing that worked was to make sure that I was rendering the UserLocation component after I had all the location permissions I don't kown other way around it. I also tried everything in that issue here #2717 (comment) but nothing worked |
Make sure you have minDisplacement for Android. <MapboxGL.UserLocation visible={hasLocationPermission} minDisplacement={10} /> |
Thanks @hexadecy and @lukssds that worked for me. |
@lukssds sorry can you add a full component, with MapView? I cannot run your code as is. Thanks! |
Sounds like duplicate of: #2717 |
Mapbox Implementation
Mapbox
Mapbox Version
10
Platform
Android
@rnmapbox/maps
version10.0.12
Standalone component to reproduce
Observed behavior and steps to reproduce
This issue started happening on Friday 08/09/23 (day/month/year), and I don't know why, but the problem seems to be userLocation, when I comment out all the code from Mapbox userlocation, the error doesn't appear, but I'm not able to use the user location update or even append the user indicator to the screen. I think that it could be related to #2717, but I've tried every single response to this problem in that issue with no success. I'm using '@react-native-community/geolocation' to get the user's location as well.
Expected behavior
No response
Notes / preliminary analysis
No response
Additional links and references
No response
The text was updated successfully, but these errors were encountered: