You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
navigator.geolocation.getCurrentPosition will timeout instantly on simulator or device. Only after I add {enableHighAccuracy: true, timeout: 20000, maximumAge: 1000} as the 3rd parameter it starts to work fine.
However I also found this issue which reported that enableHighAccuracy: true will not work with RN 0.25.1, RN 0.28.0 on Android 6 device, so I am not sure if this setting with RN 0.29.1 will still affect other devices.
The text was updated successfully, but these errors were encountered:
Environment:
Genemotion 2.7.2 - Google Nexus 5 (Android 6.0.0); device OPPO R7SM (Android 5.1.1)
RN 0.29.1
navigator.geolocation.getCurrentPosition will timeout instantly on simulator or device. Only after I add
{enableHighAccuracy: true, timeout: 20000, maximumAge: 1000}
as the 3rd parameter it starts to work fine.However I also found this issue which reported that
enableHighAccuracy: true
will not work with RN 0.25.1, RN 0.28.0 on Android 6 device, so I am not sure if this setting with RN 0.29.1 will still affect other devices.The text was updated successfully, but these errors were encountered: