iOS 8: Location Services privacy settings aren't retained
| Originator: | brock | ||
| Number: | rdar://18102319 | Date Originated: | 8/22/2014 |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 8.0 (beta 5) |
| Classification: | Other Bug | Reproducible: | Always |
Summary: The Location Services setting for apps are cleared out when the app runs Steps to Reproduce: 1. Write a basic app that created and starts a CLLocationManager in the viewDidLoad of the view controller. I've tested this with both startMonitoringSignificantLocationChanges and startMonitoringForRegion: on the location manager. 2. Load the app onto a device, then stop it 3. Go into Settings > Privacy > Location Services. Note that the app does not have a value. 4. Tap on the app and set it to Always. Tap the back button to confirm Always is displayed for the app in the list of apps. 5. Launch the app again 6. Go back into Privacy > Location Services, and note that the Always setting has been cleared out Expected Results: Apps will retain their location services privacy settings Actual Results: Apps lose their location services privacy settings Version: 8.0 (12A4345d) on iPad, 8.0 (12A4331d) on iPhone 4s Notes: Configuration: iPad mini retina (Verizon), iPhone 4s (no SIM)
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Note that calling requestWhenInUseAuthorization on the CLLocationManager before starting monitoring does not fix the problem.