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

Marc K. commented on CB-12632:
------------------------------

Thanks for your fast reply!

I used the backbutton handler together with * alert("backbutton is fired"); * 
to verify.
I reproduced it a few seconds ago.

With [email protected] the backbutton handler is called!
With @2.0.0 it isn't, so there is no alert coming up and the backbutton is 
fully functional.

I have a Samsung Galaxy J3 2016 with Android 5.1.1 for testing.

Installed platforms:
  android 6.1.2
  ios 4.3.1

There are my installed plugins:
cordova-plugin-compat 1.0.0 "Compat"
cordova-plugin-crosswalk-webview 2.3.0 "Crosswalk WebView Engine"
cordova-plugin-device 1.1.4 "Device"
cordova-plugin-dialogs 1.3.1 "Notification"
cordova-plugin-ios-longpress-fix 1.1.0 "iOS LongPress Fix"
cordova-plugin-keyboard 1.1.4 "Keyboard"
cordova-plugin-network-information 1.3.1 "Network Information"
cordova-plugin-screen-orientation 1.4.2 "Screen Orientation"
cordova-plugin-statusbar 2.2.1 "StatusBar"
cordova-plugin-vibration 2.1.3 "Vibration"
cordova-plugin-whitelist 1.3.1 "Whitelist"
phonegap-plugin-barcodescanner 6.0.6 "BarcodeScanner"


> Cordova Screen Orientation Plugin breaks disabling Android hardware back 
> button 
> --------------------------------------------------------------------------------
>
>                 Key: CB-12632
>                 URL: https://issues.apache.org/jira/browse/CB-12632
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>         Environment: Android 5.1.1
>            Reporter: Marc K.
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to