Forum Discussion
Migrating Xamarin app to MAUI Startup Much Slower
I am migrating a Xamarin iOS / Android app to MAUI.
When I start the MAUI app using Visual Studio for Mac on either Android or iOS, the startup time is about 12 seconds longer. This is near the beginning soon after loading all of the debug DLLs.
I initially show a LoadingPage that is a simple ContentPage by setting App.MainPage = new LoadingPage().
I then pause for about 1 second to allow that to finish loading and set App.MainPage = new MainPage().
MainPage is also a ContentPage and has many views as children. One of its children is ContentView called MainView.
These are all XAML files with simple code behind and then ViewModels to implement all binding.
When starting up the MAUI version of my app, there are about 12 additional seconds where the screen is just blank between the loading page and the main page.
I am not asking here for someone to know the answer without all my code. I am asking here for suggestions on where to look and how to diagnose this startup issue...