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.

MauiIcon or MauiSplashScreen generated wrong color.

See original GitHub issue

Description

I make settings like this:

<!-- App Icon -->
<MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#ED2C65" />

<!-- Splash Screen -->
<MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#ED2C65" BaseSize="128,128" />

but as a result, the icon background color is #DA4167 Screenshot 2022-08-15 at 18 04 25

Next I added screenshots, so as you can notice, the icons work strangely.

Steps to Reproduce

use the icon background color Color=“#ED2C65” and the same color for the SplashScreen background and use another svg that .NET for logo

Version with bug

6.0.312

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android

Affected platform versions

iOS 15

Did you find any workaround?

No response

Relevant log output

No response

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
AndreasReitbergercommented, Aug 15, 2022

Following, seeing the same issue on iOS.

0reactions
msftbot[bot]commented, Sep 5, 2022

Hello lovely human, thank you for your comment on this issue. Because this issue has been closed for a period of time, please strongly consider opening a new issue linking to this issue instead to ensure better visibility of your comment. Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

splash screen - .net unable to change MauiIcon and ...
I've added new .svg images to the AppIcon and Splash directories and set the Build Action property on these to MauiIcon and MauiSplashScreen...
Read more >
.NET MAUI App: MAUI app icon, MAUI splash screen, and ...
MAUI Icon Guideline​​ In your project file, the <MauiIcon> item designates the icon to use for your app. You may only have one...
Read more >
Change the app icon - .NET MAUI
If you don't define a background color for your app icon the background is considered to be tranparent on iOS and Mac Catalyst....
Read more >
Add a splash screen to a .NET MAUI app project
A .NET MAUI splash screen can be displayed on Android and iOS when an ... A background color for your splash screen can...
Read more >
Create a Splash Screen For Your .NET MAUI App the Easy Way!
NET MAUI Splashscreen 01:23 - Customize Splashscreen 05:25 - Outro Video edited with Camtasia (ref): https://techsmith.z6rjha.net/AJoeD ...
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