Hello,
I am creating a project in .Net MAUI (net6.0) (only for Android 11+ and Windows UI3) and I have used your library from NuGet (Esri.ArcGISRuntime.Maui 100.15.0.-preview4), and everything is working as expected (displaying a map from our internal map server, searching for points, displaying nearby addresses, etc.). However, I have encountered one issue, that when I built the application in Release mode, the resulting size of the application was around 140 MB. When I removed Esri.ArcGISRuntime.Maui from the application and built it again in Release mode, the size of the application was around 35 MB.
My question is whether it is possible to reduce the size of my resulting application while still using your excellent component? We are using Esri in other projects, such as Winform .Net 4.8 and UWP.
In the MAUI project, the following settings are configured:
- Android package format = apk
- Enable trimming = Release & net6 …
- Trimming granularity = Link
If needed, I can provide the complete XML configuration of the project.
Best regards,
Pavel Graňák
Translator ChatGPT: CZE --> EN