[ https://issues.apache.org/jira/browse/CB-11455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15404884#comment-15404884 ]
ASF GitHub Bot commented on CB-11455: ------------------------------------- Github user jcesarmobile commented on the issue: https://github.com/apache/cordova-plugin-contacts/pull/129 Hi. I have sent a new PR (https://github.com/apache/cordova-plugin-contacts/pull/131) where the usage description can be added as a variable on plugin install or use an empty string if no variable is passed. I also documented it as iOS quirk, so you can close this PR, and help review mine if you want. BTW, can you use my approach on the PR you sent to the barcode scanner plugin? > Contact plugin crashes on iOS 10 > -------------------------------- > > Key: CB-11455 > URL: https://issues.apache.org/jira/browse/CB-11455 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin Contacts > Affects Versions: 3.5.0 > Environment: iOS 10 > Reporter: Eddy Verbruggen > Assignee: jcesarmobile > > We need to add a privacy description to the plist. Since iOS 6 Apple provided > a way to show the user why a certain permission is required. In iOS 10 this > becomes mandatory, so any app not specifying the key will crash at runtime > when a permissions is requested. > This plugin requests the Contacts permission, so at the very least we need to > add `NSContactsUsageDescription` to the `plist`. > Note that this is the same approach as the Geolocation plugin has taken a > while ago. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org