[
https://issues.apache.org/jira/browse/CB-13332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16213950#comment-16213950
]
ASF GitHub Bot commented on CB-13332:
-------------------------------------
GitHub user jcesarmobile opened a pull request:
https://github.com/apache/cordova-plugin-camera/pull/296
CB-13332 (iOS): document NSPhotoLibraryAddUsageDescription
<!--
Please make sure the checklist boxes are all checked before submitting the
PR. The checklist
is intended as a quick reference, for complete details please see our
Contributor Guidelines:
http://cordova.apache.org/contribute/contribute_guidelines.html
Thanks!
-->
### Platforms affected
iOS
### What does this PR do?
Document NSPhotoLibraryAddUsageDescription
### What testing has been done on this change?
### Checklist
- [x] [Reported an issue](http://cordova.apache.org/contribute/issues.html)
in the JIRA database
- [x] Commit message follows the format: "CB-3232: (android) Fix bug with
resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform
affected.
- [ ] Added automated test coverage as appropriate for this change.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jcesarmobile/cordova-plugin-camera CB-13332
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-camera/pull/296.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #296
----
commit 4381491833925a22cb87ed6b04ada70fc0075556
Author: Julio César <[email protected]>
Date: 2017-10-21T15:00:13Z
CB-13332 (iOS): document NSPhotoLibraryAddUsageDescription
----
> iOS 11 Error When Taking Picture Missing NSPhotoLibraryAddUsageDescription
> --------------------------------------------------------------------------
>
> Key: CB-13332
> URL: https://issues.apache.org/jira/browse/CB-13332
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-plugin-camera
> Environment: iOS 11
> Reporter: Sam Mino
> Priority: Trivial
> Labels: docs, easy-fix
>
> I am using this plugin to take a picture, but in iOS11 I receive the
> following error:
> *
> _This app has crashed because it attempted to access privacy-sensitive data
> without a usage description. The app's Info.plist must contain an
> NSPhotoLibraryAddUsageDescription key with a string value explaining to the
> user how the app uses this data._*
> _Note: I have descriptions for CAMERA_USAGE_DESCRIPTION and
> PHOTOLIBRARY_USAGE_DESCRIPTION. I was able to take a picture in iOS 10._
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]