Alexander Sorokin created CB-11716:
--------------------------------------

             Summary: Two intersecting calls to camera.getPicture() fail
                 Key: CB-11716
                 URL: https://issues.apache.org/jira/browse/CB-11716
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Camera
    Affects Versions: Master
         Environment: Android 4.4
            Reporter: Alexander Sorokin
            Priority: Minor


In the following example, two separate galley apps opens and upon selection, 
only the second error callback is called:
{code}
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);
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to