简体   繁体   中英

.NET Maui - savedInstanceState is null when opening app via intent

I'm trying to use deeplink in .NET Maui. but when i open it via chrome. An error is occurred as image image description here

Does anyone know how to fix it? Any help would be really appreciated

After I saw the image I can tell you your Theme is missing which could be the reason for this, set MainLauncher as true if that is your starting point:

[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true] 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM