I have an application that finds a person coords and uses them for some code, of course if I do not have location enabled I cannot use that, but I want to check if it is enabled later on the site. Example:
User logs in, goes to my tab, has no location so it doesn't show nearest shop, but once he enables location there, a listener tells my code that its on and does stuff accordingly?
I was thinking of using a timer to check every second... but that seems kinda stupid, is there any alternatives? What would be good to implement?