How to get GeoLocation from a driver's phone

I need to build SwiftUI app to calculate a distance between my current location and my driver's real-time location. All the drivers' phones will be asked to enable location service when they are in use of this app.

So what I wanted is to get a real-time Longitude and Latitude for a given driver's phone number that registered in this app.

Answered by DTS Engineer in 788747022
Accepted Answer

Thanks for pointing me in the right direction!

How to get GeoLocation from a driver's phone
 
 
Q