cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Kotikov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-11716) Two intersecting calls to camera.getPicture() fail
Date Wed, 31 Aug 2016 10:34:20 GMT

    [ https://issues.apache.org/jira/browse/CB-11716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15451863#comment-15451863
] 

Vladimir Kotikov commented on CB-11716:
---------------------------------------

Looks like here is another ticket that exhibits the same problem: https://issues.apache.org/jira/browse/CB-10246.
Although it has been closed, as no repro it shows the real case when user might run into this.

> 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
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Plugin Camera
>    Affects Versions: Master
>         Environment: Android 4.4
>            Reporter: Alexander Sorokin
>            Priority: Minor
>              Labels: found-by-ci, triaged
>
> In the following example, two separate gallery apps open and upon selection, only the
second error callback is called:
> (options.sourceType is PHOTOLIBRARY)
> {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