For Blazor WebAssembly we are using these settings for faster runtime as well as "fixing" a memory allocation issue on lower end devices:
<RunAOTCompilation Condition="'$(Configuration)'=='Release'">true</RunAOTCompilation>
<EmccTotalMemory Condition="'$(Configuration)'=='Release'">134217728</EmccTotalMemory>
Now we are using much of the same code in the Blazor Hybrid MAUI app. However, when adding these two settings to the csproj of the MAUI app the compiled output is still the same size (and compilation time same). Which made me wonder does it even make sense to run AOT on MAUI at all? If yes, is it a good idea? Using .NET 8 p6.