Default page transitions that you can find in out of the box Ionic framework does not always suits your needs. In some cases you may want to have custom page animations when ion-router-outlet navigates between pages. Let me share with you a very compact and elegant solution for the title topic.
How to use the same back button logic for an Android hardware back button and any custom button on the Angular page? No problem! The solution I show you in the tutorial allows you write all your navigation logic in one place and makes it work exactly the same on Android and iOS devices.
The tutorial explains how to override standard hardware back button behaviour by custom logic. The article contains detailed descriptions of three most common scenarios of hardware back button use.