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

Cordova Screen Orientation Plugin breaks disabling Android hardware back button

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Samsung Galaxy J3 2016 Android 5.1.1

    Description

      cordova-plugin-screen-orientation version 2.0.0 breaks disabling the Android hardware backbutton by javascript code (for example: document.addEventListener("backbutton", function(){}, false); ) . It seems the code is simply ignored and the hardware backbutton works. Reverting to version 1.4.2 solves the problem again and the javascript code does its job so the hardware backbutton is disabled as expected.

      Attachments

        Activity

          People

            Unassigned Unassigned
            marck1991 Marc K.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: