question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

.NET MAUI App Icon and Splash screen cannot be customized

See original GitHub issue

Okay sooooo… I ran into this same issue however, I’ve managed to get it working with my own custom app icon and well as my own custom splash screen. Albeit it’s not an animated splash screen, I was getting the exact same issues described above.

What I did was this.

  1. Opened the Emulator and deleted the actual app from the device ( which I don’t think was necessary)
  2. Renamed the old SVG files to splash_old.svg and appiconfg_old.svg respectively ( which I don’t think was necessary)
  3. Added my custom splash.svg and appiconfg.svg files into their respective folders
  4. Edited the csproj file namely removing this Color="#512BD4" from this line <MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg"/>
  5. Run a Rebuild Solution
  6. Run Build to Pixel 5 - API 33 (Android 13.0 - API 33)

Custom Icon:

Custom_Icon

Custom Splash Screen:

Custom Splash

Hope this helps.

https://github.com/dotnet/maui/issues/10079#issue-1370643762

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mattleibowcommented, Oct 27, 2022

I think this PR will fix the splash screen since we now hash both the contents and the attibutes of splash screens: https://github.com/dotnet/maui/pull/10812

But, icons are just normal images with a special attribute so I may need to verify that there is somehting similar for images.

0reactions
0nly1ken0bicommented, Nov 15, 2022

Update

Using Version 17.4.0 after the Preview version of Microsoft Visual Studio Community 2022 (64-bit) seems to have fixed the issue.

I’ll close this issue now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add a splash screen to a .NET MAUI app project
A .NET MAUI splash screen can be displayed on Android and iOS when an app is launched, while the app's initialization process completes....
Read more >
Cannot change .NET MAUI Blazor Splash screen on IOS
1 Answer 1 ... There currently is a bug in MAUI's resizetizer. As a workaround, you need to actually provide a new name...
Read more >
Episode 40 - Custom app icons / splash screen for MAUI ...
This video demonstrates how to create a custom app icon and splash screen for a MAUI app. We specifically focus on Android apps...
Read more >
.NET MAUI App: MAUI app icon, MAUI splash screen, and ...
NET MAUI ) apps can display a splash screen while their initialization process completes. The splash screen is displayed immediately when an app...
Read more >
Let's customize the Splash Screen of a MAUI app - Julian's Blog
In this blog post I explain how to modify the splash screen of a MAUI app for Android and iOS with your own...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found