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

ASF GitHub Bot commented on CB-9616:
------------------------------------

Github user infil00p commented on the pull request:

    https://github.com/apache/cordova-android/pull/222#issuecomment-144519164
  
    We're already working on a more robust way of handling the permission 
requests.


> 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
>
> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to