You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is called in OnAppStart.
For obvious reasons I can't make a repo sample of this, but I was wondering if you had some pointers to see what is not working.
For what I understand, it seems that Activity.OnCreate is called before the navigation is made, and since the prism root window is created when we first navigate, the exception occurs...
Steps to Reproduce
Unfortunately no repo sample.
Platform with bug
.NET MAUI
Affected platforms
Android, I was not able test on other platforms
Did you find any workaround?
No response
Relevant log output
10:25:49:202 [0:] Navigation: http://localhost/MainMasterDetailView/CommonNavigationPage/MainView?ShowDashboard=False
10:25:49:202 [0:] Result: Failed
10:25:49:202 [0:] NavigationRequestContext { Cancelled = False, Type = Navigate, Uri = http://localhost/MainMasterDetailView/CommonNavigationPage/MainView?ShowDashboard=False, Parameters = , Result = Prism.Navigation.NavigationResult }
10:25:49:514 **Microsoft.Maui.Controls.InvalidNavigationException:**'Expected Navigation Failed. No Root Window has been created.'
The text was updated successfully, but these errors were encountered:
Description
I have a big maui application for a big android device (not a mobile).
There are tons of initialization and async calls in
OnInitialized
and then:is called in
OnAppStart
.For obvious reasons I can't make a repo sample of this, but I was wondering if you had some pointers to see what is not working.
For what I understand, it seems that
Activity.OnCreate
is called before the navigation is made, and since the prism root window is created when we first navigate, the exception occurs...Steps to Reproduce
Unfortunately no repo sample.
Platform with bug
.NET MAUI
Affected platforms
Android, I was not able test on other platforms
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: