-
Notifications
You must be signed in to change notification settings - Fork 75
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
isGeolocationEnabled returns true even after location is disabled #990
Comments
Yes same issue |
Hi @manavpandya1995 and @burhanahmed92 can you please share some more details? I tried reproducing this locally and when I block the geolocation, the |
I am having the same issue too. |
I think I know the issue... the hook does not remember some of the props sent to it.. example, suppressLocationOnMount is not in the dependencies of the useCallback... and thus, weird state issues... useEffect(() => {
|
I want to check that if location is disabled, i want to surpass the location prompt
But "isGeolocationEnabled" returns "true" always which seems a weird issue
@no23reason Please check this accordingly
The text was updated successfully, but these errors were encountered: