Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12014

Back button event listener is not called when app requests device administrator permissions.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • cordova-android
    • Android M

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            harshrwr Harsh Yadav
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: