To set an alternate app icon in a .NET MAUI app,Here's how we can achieve this:

Lakhan Bairawat 0 Reputation points
2024-04-30T05:58:18.6366667+00:00

Previously, in Xamarin.Forms, we could set alternate app icons by registering multiple icons in the Android manifest and iOS Info.plist files. This allowed us to change the app icon and app name based on an identifier.

However, in .NET MAUI, achieving the same functionality isn't as straightforward. Currently, .NET MAUI lacks built-in support for dynamically changing the app icon and name at runtime based on an identifier.

Developer technologies | .NET | .NET MAUI
Developer technologies | .NET | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,126 Reputation points Microsoft External Staff
    2024-04-30T07:32:11.0766667+00:00

    Hello,

    After the description of the MAUI program icon documentation, this same feature does not currently exist.

    Q&A is not a reporting or tracking system. If you want to report a feature request in Maui please report it in the Maui github repository. We will clear details to be able to reproduce and troubleshoot the problem. When you post it, please include version numbers, exact repro steps, and the difference between the expected behaviour and actual behaviour.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.