GitHub user nleclerc opened a pull request:
https://github.com/apache/cordova-plugin-camera/pull/144
[iOS] Fixed authorization error when user clicks cancel in image selector
view.
I'm resurrecting a change from [an old pull
request](https://github.com/apache/cordova-plugin-camera/pull/24) that was
closed without any explanation.
[The original issue](https://issues.apache.org/jira/browse/CB-6576) has
been improperly marked as resolved when it clearly is not.
Problem is there's currently no way to know when a user has just cancelled
the image capture since clicking cancel send a `has no access to assets` error
when it really isn't an authorization issue.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nleclerc/cordova-plugin-camera ios-cancel-fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-camera/pull/144.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #144
----
commit c34a6fdc18aaf12aab6c0c43e03bc9c63267b895
Author: Nicolas Leclerc <[email protected]>
Date: 2015-12-03T18:19:27Z
iOS: Fixed plugin sending authorization error when user clicks cancel in
image selector view.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]