when my app starts the user isn't logged on so I open a logon page. when they logon it goes to the main page of the app.
however how do I remove the logon page from the stack.
currently im doing this in the logon page's viewmodel:
await Navigation.PopAsync();
await Navigation.PushAsync<MainViewModel>();
the popasync isn't doing anything as the logon page remains as the first page.
I need a cross platform way to do this, not android or ios or win phone way to do this.