When comparing Xamarin vs NativeScript, the Slant community recommends Xamarin for most people. In the question“What are the best frameworks for developing cross-platform mobile apps?” Xamarin is ranked 2nd while NativeScript is ranked 9th.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Xamarin Insights and Test Cloud increase user experience
Pro Cross-platform
Apps built with Xamarin can run natively on Android, iOS and Windows Mobile. Xamarin compiles the same C# or F# codebase to native code that runs on several platforms.
Pro Open source
The Xamarin SDK is free and open source and released under the MIT license.
Pro Svelte Native
Used by Svelte framework for native development.
Pro Leverages knowledge in Angular
Angular is a very popular framework, and teams already developing angular will feel right at home with Nativescript + Angular
Pro Works great with vue.js
Cons
Con Build time tends to be longer than Android Studio
Con Slow to implement new features; must wait 1+ month to be able to access it
Con UI editing and creation is unstable
Con Nativescript + Angular apps for Android tend to have long startup times.
It's very difficult to have acceptable startup times with NS+Angular in Android. It's not uncommon to see apps taking 6 sec or more to start AFTER having been optimized with Webpack (mandatory!). The same app in iOS takes only 2-3 sec. Also, this seems to happen only with the NS+Angular flavour. People using plain NS (without Angular) don't seem to have the issue.