I have a progressive web app built using Angular and Ionic. I am trying to disable back button on Iphone but it has not worked at all. I have tried using the following:
- GitHub - Zatikyan/angular-disable-browser-back-button
- Using Replace url when navigating to different page
- Explicitly setting window.history to null
None of these options have worked for me. Does anyone has any idea or any other options that we can try? or anyone has done similar to this?
Also, I would like to mention we would like to disable users moving the screen left and right using their fingers which is basically the back and forward button on Iphone safari?