Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geolocation timed out, code 3 #15718

Closed
iamdurui opened this issue Aug 31, 2017 · 3 comments
Closed

Geolocation timed out, code 3 #15718

iamdurui opened this issue Aug 31, 2017 · 3 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@iamdurui
Copy link

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

  1. react-native -v: 0.46.2
  2. node -v:v8.2.0
  3. npm -v:5.3.0
  • Build tools:25.0.0 minSdkVersion 16 targetSdkVersion 22
@hramos hramos closed this as completed Aug 31, 2017
@iamdurui
Copy link
Author

iamdurui commented Sep 4, 2017

@hramos why?

@kelset
Copy link
Contributor

kelset commented Oct 17, 2017

@iamdurui duplicate issue (see #7495) and you haven't respected the template for issues.

@AmeerAqnawe
Copy link

Have you solved it ?!

@facebook facebook locked as resolved and limited conversation to collaborators Aug 31, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Aug 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants