iOS11 location update after getting killed by user

Viewed 423

I'm implementing a non VOIP app in iOS 11. As per the nature of my App, I've implemented the startMonitoringSignificantLocationChanges(). All the implementation went well and it is working now.

  • while terminating the app I'm calling startOrReStartSignificantLocationUpdate()

  • and I'm restarting significantlocationupdate in didFinishLaunchingWithOptions

  • also I'm updating location in server in didUpdateLocations event

Location updates is reflected on my server when the App is in foreground or background. It is now reflects even if user kill the App manually. So it works with SLC but

the problem is;

Updates seems to get stopped after a period of time say, 3 - 4 hours. It happens if the user kills the App manually. As per the nature of my App, I need to get it re-initiated up on location change and get the location update to my server.

Is there any category of App which can get this location updates forever in iOS11? I'm thinking about how Moves App in iOS works. Not sure it works perfect with iOS11 though

1 Answers
Related