You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2015/10/28 20:04:27 UTC

[jira] [Resolved] (CB-9616) Plugins need support for Android M run-time permissions

     [ https://issues.apache.org/jira/browse/CB-9616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser resolved CB-9616.
----------------------------
    Resolution: Fixed

> Plugins need support for Android M run-time permissions 
> --------------------------------------------------------
>
>                 Key: CB-9616
>                 URL: https://issues.apache.org/jira/browse/CB-9616
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android
>    Affects Versions: 4.1.1
>            Reporter: Olivier Goguel
>            Assignee: Joe Bowser
>
> To implement the new Android M run-time permission support, an application activity needs to call requestPermission()   and get the user result by overriding onRequestPermissionsResult()
> Unfortunately, if a plugin can call the requestPermission() on its Cordova Activity, it has no way to be notified when the onRequestPermissionResult is being received
> Similar to the onPause or onResult implementation, the Cordova Activity should pass this event to to the pluginManager/ (through the CordovaWebViewImpl) in order to let developers override onRequestPermissionResult() in their plugin code if need be



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