Posts

Showing posts from April, 2017

Xamarin App Startup Speed Comparison on Android

Device: Google Pixel XL Using Release configuration with Shared Mono Runtime disabled with Shared Library instead of PCL.

Estimated seconds to launch the app three times and land on the first screen after the splash screen.

The last number shows the storage size of the app after being installed.

Xamarin Native

.93 seconds.89 seconds.95 seconds8.36 MB
Xamarin.Forms without XAML

1.72 seconds1.69 seconds1.65 seconds22.84 MB
Xamarin.Forms with XAML

1.92 seconds1.92 seconds1.96 seconds22.84 MB

Xamarin Forms vs React Native

Xamarin FormsSlower app development reload time having to stop debugger, recompile and start again. (Estimated 10 seconds on Google Pixel.)Font icon integration is possibleUI elements are rendered with the look and feel of the target platformStrongly typed by design using C#F12 code navigation throughout C# source codeWeb Service calls using C# through multiple waysJSON to C# object conversion using JSON.net or other optionsStep-through debugging built into the IDEAble to specify package name up frontThere is one recommended and seamless way of doing hierarchical navigationVisual Studio for Mac Preview doesn't have the option to create a new XAML Forms file yet on an existing project. Use Xamarin for Mac instead for now.Facebook and Slack channels available. React NativeFaster app development reload time using Hot Reload and Live Reload. (Estimated 2 seconds on Google Pixel when using Hot Reload.)Navigation integration is complicated and spread thin across multiple ideasFont icon…