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
There are a few issues opened on the maui repo saying changing the app icon is not working.
This is a result of 2 things:
1. No Platform Docs
The docs do not say that the developer is supposed to actually go change values in the manifests. This is probably confusing because by default Windows updates the appxmanifest, but Android/iOS/Mac Catalyst do not. The fact Windows updates was just a byproduct of other things. The initial design was to take a more conservative approach and just generate icons.
However, regardless of what is happening, the docs need to include a section of editing the platform manifests on all platforms. This includes the Package.appxmanaifest on Windows, AndroidManifest on Android and Info.plist on iOS/Mac Catalyst.
2. Inconsistent Build Behavior
As mentioned above, Windows generates the correct manifest entries by default. The other platforms do not.
So is the issue originally that this was supposed to happen automatically by Maui at compile time? (icons being put/declared automatically for each platform in the appropriate places)
But do to whatever, this didn't happen so we'll have to update the docs to show how to get icons into each platform?
If Q1 is true, is it going to go back to this eventually?
It was not supposed to happen automatically - for some platforms. Genius, I know. Basically only Windows and Tizen. Obviously this was incredibly not-smart and confusing. And we never told anyone either. So technically "by design" but the design was wrong.
Activity
[-]Documentation is incomplete[/-][+]MauiIcon documentation is incomplete[/+]adegeo commentedon Jun 13, 2022
@mattleibow Ok thanks for letting us know.
Quick questions:
mattleibow commentedon Jun 14, 2022
So the answers:
Android: https://docs.microsoft.com/en-us/xamarin/android/deploy-test/release-prep/?tabs=windows#Specify_the_Application_Icon
iOS: https://docs.microsoft.com/en-us/xamarin/ios/app-fundamentals/images-icons/app-icons?tabs=macos
Windows: https://docs.microsoft.com/en-us/windows/apps/design/style/app-icons-and-logos
davidbritch commentedon Jun 17, 2022
dotnet/maui#8063
dotnet/maui#8063