I have a mobile app that was previously working great with location data from the phone. However, now for some reason it no longer returns any information from utils.getCurrentPosition(). When I test the mobile app on my laptop, it works fine but it's not working on the mobile device (Samsung Galaxy S20). We just recently updated to self-hosted version 2.123.1 and the new runtime, so I suspect the issue may be related to that.
When I click the current location button in a mapbox component, it shows the blue dot in the correct location and zooms in, so it's not a permissions issue. Just the queries and other components that are using the data from utils.getCurrentPosition() aren't populating.
For clarity, would you mind confirming: getCurrentPosition() is down for Mobile App across the board, and not just related to the @JesseKHall's specific setup. Correct?
We released a fix for getCurrentPosition() a week after the initial report so it should be working as expected now. Are you still seeing some issues with it?
@anathan,
Many thanks for the reply. I just went to bring it back up in order to share screenshots demonstrating the issue - but like magic, it's working perfectly now. Sorry to have bothered.