You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "GitToTheHub (via GitHub)" <gi...@apache.org> on 2026/03/19 12:44:03 UTC

Re: [I] `backbutton` event not triggered on some devices [cordova-android]

GitToTheHub commented on issue #1904:
URL: https://github.com/apache/cordova-android/issues/1904#issuecomment-4089878067

   Hi, can you make a minimal repository example which shows the problem?
   
   I tested it in an Android 16.0 simulator and it worked. I used this code for overwriting the back button.
   
   ```js
   document.addEventListener("backbutton", () => {
       console.log("Back-Button pressed");
   });
   ```
   
   Please test also a fresh hello world app with cordova-android 15, if the overwriting does work or not.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org