Seeking Guidance for Background Location Services Post Device Restart on Latest iOS

Dear Apple Developer Community,


I am currently developing a location-based application that heavily relies on GPS tracking and operates continuously in the background. The app is designed to monitor significant location changes and provide updates even when it's not in the foreground.


However, we've encountered a challenge with the recent iOS updates. Post a device restart, our app ceases to function as intended in the background, and it requires manual intervention from the user to resume its operations. This issue is impacting the core functionality of our app, which is to provide seamless location tracking without user interaction.


Here are the specifics of our implementation:


We are using CLLocationManager for tracking location changes. The app is set up to use startMonitoringSignificantLocationChanges to ensure persistent location monitoring. We've ensured that the app has the necessary permissions with 'Always' authorization. Background App Refresh and Location updates are enabled in the app's capabilities. We've implemented the necessary delegate methods in CLLocationManagerDelegate to handle location updates and errors. Despite these measures, the app fails to restart location tracking automatically after the device is rebooted. Our goal is to have the app resume tracking locations in the background without requiring user intervention post-restart.


Could you please provide guidance or insights on how to ensure that our app continues to track location in the background effectively, even after a device restart, on the latest version of iOS?


Any help or suggestions from this community would be greatly appreciated.


Thank you in advance for your time and assistance.


Best regards,

Surya Kothapally.

Posted on Dec 14, 2023 2:09 AM

Reply

Similar questions

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Seeking Guidance for Background Location Services Post Device Restart on Latest iOS

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.