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

Joe Bowser closed CB-12014.
---------------------------
    Resolution: Won't Fix

This is currently outside our main scope.  This should probably be done in a 
plugin, but overriding the back button is risky and we HIGHLY recommend not 
doing this.

> Back button event listener is not called when app requests device 
> administrator permissions.
> --------------------------------------------------------------------------------------------
>
>                 Key: CB-12014
>                 URL: https://issues.apache.org/jira/browse/CB-12014
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>         Environment: Android M
>            Reporter: Harsh Yadav
>              Labels: Administrator
>
> I have registered an event listener for the event "backbutton" in my hybrid 
> app. During the launch of the app it asks user to activate the Device 
> Administrator for the app if app is not the Device Administrator. If user 
> click Activates the Device Administrator, app activity comes to the top. Now 
> if user presses back button it will not call registered event listener. But 
> if app is the Device administrator then it will prompt user to activate 
> device admin, hence on pressing back button on app activity it calls 
> registered event listener.



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