dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.05k stars 1.73k forks source link

Android Overview Page and the iOS App Switcher page icon problem maui #16005

Closed vsfeedback closed 1 year ago

vsfeedback commented 1 year ago

This issue has been moved from a ticket on Developer Community.


[severity:It bothers me. A fix would be nice] Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.6.2

Problem: Changing the MauiIcon doesn't change the icon on the Android Overview Page and the iOS App Switcher Page.

The Icon should look like this: image

But looks like this:

Android image

iOS image

In the .csproj the Image defs. are:

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

<!-- Splash Screen -->
        <MauiSplashScreen Include="Resources\Splash\splashscreen.svg" BaseSize="256,256" />

<!-- Images -->
        <MauiImage Include="Resources\Images\*" />
        <MauiImage Update="Resources\Images\initimage.svg" BaseSize="168,208" />

<!-- Custom Fonts -->
        <MauiFont Include="Resources\Fonts\*" />

<!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
        <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
    </ItemGroup>

Only if I change the MauiIcon to a single .jpg have I seen the right icons on the Android Overview and the iOS App Switcher pages.


Original Comments

Eigil Krogh Sorensen on 6/10/2023, 03:42 PM:

(private comment, text removed)

Feedback Bot on 6/11/2023, 06:58 PM:

(private comment, text removed)

Eigil Krogh Sorensen on 6/13/2023, 04:22 PM:

(private comment, text removed)


Original Solutions

(no solutions)

ghost commented 1 year ago

Hi @vsfeedback. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

mattleibow commented 1 year ago

For iOS this is a duplicate of https://github.com/dotnet/maui/issues/8685#issuecomment-1275239160

ghost commented 1 year ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback to reproduce the issue but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.