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.
Also interested in this.
history.replace(...) doesn’t seem to do the trick.