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:16:00 UTC
[jira] [Updated] (CB-14031) iOS cancel action throws "has no access
to assets" instead of "No Image Selected" error
[ https://issues.apache.org/jira/browse/CB-14031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Szmyd updated CB-14031:
----------------------------
Attachment: deprecations.png
> 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
> Priority: Minor
> Attachments: deprecations.png
>
>
> 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