cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-11661) Camera plugin crashes on iOS 10
Date Sat, 03 Sep 2016 13:20:20 GMT


ASF GitHub Bot commented on CB-11661:

Github user possan commented on the issue:
    This works great, but it seems you also need to add the plist item `NSPhotoLibraryUsageDescription`
for accessing the photo library...  

> Camera plugin crashes on iOS 10
> -------------------------------
>                 Key: CB-11661
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Sub-task
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Plugin Camera
>    Affects Versions: 3.5.0
>         Environment: iOS 10
>            Reporter: 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