Android application type
.NET Android (net7.0-android, net8.0-android, etc.)
Affected platform version
Not relevant
Description
This is a documentation issue - I would like to know what optimization settings are recommended when publishing a Release version to the Google Play store.
For Xamarin there was a lot of detailed documentation:
For .NET MAUI there is no equivalent about what settings to use, and in Visual Studio it looks like R8 is the only recommended code shrinker now. I cannot find a ProGuard option in the project settings and the only shrinker option in Visual Studio is R8:

However, I cannot find any documentation on the R8 shrinker becoming the new default. In the .NET for Android repo there is https://github.com/xamarin/xamarin-android/blob/main/Documentation/guides/D8andR8.md which was last updated 6 years ago.
That document says
If AndroidDexTool is omitted, dx and CompileToDalvik should be used. Until D8/R8 integration is deemed stable and enabled by default.
However, that was 6 years ago...
What are the recommended settings for releasing a .NET for Android / MAUI Android app today?
Steps to Reproduce
Not applicable
Did you find any workaround?
No response
Relevant log output
No response
Android application type
.NET Android (net7.0-android, net8.0-android, etc.)
Affected platform version
Not relevant
Description
This is a documentation issue - I would like to know what optimization settings are recommended when publishing a Release version to the Google Play store.
For Xamarin there was a lot of detailed documentation:
For .NET MAUI there is no equivalent about what settings to use, and in Visual Studio it looks like R8 is the only recommended code shrinker now. I cannot find a ProGuard option in the project settings and the only shrinker option in Visual Studio is R8:

However, I cannot find any documentation on the R8 shrinker becoming the new default. In the .NET for Android repo there is https://github.com/xamarin/xamarin-android/blob/main/Documentation/guides/D8andR8.md which was last updated 6 years ago.
That document says
However, that was 6 years ago...
What are the recommended settings for releasing a .NET for Android / MAUI Android app today?
Steps to Reproduce
Not applicable
Did you find any workaround?
No response
Relevant log output
No response