Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-10128

Incorrect error message when user cancels photo capture

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.0, 2.0.0
    • None
    • cordova-plugin-camera
    • cordova 5.3.3, ios platform 3.9.2

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nleclerc Nicolas Leclerc
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: