cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard B Knoll (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10977) Overlapping permission requests in Android can cause errors
Date Mon, 28 Mar 2016 19:03:25 GMT

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

Richard B Knoll commented on CB-10977:
--------------------------------------

I've got a fix for this, will open a PR

> Overlapping permission requests in Android can cause errors
> -----------------------------------------------------------
>
>                 Key: CB-10977
>                 URL: https://issues.apache.org/jira/browse/CB-10977
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>         Environment: Marshmallow
>            Reporter: Richard B Knoll
>            Assignee: Richard B Knoll
>            Priority: Critical
>              Labels: android, triaged
>
> We use global state for permission requests in the file plugin that gets overwritten
on each call to the plugin. That means that if multiple writes/reads are performed while the
permission request is pending, the global state will get overwritten and callbacks will not
be returned correctly



--
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