You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/11/08 16:18:00 UTC

[jira] [Commented] (CB-13332) iOS 11 Error When Taking Picture Missing NSPhotoLibraryAddUsageDescription

    [ https://issues.apache.org/jira/browse/CB-13332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16244244#comment-16244244 ] 

ASF GitHub Bot commented on CB-13332:
-------------------------------------

marcovtwout commented on issue #289: CB-13332: (iOS) Error When Taking Picture Missing NSPhotoLibraryAddU…
URL: https://github.com/apache/cordova-plugin-camera/pull/289#issuecomment-342868860
 
 
   FYI, `NSPhotoLibraryAddUsageDescription` is required when your plugin needs write access (shouldn't be required for read access) https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>            Assignee: jcesarmobile
>            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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org