0

I have read the documentation about the core location , and am trying to understand whats allowed and what is not .

We need to get locations from a costumer every 30 minutes,and send to our servers, when the app is in background. One option is the Significant location change, but i have read its not accurate . What are my options , and is it possible ?

thanks .

CodeSmile
  • 64,284
  • 20
  • 132
  • 217
Curnelious
  • 1
  • 16
  • 76
  • 150
  • Possible duplicate of [this answer](http://stackoverflow.com/questions/21512015/can-i-send-users-current-location-to-server-when-app-is-in-background/21512133#21512133) – andreamazz Feb 02 '14 at 16:37

1 Answers1

0

There are no official way. Also remember that the user's consent. And it charged the battery.

If the app in the background, you have a few minutes to perform actions (about 10 minutes). Facebook somehow manages to get them started again this "10 minutes".

Mirko Brunner
  • 2,204
  • 2
  • 21
  • 22
  • what is this : http://stackoverflow.com/questions/19042894/periodic-ios-background-location-updates – Curnelious Feb 02 '14 at 13:25
  • oh nice solution. I had not seen befor. is the location needed when the user is in a store or not. If the location is to be determined within a store use beacons (http://estimote.com/). – Mirko Brunner Feb 02 '14 at 13:43
  • In iOS7 you can use the ```fetch``` background mode to download and upload data periodically. This goes beyond the 10 minutes limit. See my answer to [this question](http://stackoverflow.com/questions/21512015/can-i-send-users-current-location-to-server-when-app-is-in-background/21512133#21512133) – andreamazz Feb 02 '14 at 16:36