Linking.openURL 'Not authorized to use location services.' error on second try

Hello everyone!

I’m trying to get the geo location by address, using the Location SDK.
After this, I open a navigation app (WAZE) with these locations, but it’s only works for the first time. The second time it gives the error: Not authorized to use location services.

I’ve created a demo for this: https://snack.expo.io/@xyzor/location-service-unauthorization-bug-demo

Someone could help me with this?

I did some debugging.

The problem is with using Location.geocodeAsync and Linking.openURL together.

Git issue

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.