You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Philipp Kursawe (JIRA)" <ji...@apache.org> on 2016/08/10 13:16:20 UTC

[jira] [Commented] (CB-11661) Camera plugin crashes on iOS 10

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

Philipp Kursawe commented on CB-11661:
--------------------------------------

As an intermediate solution to that one can use the {{[cordova-custom-config|https://github.com/dpa99c/cordova-custom-config]}} plugin and the following entry in the ios platform section in config.xml

{code}
<config-file parent="NSCameraUsageDescription" target="*-Info.plist">
  <string>this app needs the camera for ...</string>
</config-file>
{code}

> Camera plugin crashes on iOS 10
> -------------------------------
>
>                 Key: CB-11661
>                 URL: https://issues.apache.org/jira/browse/CB-11661
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: Plugin Camera
>    Affects Versions: 3.5.0
>         Environment: iOS 10
>            Reporter: jcesarmobile
>            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 Camera permission, so at the very least we need to add NSCameraUsageDescription and NSPhotoLibraryUsageDescription to the `plist`.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org