There is hardware back button on Android which will mess the browser history up when navigate between pages. There are several options to fix this:
- Redesign the app so that there is no "soft back button", we can use breadcrumbs to navigate between pages instead.
- Handle the "soft back button" dynamically, ex: if there is an item in history, we call
history.back() instead of pushing new history into the stack.
- Figure out how to override the native back button so it will behave like the "soft" button.
There is hardware back button on Android which will mess the browser history up when navigate between pages. There are several options to fix this:
history.back()instead of pushing new history into the stack.