Our users keep complaining that the purple arrow is appearing even though the app is killed and therefore they automatically think its draining their battery.
We use only significant location change by calling
[locationManager startMonitoringSignificantLocationChanges];
So if we don’t stop the significant location change the purple arrow stays on (and our users think their battery will drain).
Even if we want to stop the significant location change when the app terminates we can't because applicationWillTerminate is rarely called.
So there are 3 options:
- Leave it as it is – but the users keep complaining because apple doesn't differentiate between apps that use the regular battery consuming location and the apps that use the significant location change.
- Use the regular [locationManager startUpdatingLocation] so when the app terminates so does the monitoring. Problem here is that it really will consume the users' battery as long as the app is not terminated.
Call
(void)applicationDidEnterBackground:(UIApplication *)application { [locationManager stopMonitoringSignificantLocationChanges]; }
Problem here is that we don't benefit from the location changes in the background…
Are there any other suggestion that will let us do this:
- Monitor location as long as the app is the background (purple arrow is OK here)
- Stop the location monitoring when the app is killed (purple arrow is NOT OK here)
- Use the Significant Location Change so to not drain the users' battery.
?
Thank you