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

iOS cancel action throws "has no access to assets" instead of "No Image Selected" error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • cordova-plugin-camera
    • None
    • iOS

    Description

      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:

      navigator.camera.getPicture(function () {
          console.log('Success');
      }, function (error) {
          console.error(error);
      }, {
          sourceType: Camera.PictureSourceType.PHOTOLIBRARY
      });
      

       This works properly using Camera capturing

      Attachments

        1. deprecations.png
          394 kB
          Adam Szmyd

        Activity

          People

            Unassigned Unassigned
            aszmyd Adam Szmyd
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: