Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
cordova-android-7.0.0
-
None
-
None
-
Using Android Studio emulators Galaxy, Pixel, Nexus 5... all exhibit this behaviour.
Quasar Framework is building my project a long with webpack but I've no reason to suspect Quasar as the cause, they only register a single eventListener for backbutton and I've manually gone in and edited the source code for this listener and it never fires leading me to believe the problem is with Cordova.
Using Android Studio emulators Galaxy, Pixel, Nexus 5... all exhibit this behaviour. Quasar Framework is building my project a long with webpack but I've no reason to suspect Quasar as the cause, they only register a single eventListener for backbutton and I've manually gone in and edited the source code for this listener and it never fires leading me to believe the problem is with Cordova.
Description
App exits immediately on back button press without ever firing the eventListener designed to capture and reroute it.
There is nothing wrong with my eventListener code, it's been tested on Api 25 and higher and is very stable:
`document.addEventListener('backbutton', this.onBackButton, false)`
I have not yet tested to confirm if API 24 has this bug or not.
This affects many of my users, including myself as I've got a phone running Android at these versions. The app is completely killed with every tap of the back button (new launches of the app cold boot with splashscreen) making it impossible to properly navigate the app: closing modals, moving backwards in operations, etc...