-
Notifications
You must be signed in to change notification settings - Fork 238
Will these libraries increase the app size? #5
Comments
Am in the process of creating a framework like Template10 using this as base. Since I started Xamarin few weeks ago only and this is a great reference. These Nuget packages are only KB in size so don't contribute much to appsize(except Card.io). Here is the current nuget packages being used in Droid version 10mb one.
I know this doesn't answer your question completely but since its been 15 days so thought of sharing my view. Probably a contributor would answer this much better. |
Thank you @jerinjohnk for taking time to let me know this. Much appreciated. Happy to know these packages are lightweight. I understand the size you end up is after "Linking" and "ProGuard" ing. Let me know if that is that correct. |
Yes linking was set to |
@jerinjohnk Thank you. I have only read about Linking & ProGuard and have not used it yet, that's why I did not get right a way from your first post. Sorry about that. |
@jerinjohnk I think for release build we need to uncheck "Use Shared Runtime". Do you know if that's correct? If so, the size is still bigger. Isn't it? After all the hard work when I tried to create the release package I found it as 24mb after linking (where it was only 5mb apk in debug). |
Even the app that I built was 23MB usually we use it for B2B apps and not for store apps.(trying react native to compare size). |
Thank you @jerinjohnk . The posts are very much beneficial. I actually did almost all the things in the first post. Linking SDK & User Assembly does reduce a few more MBs, however it doesn't seem to be working. App crashes all the time. Trying to find a way to debug this. Let us know what you find with React Native. A quick googling reveals that the minimum size will be 4mb as RN has to include JSRuntime with the package. I am a full stack developer, and I have been working on AngularJS for years now.. I personally WILL NEVER go with any JS frameworks for development other than web development, given it is a massive mess to develop, debug & maintain the app. I love JavaScript and TypeScript to develop web apps. However C# is much better than JS/HTML/CSS for anything other than web. Ignore if you are a grounded JS dev. I just thought to share something from experience. |
I think I had used "link sdk only" as it was the safest and it was running perfectly without any crashes. |
@jerinjohnk Agree. However Xamarin.Forms previewer - this is yet to be stable I think, Gorilla Player (if you are using forms), Xamarin.Workbook are doing very similar thing to save us a lot of time. I think it is a nice idea to use Windows Mobile first (though Android & iOS may be our primary focus) as I think it gives very descriptive error message, great debug deploy cycles etc. while working on Xamarin.Forms. Also I believe debugger in UWP environment provides Edit & Continue feature (not yet tried, but remember seeing a demo somewhere). |
Hi looks like its turning into a discussion now here is my email id we can discuss it further there. |
Sure. Thanks a bunch! |
I am now re-writing one of my existing apps to use the animation, dialogs and other cool features of this BikeSharing app. However seeing the amount of libraries I had to install I am a little bit concerned/worried as to how much will be size of the app when I ship it on to the store (all the three platforms, mainly android). Will all these libraries (acr, unity, plugin, user dialogs, ffimage, fonts, etc) will be too much in size even after performing linking & ProGuard etc..? Did we already try release build for Bikesharing app? May I know what is the size of installation package on each platform?
The text was updated successfully, but these errors were encountered: