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
my code is
navigator.geolocation.getCurrentPosition(
position => {
console.log(position)
},
error => {
console.log(error)
},
{
enableHighAccuracy: Platform.OS !== 'android',
timeout: 20000
}
)
Before when I open the device's position
the result is code:1 message: "No location provider available."
After when I open the device's position
the result is code:3 message: "Location request timed out"
my code is
navigator.geolocation.getCurrentPosition(
position => {
console.log(position)
},
error => {
console.log(error)
},
{
enableHighAccuracy: Platform.OS !== 'android',
timeout: 20000
}
)
Before when I open the device's position
the result is code:1 message: "No location provider available."
After when I open the device's position
the result is code:3 message: "Location request timed out"
my device is Nexus 5 android version 4.4.4
react-native -v
: 0.46.2node -v
:v8.2.0npm -v
:5.3.0The text was updated successfully, but these errors were encountered: