Using EKEventViewController requires NSContactsUsageDescription
Originator: | kirill.pahnev | ||
Number: | rdar://40085385 | Date Originated: | 09-May-2018 10:38 AM |
Status: | Duplicate/30098161 / open | Resolved: | |
Product: | iOS + SDK | Product Version: | iOS 11 |
Classification: | Security | Reproducible: | Always |
Summary: When allowing users to add calendar events from our apps using the EKEventEditViewController, we are forced to add the contacts usage entry, even though we have no need to actually access the contacts. Steps to Reproduce: 1. Add a way to present the EKEventEditViewController 2. Add Calendars Usage Description into plist to avoid crash. 3. Attempt to add location to the event Expected Results: Being able to add the location, without more privacy prompts. Actual Results: App crashes because we are missing the Contacts Usage Description from plist. Version: iOS 11 Notes: As a developer I want to access as little user’s data as possible. With Calendars Usage Description, we already have access to create calendar events. Adding location to them shouldn’t be tied to users contacts and feels very wrong to ask user for a permission to access their contacts, when they are just trying to add location to a calendar event.
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!