Please provide the following:
- SDK Version: 47
- Platforms(Android/iOS/web/all): Android
When testing our app on Android we intermittently get a situation where calling getCurrentPositionAsync() never resolves - i.e. no location or error is returned - it just hangs indefinitely. But it appears that the device has found the location because if we navigate back and then forward to the same screen then the location returns immediately. We’ve also put in a timeout to display a retry button after 30 seconds - and as soon as you click “retry” the location is returned immediately.
We’ve been unable to reliably reproduce it but see it regularly during testing on both Expo Go and Native builds. On a normal successful attempt you can see the map pin icon appear in the status bar for a few seconds before disappearing. Then the promise is resolved with the location. When this issue occurs the map pin icon appears and disappears as normal but no location is ever returned.
Has anyone else seen this?