When to use Native Code, Xamarin, Cordova and React Native?
After reading a lot of articles I thought to write a small and clear view when to use Native Code, Xamarin, Cordova and React Native. Note this article is for the one who needs to make a career choice or Business Decision Makers.
If you already had selected native or your company have the native expertise and it performing well then maybe for the running project this article will not help you, but for executing new project definitely, it will help you.
So when to use Native Code?
If in your project you have to access device features like camera, memory or you may be doing some memory critical operations then Native is the best choice. There is no any comparison between native and hybrid but for business, it is required to choose the option as per need.
If you want to build an application which is mission critical and you have good native developer team then it's the best choice.
When to use Xamarin?
If you have C# experience or your team is in development with .NET and you need to have more control in the mobile application too, with the best performance.
You need to have native UI, want to play with office line storage with a mobile database like SQL lite etc, and you need to develop quickly, then Xamarin is the best choice. In terms of learning curve also will be easy for the .Net developers. But yes they need to know mobile application standard provided by play store and app store.
Xamarin also has Xamarin university and it's own test cloud which will help a developer learn and test well for a production application.
When to use Cordova?
If you have a team who know web development well and your project is ready in web and you also need your application in mobile too quickly then Cordova is the best choice. With very less time you can take your web application into mobile with Cordova.
A beauty of Cordova comes you do not have rewrite all the application for all different platform it will use HTML, JavaScript and CSS for rendering so all the effort used in the web can be utilized if planned and developed well.
Remember for eCommerce store for websites who have to show the web data in mobile then there is no meaning to try for native as you can not do anything except styling the buttons with natives. In my view, a one who is using API for data (about 80%) display with very less processing Cordova is the best choice. There are many good mobiles in Cordova that show that it's best for business. Some apps in Cordova can be found in
https://cordova.apache.org/ in Cordova App Showcase sections.
When to use React Native?
If you want to showcase your app with native UI with your expertise in web development then React Native is the best choice. But you have to write code for all apps separately as you need to use native API for native UI. But you JavaScript knowledge will be utilized but you can get somewhat quicker delivery than native as your web API and JavaScript assets will be reused. It is the best ch for those who already using React for web development too. Refer http://www.reactnative.com/ for more.
So I think, I had given a sort of view when to use Native Code, Xamarin, Cordova and React Native. All of them have it's own beauty so as a Business Decision Makers or choosing a career it will help you. Again I will say this is my view, if you want to add in any of them then please comment I will add it in my next post with few more points.