Is there a way to detect whether a user has already given permission to use navigator.geolocation?
I can use localStorage, but the problem is in case the user clears location setting from browser. In this case user still gets true from local storage even though location settings are cleared.