Trying to understand how to use local device GPS

Hi, Has anybody ever found a way to use the local GPS co-ords of a phone, to supply its GPS location to a database.

example : I want to set a time and location for a meeting and if I am too far away to make the meeting the app will alert me ahead of the time to ensure I had time to travel to the pre set GPS location.? any help would be very welcome.

Here is how you can accomplish this with javascript through a browser. Or with bubble you can say ‘Current geographic position’ but that only works if the User is currently on the app and a workflow or event is fired at that time.

Thanks so much that was very helpful.