Example - Get GPS Coordinates

Thinking of using this for employee attendance. Is this reliable to use ? TQ

Charles help me with this a few years back. I have this implemented in my solution for workers. I haven’t looked at this in a while, maybe there is a way around the one issue I have with it. The issue is the work has a way out of the function. On the phone, when you grab the GPS co-ordinates, the phone requires use of the GPS radio and the app needs to get permission to use the GPS function. A system message comes up asking for permission. If the user clicks " Do not allow", you will not get the data. For my customer, they tell the employees it is mandatory to allow. So far it has not been an issue, but could be. If someone knows a way around this, please let me know.