Current location capture without asking permission



  • We are building a spa using quasar framework. I would like to capture user location once user open this site in the browser. I can use HTML Geolocation API to capture the current location of the user. But it is asking for user permission. Is there any way to do the same internally without asking permission from the user ?



  • @arkaprova

    Is there any way to do the same internally without asking permission from the user ?

    no, because of the inbuild privacy constraints in most browsers.

    Only thing you could do is a query to locate with the users ip.(less accurate and possible incorrect due to VPN ect.)


Log in to reply