Jessica thompson
Jessica thompson

Reputation: 407

iOS realtime location tracker like in uber?

I'm building an iOS app that needs access to the location of the two users: driver and passenger. This app will be quite similar to Uber app where the passenger requests for a driver nearby to pick him up and eventually track the location of the driver real time. I'm new with location based app, so I would like to ask for best approach to do this. So here's my algorithm so far:

Please suggest a better real time location tracker SDK because we can rely on APNS push notifications fully as they arent guaranteed. An moreover calling the API from the passenger application to update about the driver location is not a fruitful process as i think so . So please suggest any better alternative to this. Any ideas are welcomed .

Upvotes: 1

Views: 2165

Answers (1)

pesch
pesch

Reputation: 1996

For real-time location I would suggest you try services like realm or firebase to share both the passenger's location coordinates & even an array (if you want to display more than one vehicle) of driver location coordinates.

Upvotes: 2

Related Questions