capacitor VS NativeScript

Compare capacitor vs NativeScript and see what are their differences.

capacitor

Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️ (by ionic-team)

NativeScript

NativeScript empowers you to access native platform APIs from JavaScript directly. Angular, Capacitor, Ionic, React, Svelte, Vue and you name it compatible. (by NativeScript)
Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • OPS - Build and Run Open Source Unikernels
capacitor NativeScript
51 14
6,738 20,819
3.2% 0.6%
9.0 9.4
3 days ago 10 days ago
Java TypeScript
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

capacitor

Posts with mentions or reviews of capacitor. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-15.
  • Cordova Js in 2021
    1 project | reddit.com/r/appdev | 27 Dec 2021
    For apps that were created using Cordova, Capacitor would be a good replacement. It’s like Cordova (and even generally compatible with Cordova plugins), but was created to remove some of the awkwardness of using Cordova. Many of the most-used Cordova plugins have been rewritten as native Capacitor plugins, and Capacitor and the Core plugins are maintained by Ionic. Migrating from Cordova is fairly quick and easy, unless you’re using some obscure Cordova plugin.
  • Does anyone have experience converting their Vue web app to a mobile app?
    1 project | reddit.com/r/vuejs | 24 Dec 2021
    I'm currently looking at https://capacitorjs.com/ which seems cool. I'm just curious if anyone has successfully implemented this and what sort of challenges/limitations were encountered along the way.
  • Has anyone migrated AWAY from Flutter?
    6 projects | reddit.com/r/FlutterDev | 15 Dec 2021
    As for compiling natively, I wish more devs knew about Capacitor and Tauri. Capacitor is Ionic’s spiritual successor to Cordova, and Tauri is a Rust-based framework. Both run as native apps, and use the device’s native webview renderer for any html/css/js, and are thus framework-agnostic. This solution also makes my stack more modular and allows me to integrate js pkgs/Rust/wasm as I need. I’d love to see a performance comparison between Flutter and SvelteKit+Capacitor and Tauri. I suspect that Flutter’s past advantages of portability and performance aren’t as far ahead as they used to be. Or they just don’t compel me as much.
    6 projects | reddit.com/r/FlutterDev | 15 Dec 2021
    Try Capacitor!
  • Stock research "app" with React and Capacitor
    1 project | reddit.com/r/webdev | 4 Dec 2021
    "App" in quotes because I'm a web dev and don't know how to do real mobile development. The core webapp is built with React. Then, I'm using Capacitor to bundle and ship those HTML, CSS, and JS files to the App Store + Google Play. To the end user, it should just appear as a typical native app. I think it's pretty cool that the tooling exists now for us to do this nowadays. For the product itself, it's a stock research tool called Bloom. Our goal is that, when you’re looking to make a long term stock trade, you can use Bloom to do the research, find the relevant info with less noise, and ultimately save time. We want to improve on mainstream apps like Yahoo Finance, by focusing specifically on users that are looking to make longer term investments. This lets us deliver only the relevant info, without noise, ads, and clickbait. So outside of the basic functionality you would expect, like a watchlist, search, charts, and stats, here are some of Bloom’s unique features:
  • If Kizuna is released as an iOS app, can it/will it use HoloHost? Generally: can APPs use HoloHost?
    1 project | reddit.com/r/holohost | 19 Nov 2021
    However, we can emulate the current phone app experience by treating whichever frontend like a browser. That’s basically what many apps are today: specialized browsers that make particular API calls [instead of general-purpose browsers]. The backend still essentially works in the same manner here; it’s just being run by another host, who makes and validates entries on behalf of the agent. Kizuna is using this strategy initially. They’re shipping their mobile frontend with Capacitor.js, which I plan to use too!
  • New version of audioserve!
    1 project | reddit.com/r/audiosilo | 4 Nov 2021
    In other news, with the shit show that PWA seems to be on ios (I have an iphone, so it's important for me that it works on ios) I ordered a mac mini m1 so I could try getting it working in an app, probably with the use of Capacitor: Cross-platform native runtime for web apps (capacitorjs.com) it will just take a bit of time.
  • Capacitor: Cross-platform native runtime for web apps
    3 projects | news.ycombinator.com | 29 Oct 2021
  • Publish Your PWAs to the iOS App Store
    3 projects | news.ycombinator.com | 29 Oct 2021
    Whats the advantage of this over Capacitor (https://capacitorjs.com) from the Ionic team?

    Capacitor support Notifications and would be more extendable going forward I think. Although maybe more work upfront?

  • I've made a React app. Should you stick around?
    4 projects | dev.to | 28 Oct 2021
    I Used Figma for designing and prototyping, React with Typescript for the frontend implementation, Firebase as the backend and Capacitor.js for Android and iOS support.

NativeScript

Posts with mentions or reviews of NativeScript. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-04.
  • Want to ditch JSX
    1 project | reddit.com/r/reactnative | 23 Nov 2021
  • Is it viable to launch a game in Steam marketplace that has a low resolution like 640x480?
    2 projects | reddit.com/r/gamedev | 4 Nov 2021
    maybe https://nativescript.org/ is something for you? 😅
  • JavaScript: A Wonderful Language for a Beginner
    4 projects | dev.to | 22 Aug 2021
    Writing JavaScript for the server-side is possible, also writing JavaScript for mobile applications and desktop applications is also possible. Apache Cordova is a free mobile application development framework that allows you to develop an application in HTML/JavaScript and then it wraps it into a native container that can access the device functions of several platforms and hence enables the web app to work on mobile devices. Electron is a free and open-source framework for creating native desktop applications with web technologies. It allows building cross-platform desktop apps with JavaScript, HTML, and CSS. There are other examples of such development frameworks that exist like Ionic and NativeScript.
  • NativeScript vs. React Native
    8 projects | dev.to | 18 Aug 2021
    NativeScript's vision is to “Liberate your development by using platform APIs directly without leaving your [love] of JavaScript.” Think of NativeScript as the go-to tool when building cross-platform mobile apps with JavaScript in a framework-agnostic team.
    8 projects | dev.to | 18 Aug 2021
    When it comes to contributors, React Native handily wins with over 2,200 contributors on GitHub while NativeScript has 208 contributors. And, NativeScript is used by over 3.5k developers while React Native is used by just under 720k developers on GitHub.
  • What are some modern languages I should learn for mobile dev?
    1 project | reddit.com/r/programmer | 12 Aug 2021
    JavaScript ─> NativeScript Is what feels the most appealing to me.
  • My Dev Journey: Week 12
    1 project | dev.to | 25 Jul 2021
    As mentioned before the NativeScript Playground has been great to get to grips with so far. Their docs have also been a great resource too.
  • What framework for native mobile apps with Angular ?
    1 project | reddit.com/r/Angular2 | 24 Jun 2021
  • The Plan for React 18
    3 projects | reddit.com/r/javascript | 10 Jun 2021
  • Coinbase’s successful transition to React Native
    3 projects | news.ycombinator.com | 14 May 2021
    None of those! The real answer is Nativescript -- https://nativescript.org

    It doesn't get the buzz, and the ecosystem is somewhat old (it's surprisingly common to run into a repo that hasn't been touched in a year) but it's the superior platform to React Native and you get none of the capriciousness of the React ecosystem (if anything the Nativescript community might need a jolt). Nativescript is incredibly productive and you can bring along frameworks that do their best to move the work to compile time (like Svelte).

    I think the best options form a spectrum like this:

    (PWA)-------(NativeScript/React Native)------(Flutter)------(Kotlin/Alternative iOS environments)--------(Objective-C/Swifth/Java "fully native")

What are some alternatives?

When comparing capacitor and NativeScript you can also consider the following projects:

react-native - A framework for building native applications using React

vite-plugin-rsw - 🦀 wasm-pack plugin for Vite

Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond

Apache Cordova - Apache Cordova Android

Titanium - 🚀 Native iOS- and Android- Apps with JavaScript

svelte-capacitor - Build hybrid mobile apps using Svelte and CapacitorJS with live reloading on Android and iOS!

obsidian-calendar-plugin - Simple calendar widget for Obsidian.

ionic-storage - Ionic Storage module for Ionic apps

Svelte - Cybernetically enhanced web apps

Ionic Framework - A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.

capacitor-oauth2 - Generic Capacitor OAuth 2 client plugin! Show your appreciation with a Github ★