Prevent going back to sign in page from any other page in the application

Hi,
I want to prevent user from going back to the sign in page from the home page when the user clicks on the device back button. I want the user to remain on the home page.
I am using Ionic verion 5 and Angular version 8.

1 Like

Also interested in this.
history.replace(...) doesn’t seem to do the trick.