Size of a very large Xamarin Forms application

Asked

Viewed 248 times

3

Recently created an application using Xamarin.Forms, but after the release it was with a size of 15MB. My app has a total of 8 pages (views) among which only two use images and speaking in images the total size of my folder resoucers does not exceed 2MB.

It is normal for an application made in Xamarin?

In case I already left the Linker active when I went to publish, this helped a lot in reducing the size, but still compared to other apps of Google Play itself I see that the size of my application could be smaller.

Note: I would like to make it clear that I have already done another topic where I ask for tips to reduce the size of my application, where I got answers and I am following the tips from there (Reducing the application size). The question of this topic is whether it is normal an application developed in Xamarin without so many images get of this current size (15MB).

1 answer

3


Yes, totally normal, it is even small because it used techniques to remove much of the not so necessary excess. He needs to send all the necessary Mono, all the Xamarin, all the Xamarin Forms in addition to their application which should be a small percentage of this (not so much because of so many Resources, I thought exaggerated, but it might make sense).

Unfortunately on mobile the deploy It’s bad that way. They think they are making it easy, but on a device that needs more savings than the desktop they do not allow to save as is possible on the desktop. Mobile is a very wrong platform that should only be used as a last resort.

If you stop using Forms the size gets smaller, if you stop using Xamarin you get smaller. But maybe I can cut back on the techniques you’ve been talking about.

This is being improved in each version and starting from . NET 6 already starts to get very interesting, but still does not work miracles.

  • Hello, thanks for the answer, I am more relieved to know that it is normal this application size created in Xamarin. I’ll take a look at the Resources folder to see if I can take something or other and follow the hint of developing on native platforms so I don’t have problems with size. Thank you very much again.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.