NativeScript
NativeScript

271
387
408
Xamarin
Xamarin

553
509
699
Add tool

NativeScript vs Xamarin: What are the differences?

What is NativeScript? Build truly native apps with JavaScript. NativeScript enables developers to build native apps for iOS, Android and Windows Universal while sharing the application code across the platforms. When building the application UI, developers use our libraries, which abstract the differences between the native platforms.

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
  • Code with JavaScript. Style with CSS

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.

- No public GitHub repository available -

What is NativeScript?

NativeScript enables developers to build native apps for iOS, Android and Windows Universal while sharing the application code across the platforms. When building the application UI, developers use our libraries, which abstract the differences between the native platforms.

What is Xamarin?

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.

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose NativeScript?
Why do developers choose Xamarin?

Sign up to add, upvote and see more prosMake informed product decisions

What are the cons of using NativeScript?
What are the cons of using Xamarin?
    Be the first to leave a con
    What companies use NativeScript?
    What companies use Xamarin?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with NativeScript?
    What tools integrate with Xamarin?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to NativeScript and Xamarin?
    React Native
    React Native enables you to build world-class application experiences on native platforms using a consistent developer experience based on JavaScript and React. The focus of React Native is on developer efficiency across all the platforms you care about - learn once, write anywhere. Facebook uses React Native in multiple production apps and will continue investing in React Native.
    Ionic
    Free and open source, Ionic offers a library of mobile and desktop-optimized HTML, CSS and JS components for building highly interactive apps. Use with Angular, React, Vue, or plain JavaScript.
    React
    Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
    Apache Cordova
    Apache Cordova is a set of device APIs that allow a mobile app developer to access native device function such as the camera or accelerometer from JavaScript. Combined with a UI framework such as jQuery Mobile or Dojo Mobile or Sencha Touch, this allows a smartphone app to be developed with just HTML, CSS, and JavaScript.
    PhoneGap
    PhoneGap is a web platform that exposes native mobile device apis and data to JavaScript. PhoneGap is a distribution of Apache Cordova. PhoneGap allows you to use standard web technologies such as HTML5, CSS3, and JavaScript for cross-platform development, avoiding each mobile platforms' native development language. Applications execute within wrappers targeted to each platform, and rely on standards-compliant API bindings to access each device's sensors, data, and network status.
    See all alternatives
    Decisions about NativeScript and Xamarin
    No stack decisions found
    Interest over time
    Reviews of NativeScript and Xamarin
    Review ofXamarinXamarin

    I'm working in Huge company and I'm in charge to choose the cross-platform environment to develop Mobile application for all our services. I choose Xamarin but because the error i get everytime in Visual Studio, I want to leave it and recommand another solution. In fact that's why I'm here.

    Weird, Install VS2017 with Xamarin on a new PC Create a new app GOT ERRORS.....!!!!!

    Thank you for considering this

    Review ofNativeScriptNativeScript

    It is using the native components to build the UI and offers the best skills reuse story. All you need to know is JS/TS and CSS. Angular 2 is also supported which leads to even more code reuse across web and mobile.This is also the best way to access the native platform APIs directly.

    Review ofNativeScriptNativeScript

    NativeScript allows you to reuse your JS skills to build Native mobile apps without any sacrifices. It takes a bit to learn about all possible features, but each time you discover a new one you can't help but get more and more excited.

    How developers use NativeScript and Xamarin
    Avatar of Foundbite
    Foundbite uses XamarinXamarin

    Xamarin enables us to develop for 3 platforms (iOS, Android and Windows Phone) with one core codebase coded in C#. Xamarin has allowed us to release an app on all three platforms and develop them simultaneously - not bad for a team of 2!

    Avatar of Ana Phi Sancho
    Ana Phi Sancho uses XamarinXamarin

    Self taught : acquired knowledge or skill on one's own initiative. Platform: OSX 10.8 or later. Mac computer user.

    Avatar of Robert Brown
    Robert Brown uses XamarinXamarin

    Build & ship OS X & iOS apps from Visual Studio on Windows. Requires paid team license.

    Avatar of Daniel Kovacs
    Daniel Kovacs uses XamarinXamarin

    Mobile app development with PCL and Xamarin.iOS and Xamarin.Android.

    Avatar of Olo
    Olo uses XamarinXamarin

    Cross platform, white labelled native mobile apps

    How much does NativeScript cost?
    How much does Xamarin cost?
    Pricing unavailable