cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard B Knoll (JIRA)" <>
Subject [jira] [Closed] (CB-10963) cordova-android does not support multiple runtime permission requests
Date Wed, 30 Mar 2016 00:32:25 GMT


Richard B Knoll closed CB-10963.
    Resolution: Fixed

> cordova-android does not support multiple runtime permission requests
> ---------------------------------------------------------------------
>                 Key: CB-10963
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>         Environment: Marshmallow
>            Reporter: Richard B Knoll
>            Assignee: Richard B Knoll
>              Labels: android, reproduced, triaged
> If a plugin makes multiple permission requests before the user grants/denies them, only
the last one will get returned. More importantly, requests from multiple plugins can interfere
with each other.
> For example, if Plugin A makes a permission request and then Plugin B immediately makes
another permission request before the user grants/denies Plugin A's request, then Plugin A
will never receive the results of its request (Android seems to return permission requests
in reverse order of when they were made, so Plugin B will actually get the correct result
> I've got a fix for this and will open a PR momentarily.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message