I have tried using the return to initial view flow function, I have tried open page, I have tried replace page, and every other variation and no matter what, on Android, I cannot get the app to close all pages and return to login page after user clicks sign out. It always returns to the main page which opens after login but displays blank screen with no data, even though all data is queried on page focus ( and I have tried changing it to page mounted and even to both and the same thing happens). Now if the user clicks sign-in which triggers the return to initial page once after logging out, it goes to main blank screen again. If they click sign in again, it finally goes to the initial login page. No matter what I cannot get a smooth signout flow. So I would like to try just closing the entire app after user signs out.