[
https://issues.apache.org/jira/browse/CB-10128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15038410#comment-15038410
]
Richard B Knoll commented on CB-10128:
--------------------------------------
Yep, I can reproduce this. Good catch! I'll take a look at your PR.
> 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]