You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Adam Szmyd (JIRA)" <ji...@apache.org> on 2018/04/13 04:09:00 UTC

[jira] [Created] (CB-14031) iOS cancel action throws "has no access to assets" instead of "No Image Selected" error

Adam Szmyd created CB-14031:
-------------------------------

             Summary: iOS cancel action throws "has no access to assets" instead of "No Image Selected" error
                 Key: CB-14031
                 URL: https://issues.apache.org/jira/browse/CB-14031
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-plugin-camera
         Environment: iOS
            Reporter: Adam Szmyd


When cancelling action of getting image from photo library, an error "has no access to assets" is being returned instead of "No Image Selected"

Using simple call like that:
{code:java}
navigator.camera.getPicture(function () {
    console.log('Success');
}, function (error) {
    console.error(error);
}, {
    sourceType: Camera.PictureSourceType.PHOTOLIBRARY
});
{code}
 *This works properly using Camera capturing*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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