[ https://issues.apache.org/jira/browse/CB-10963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15216973#comment-15216973 ]
ASF subversion and git services commented on CB-10963: ------------------------------------------------------ Commit ef268e23206f3378d5c8c5dd279d2821830766b2 in cordova-android's branch refs/heads/master from Richard Knoll [ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=ef268e2 ] CB-10963: Handle overlapping permission requests from plugins This closes #285 > cordova-android does not support multiple runtime permission requests > --------------------------------------------------------------------- > > Key: CB-10963 > URL: https://issues.apache.org/jira/browse/CB-10963 > 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 back). > I've got a fix for this and will open a PR momentarily. -- 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