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

Nicolas Leclerc commented on CB-10128:
--------------------------------------

If i'm not mistaken, it seems the {{imagePickerControllerDidCancel}} function 
is called instead of {{popoverControllerDidDismissPopover}} which seems to be 
more suited for the task.

> Incorrect error message when user cancels photo capture
> -------------------------------------------------------
>
>                 Key: CB-10128
>                 URL: https://issues.apache.org/jira/browse/CB-10128
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 1.2.0, 2.0.0
>         Environment: cordova 5.3.3, ios platform 3.9.2 
>            Reporter: Nicolas Leclerc
>
> When photo capture screen is open and user clicks {{cancel}} button then 
> plugin sends {{has no access to assets}} error (ie. camera access not 
> authorized) where it used to be {{no image selected}}.
> That's problematic because camera auth is incorrectly reported as missing 
> when it is indeed authorized and also there's no way to tell the user has 
> cancelled the action.
> This used to work fine in v0.3.x.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to