When comparing Apache Cotton vs NativeScript, the Slant community recommends NativeScript for most people. In the question“What are the best frameworks for developing Android apps with JavaScript?” NativeScript is ranked 2nd while Apache Cotton is ranked 6th. The most important reason people chose NativeScript is:
Used by Svelte framework for native development.
Ranked in these QuestionsQuestion Ranking
Pros
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 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.