Please provide the following:
I just updated to expo v36 and I get this error when trying to call Location.getCurrentPositionAsync Cannot obtain last known location: Error Domain=kCLErrorDomain Code=0 “(null)”
Location.getCurrentPositionAsync
I’m running on a simulator and I did accept the location permissions
Here’s a snack with the issue
It works fine on the device
Hey @tafelito,
Can you make sure you’ve enabled location services on the simulator https://docs.expo.io/versions/v36.0.0/sdk/location/#enabling-emulator-location
Cheers, Adam
I did have it enabled, but for some reason just by changing the value to something else and back to custom started working again!
Thanks @adamjnav
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.