cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philipp Kursawe (JIRA)" <>
Subject [jira] [Commented] (CB-11661) Camera plugin crashes on iOS 10
Date Wed, 10 Aug 2016 13:16:20 GMT


Philipp Kursawe commented on CB-11661:

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

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

> Camera plugin crashes on iOS 10
> -------------------------------
>                 Key: CB-11661
>                 URL:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message