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

8: Location unavailable error when trying to get user current location #296

Open
ajitdas123 opened this issue Jul 15, 2021 · 0 comments
Open

Comments

@ajitdas123
Copy link

ajitdas123 commented Jul 15, 2021

I am trying to integrate this package to get the user's current location but no matter what it always throws 8: Location unavailable. error.
I have followed all the steps and also set the billing details as suggested. Still, it doesn't give the user location.

  • Package Version 3.1.2
  • React native 0.64.0

My code:

RNGooglePlaces.getCurrentPlace().then((results) => {
      console.log("Result", results);
    }).catch((error) => {
      console.log("Google Map Location", error);
    });  

I have all these google api enabled
Screenshot 2021-07-15 at 9 48 41 AM

Can anyone please help me how to resolve this. Ty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant