Closed
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
- v4.x
- v5.x
- v6.x
Current Behavior
ionRouter.canGoBack() functionality regressed in 621f4fa.
Expected Behavior
canGoBack() should return the correct value when users are at root of app.
Steps to Reproduce
- Clone https://github.com/pbowyer/ionic-android-hardware-back-button.
- Deploy on Android device.
- Navigate to Page 1.
- Tap ion back button.
- Tap hardware back button. App will not exit.
Code Reproduction URL
https://github.com/pbowyer/ionic-android-hardware-back-button
Ionic Info
No response
Additional Information
No response