bug: back button android closes app
See original GitHub issueBug Report
Ionic version:
[ ] 4.x [x] 5.x
Current behavior:
I am not 100% sure if this is a Capacitor or Ionic Angular Issue.
If i navigate to a Page on Android and then press the Back button, the App Does close
<ion-button [routerLink] ...
Expected behavior:
The App should Navigate Back to the Page before. The App should only close then there is no parent Page left.
Steps to reproduce:
Latest Capacitor / Ionic Angular Project. Add a Page and a button to navigate to the page. Install on Android and click the button press then the Android Native Back button.
Other information: Capacitor Version 3 Stable. The Latest Ionic Version (5.6.7)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:6 (5 by maintainers)
Top Results From Across the Web
[Android] App is crashing after closing app via back button on ...
Now I'm pressing the back button to close the app. If I'm now restarting the app by pressing the app icon the application...
Read more >How To Fix Back Button App Keeps Crashing Problem ...
BackButton #Fix # Crashing #ProblemHello Friends today, In this Tutorial, i will show you how to fix How To Fix Back Button App...
Read more >Prevent back button from closing the app - Flutter Clutter
Flutter apps exit by default once the user taps the back button on the first screen. Here's how to override this behavior and...
Read more >Back Button/Gesture does not close apps anymore - Reddit
I just noticed this, because the ViewModels in one of my apps were not correctly cleared. That's a huge problem in my opinion....
Read more >App closed when pressing back button from activity results intent
After a lot of struggle I found that if we press back button with out selecting any file the activity results will returns...
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
yes it does work 🙈😇👌
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.