Visitar URL original
Support for desktop OSs (OSX, Windows, Linux) · Issue #27 · NativeScript/NativeScript · GitHub
Skip to content

Support for desktop OSs (OSX, Windows, Linux) #27

Description

@pitaj

This would be a killer feature. If you even made a layer for NW.js, that would be awesome.

Please vote for this issue in our ideas portal.

Please don't write a comment saying +1. Instead vote for it in the ideas portal or by hitting the quick reply buttons just below this post.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Activity

  1. kasajian commented on Apr 6, 2015

    @kasajian

    How do I up-vote this?

  2. Sibling10 commented on Apr 24, 2015

    @Sibling10

    +1 - Core dev team might want to take a look at the latest version of WinJS library for ideas.

  3. RangerMauve commented on May 21, 2015

    @RangerMauve

    This'd be pretty cool. And with windows 10 Chakra integration that'd be not too hard, I'd imagine. Maybe it'd also be a step for integrating with windows phone, too.

  4. joao-parana commented on Sep 13, 2015

    @joao-parana

    +1

  5. mrjjwright commented on Oct 23, 2015

    @mrjjwright

    Can somebody talk about the feasibility of doing this. It looks pretty doable based on the iOS runtime as there is a pretty clean layer for calling Objc-C.

  6. valentinstoychev commented on Oct 26, 2015

    @valentinstoychev

    Yes it is doable and relatively easy (in a matter of week) a POC app can be created that can show a running MacOS app written in {N} and accessing the native desktop APIs. The real effort will after that when the abstraction layer that will allow you to reuse the UI declarations between mobile and desktop should be written.

    I wonder if some of you is interested in doing this POC or dealing with the abstraction layer? It is really not a top priority for the moment and I don't see it becoming a priority in the next 6 months for the core team.

  7. alexrainman commented on Oct 26, 2015

    @alexrainman

    I wish you keep mobile separated from desktop development. Please, keep the core lite. This can be somekind of optional plugin, dont you think?

  8. listepo commented on Oct 30, 2015

    @listepo

    +1

  9. buu700 commented on May 5, 2016

    @buu700

    If desktop support is a lower priority than mobile, maybe it could be implemented on top of Qt?

    Since they've already done the work of wrapping up a JS runtime and cross-platform UI abstraction together, it seems like NativeScript could hypothetically just map its own UI markup's primitives to the equivalent QML code.

  10. anton-staroverov commented on May 7, 2016

    @anton-staroverov

    +1

  11. zakdances commented on Jul 27, 2016

    @zakdances

    I don't think QT is needed. Ubuntu already supports QML natively for it's UI markup. And also JavaScript and Swift for it's controller logic.

    So only Swift (plus some QML) is necessary to support iOS, OSX, and Ubuntu. But, as mentioned above, the hard part is the API differences.

    HOWEVER, with interoperability being an official goal of Swift 3.0, the syntactic differences between Apple APIs (Foundation, AppKit, UIKit, etc) might be lessened. Which should make the {N} abstraction layer easier to create for all 3 platforms.

    So perhaps Swift 3.0 is a good runtime target for this goal (even if it temporarily excludes Windows).

  12. icode commented on Sep 28, 2016

    @icode

    +1

  13. andy-tai-leeco commented on Oct 19, 2016

    @andy-tai-leeco

    no Swift. Why adding a dependency on a language not absolutely needed for the desktop, in the sense of Java being needed for Android.

  14. hypery2k commented on Dec 19, 2016

    @hypery2k

    Are there any plans to support desktop OS in the near future? Maybe macOS?

  15. 23 remaining items

  16. DrSensor commented on Jan 24, 2020

    @DrSensor

    I think this project worth to look at.
    https://github.com/tauri-apps/tauri

  17. andreasbhansen commented on Mar 10, 2020

    @andreasbhansen

    is the only way NativeScript can win the popularity contest '__')

    Import to remember that search trends ≠ actual industry adoption. Nevertheless, desktop support would be great!

  18. redradist commented on Feb 5, 2021

    @redradist

    This feature right now is not no optional ... it is almost required to be competitive with other implementations like Flutter, Blazor Mobile Bindings (allow not only use platform API but also use hybrid approach and mix code) and so on

  19. NathanaelA commented on Feb 5, 2021

    @NathanaelA
  20. buu700 commented on Mar 3, 2021

    @buu700

    I brought up a similar idea in an earlier comment on this issue five years ago, but would it make sense for NativeScript to target Flutter rather than each platform directly (or as a third "platform" in addition to Android and iOS)? Since Flutter supports desktop platforms, and version 2 released today now has production-quality support for the web, this would kill four birds with one stone.

    Alternatively, what about just adding web support and putting a pin in native desktop support? While not ideal, Electron is basically fine on desktop, and being able to target every platform with one code base would be a huge improvement from the current situation where we need to maintain different templates for web and native.

  21. NathanaelA commented on Mar 4, 2021

    @NathanaelA
  22. buu700 commented on Mar 4, 2021

    @buu700

    Makes sense! The blog post said production-quality, but upon testing the flutterfolio.com demo, while it looked great at first glance (and is certainly impressive regardless), it spiked my CPU to 50+% just by being open in the foreground and had enough subtle issues that I wouldn't consider using it production in its current form.

    And awesome, glad to hear that! I'll go ahead and follow the RFC issue to keep up with the progress.

  23. suchorski commented on Jun 14, 2021

    @suchorski

    +1

  24. TheJaredWilcurt commented on Jun 19, 2021

    @TheJaredWilcurt

    Could I get some help adding NativeScript-vue into this Desktop + Web boilerplate? It's set to build for both:

    There are branches for Vue 2 and Vue 3.

  25. rzr commented on Jan 27, 2022

    @rzr

    I have interest for GNU/Linux support

    May top post be edited since URL is gone:

    Relate-to: NativeScript/rfcs#11

  26. martin-braun commented on Jun 23, 2022

    @martin-braun

    I would love to see this happening and I think it should head in the direction of UWP on Windows and Mac Catalyst on macOS. The former will be the most work, the latter should be possible easily.

    Until this is done, we really have to leverage PWA or things like Electron. True native is different.

  27. self-assigned this
    on Jul 26, 2022
  28. listepo commented on Sep 25, 2025

    @listepo

    Hi @triniwiz any news?

  29. triniwiz commented on Jun 26, 2026

    @triniwiz
    Member
  30. listepo commented on Jun 28, 2026

    @listepo

    @triniwiz thanks, so nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions