Android 5, back button override is not working
See original GitHub issueHi,
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.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:16
Top Results From Across the Web
Android back button not working after onKeyUp() is overridden
Once the above method is added to an activity, the back button stops working but the other two buttons on the navigation bar...
Read more >Provide custom back navigation - Android Developers
Back navigation is how users move backward through the history of screens they previously visited. All Android devices provide a Back button for ......
Read more >Overriding Back Button in Xamarin.Forms Shell…
I've been working on trying to override the back button behavior on ... with the Android on-screen back button, this does not work...
Read more >Disable/Override Back Button in Flutter - The Right Way (2022)
It may happen that when users use your app, they may accidentally press the back button in Android and get out of your...
Read more >Overriding onBackPressed() (the Back Button) - YouTube
Learn how to override the onBackPressed() method in Android to require the user to press the back button twice to exit the app, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ddduarte Something like this:
I bettered my code.