Jacob Davis Cherussery
Jacob Davis Cherussery

Reputation: 477

Updating user location status on server when he enters or exits a Geofence

In my application I'm using Geofencing to track whether customer is currently present in the specified location while delivering an order.Is it possible to update his status to a server when he enters or exits geofence even when the app is in background?

Upvotes: 1

Views: 120

Answers (1)

dbgrman
dbgrman

Reputation: 5681

It depends on what kind of location authorization you have. If you have 'always' authorization, you would be able to do it. If you have 'in-use' authorization, you would have a very small amount of time (~10s) to make the request before iOS suspends your app.

Upvotes: 1

Related Questions