Generally, the main distinction between the two platforms is that Xamarin. Forms allows reusing the same UI code for multiple OS, whereas Xamarin Native is adapted to APIs, specific to a specific platform – Windows, iOS, Android.
Though both Xamarin and React Native offer near-native performance, Xamarin runs the fastest code on Android and iOS and has a user interface (UI) for using native tools. TLDR: In Xamarin vs. React Native, Xamarin has more brownie points for native-like performance. Xamarin wins.
Developed by Microsoft, Xamarin is a hybrid mobile application platform based on the . NET environment. It allows developers and designers to create native Android, iOS, and Windows apps through a shared . NET codebase.
Xamarin uses . Net languages, such as C# and F#, which are common languages and can be used to write native platform code. React Native uses JavaScript, which was not invented for it, but it still does a great job with React Native apps.
Xamarin.Forms
Pros
Cons
Xamarin.Android, Xamarin.iOS, Windows Phone, Windows RT
Pros
Cons
In addition to that Xamarin says on https://xamarin.com/forms:
Which Xamarin approach is best for your app?
Xamarin.Forms is best for:
Xamarin.iOS & Xamarin.Android are best for:
Aside from the points shown in the Xamarin Website, you should also consider:
Your team's background
Does anyone in your team have a previous experience coding natively for Android or iOS (using Java or Obj-C/Swift)? This experience is reused in native Xamarin, but they'll have to learn another platform to code in Forms.
The same is true if they know nothing about iOS/Android but know some XAML. Sure Xamarin.Forms are different from WPF/Silverlight, but knowing XAML surely helped me using Forms.
Performance
Xamarin Forms still has some issues, such as initialization time. You should consider whether or not this will be a problem for your final user. I wouldn't bother to wait a while for a dashboard app that I use once in a while to open, but I'd be angry if the same happened to a messaging app.
Time until delivery
Since the code sharing is bigger when using Forms, you may expect a quicker delivery time.
Complexity of your app
Considering the previous point, using Forms you may stumble on some show stopper bug (it's a very new technology after all) that will null the time gains. Consider the complexity of your application before choosing.
From the Xamarin Website
Xamarin.Forms is best for:
Xamarin.iOS & Xamarin.Android are best for:
Apps that require specialized interactions
Apps with highly polished design
Apps that use many platform-specific APIs
Apps where custom UI is more important than code sharing
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With