I create an application using Xamarin Forms, where when the user launches the application for the first time, he is sent to the login page. After logging in, they are redirected to MasterPage, which is the MasterDetail page. However, when I try to go to the new MasterDetail page, I get only the details page, and the button showing the Master Partion is missing. The only thing that appears in the application bar is the title that I set. I now proceed to MasterPage as follows:
App.Current.MainPage = new NavigationPage(new MasterPage())
{
Title = "Welcome " + user.firstName
};
Each other launch is not a problem, because when the user opens the application, he automatically registers them and goes directly to MasterPage, except for the cases of their first use. However, this is a very important issue for me, as it occurs when a user first uses my application, and this will be part of their first impression.
source
share