I have a rather large app that I’ve been working on for over a year. It relies on geographical position a number of places within the app. My understanding is that the browser isn’t supposed to request that the user grant location services permission until the element that uses Geographic Position is being present in the browser. That’s not what I’m finding is happening.
I just spend a few hours going through on another branch pulling all references to User’s Geographical Position and redirecting them to a custom state on the root app called Geo Pos. I then only fill the Geo Pos in with the user’s Geographical Position after they click a button that alerts them that we need their position to serve certain elements.
As soon as I put setting that custom state in that requests the Geo Position, I start getting system notices that the App needs my Geo Position in the browser on page load. Even though the request isn’t shown on the page and even when it is, it’s not used until in a workflow action as a result of a button press.
What am I missing here?