From the course: Shared Economy for iOS Development

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Delivery driver location

Delivery driver location - iOS Tutorial

From the course: Shared Economy for iOS Development

Start my 1-month free trial

Delivery driver location

- [Instructor] So we talked a little bit about getting the location of the device using core location. Primarily we discussed in the last video about how to get the location of the consumer, the person making the purchase or ordering the ride. But we also want the reverse, we want to get the location of the driver to be able to update the consumer about where they are, are they getting close, are they going the wrong way, are they mowing the wrong yard? So we want to be able to get their location as well, send that up to the server, and update the user, so that would make for a good, robust solution in our app, and so we want to be able to get the location of the driver's phone, and use that as well. So, for this, we'll also use core location and get real-time updates of their phone. We'll need to send those to the server, using AWS's AppSync API that we'll create as we go through this. We could then have the consumer's phone request the data from the server, but that's not good…

Contents