Hi,
I'm new to XF and this is my first app. In my app which is TabbedPage interface I need to authenticate the user on start up and if unsuccessful I need to disable some of the tabs. Could someone please let me know on what event of application life cycle I'm support to write this.
I did write the code on App.xaml.cs however as the HttpClient only supports asynch methods I could not stop the interface to load before I know the user status.
What is the best practice and at which event I should be writing the code (REST API call to authenticate user)?
Also I want to show a welcome page which is not part of any tab and when user clicks on a particular page then the relevant tab page gets loaded. Should I create an empty tab with welcome page? Can I hide the tab but show its contentPage? How can I disable tabs based upon user status (global static variable set by authenticate method call?
Thanks in advance and I look forward to hearing response.