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

Location status is 'enabled' even after clicking 'no thanks' in popup #45

Open
ayu-ayushisood opened this issue Jul 11, 2020 · 1 comment

Comments

@ayu-ayushisood
Copy link

Location is not enabled yet, and when the popup opens I click No Thanks which should go in the catch statement as per the documentation. But, it is still going in then statement and printing enabled in the console.

I have attached a screenshot of the code and console is also visible.

Screen Shot 2020-07-11 at 3 49 28 PM

@Richou
Copy link
Owner

Richou commented Aug 20, 2020

Which version of ReactNative ?
More details on Device ?
Why do you return a new Promise ? The function promptForEnableLocationIfNeeded already returns a promise.

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

2 participants