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

Two intersecting calls to camera.getPicture() fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Master
    • None
    • cordova-plugin-camera
    • Android 4.4

    Description

      In the following example, two separate gallery apps open and upon selection, only the second error callback is called:
      (options.sourceType is PHOTOLIBRARY)

      navigator.camera.getPicture(function () {
          console.log('First getPicture() win!');
      }, function () {
          console.log('First getPicture() error!');
      }, options);
      setTimeout(function () {
          navigator.camera.getPicture(function () {
              console.log('Second getPicture() win!');
          }, function () {
              console.log('Second getPicture() error!');
          }, options);
      }, 1000);
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alsorokin Alexander Sorokin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: