cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Sorokin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-11716) Two intersecting calls to camera.getPicture() fail
Date Wed, 17 Aug 2016 15:47:21 GMT
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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message