NativeScript vs Xamarin: What are the differences?
What is Xamarin? Create iOS, Android and Mac apps in C#. Xamarin’s Mono-based products enable .NET developers to use their existing code, libraries and tools (including Visual Studio*), as well as skills in .NET and the C# programming language, to create mobile applications for the industry’s most widely-used mobile devices, including Android-based smartphones and tablets, iPhone, iPad and iPod Touch.
NativeScript and Xamarin belong to "Cross-Platform Mobile Development" category of the tech stack.
Some of the features offered by NativeScript are:
- 100% Access to Native Platform API
- NativeScript is free of charge as an open source project
On the other hand, Xamarin provides the following key features:
- Cross-platform development- Thinking about supporting iOS, Android, Mac and Windows? Xamarin allows you to write it all in C#.
- Reuse existing code- Use your favorite .NET libraries in Xamarin apps. Easily use third-party native libraries and frameworks.
- Discover as you type- Explore APIs as you type with code autocompletion.
"Access to the entire native api" is the top reason why over 55 developers like NativeScript, while over 111 developers mention "Power of c# on mobile devices" as the leading cause for choosing Xamarin.
NativeScript is an open source tool with 17.1K GitHub stars and 1.26K GitHub forks. Here's a link to NativeScript's open source repository on GitHub.
Rdio, Olo, and Rumble are some of the popular companies that use Xamarin, whereas NativeScript is used by Work Box, Zege Technologies, and GeekyAnts. Xamarin has a broader approval, being mentioned in 74 company stacks & 65 developers stacks; compared to NativeScript, which is listed in 10 company stacks and 23 developer stacks.