-1

I am trying to get the users' location updates and send it to the server every 1 minute in the background in iOS.

The app needs to keep track of the driver’s position continuously similar to Uber and report it to our server every minute.

I tried background fetch and background locations and it runs fine for 3 minutes and then stops.

How do we accomplish this? Please advise.

Thanks in advance!

user591410
  • 3,051
  • 5
  • 21
  • 30

1 Answers1

-1

you cant accomplish exactly that, since An app cannot just run in the BG for a continous interval. (Exception for Bluetooth (sometimes) and Audio or VOIP

look for another way to do it:

==> besides background refresh, def. look at significant location updates (!) [Getting user location when app is in background. IOS

Daij-Djan
  • 49,552
  • 17
  • 113
  • 135