cordova-plugin-background-mode: Android 5, back button override is not working
Hi,
cordova.plugins.backgroundMode.overrideBackButton();
is not working as expected. The icon shows for a fraction of a second and then the app stops working and the icon in the tray is no more.
I don’t have any other code except for a hello world app.
About this issue
- Original URL
- State: open
- Created 7 years ago
- Reactions: 2
- Comments: 16
@ddduarte Something like this:
I bettered my code.
I used the following plugin to overcome this bug
cordova-plugin-backbuttonThis is the code for Ionic App: