Back to all

Clear Browser History

Hi,

I'm building an app that allows the user to register/login and those credentials are saved. Now I want to give the user the option to sign out (which also works fine). The problem is that on android the user can press the back button as I have no control over the browser history and reopen the page again (although he was signed out).

Is there any way to clear the history via median so that the user cannot press the back button? I am aware of history.replace() but that doesn't help as the app itself still needs history to allow correct navigation between pages.