Desktop Platform Support #11
Replies: 5 comments 6 replies
-
Hi @NathanaelA Yes, it would be a massive feature to have. Completely agree with you. |
Beta Was this translation helpful? Give feedback.
-
I've wished for this for a while now! 😎👍 |
Beta Was this translation helpful? Give feedback.
-
I bet this is a unpopular opinion, but I don't think we should support desktop platform for now. The NS team has already a lot on their plate with the mobile platforms. Updating Core for almost every major release of Android and iOS, making sure the CLI works with the newest Xcode version and MacOS, helping with all the plugins having deprecated code, keeping track on policy changes to App Store and Google Play that requires code changes, and so on. This is just some example of tasks that needs to be done for NS to survive, but I'm sure we want NS to thrive as well. I love NS, but the condition it is in today requires a lot of hacks and workarounds to make things work. Ironing out these things, and further develop for the mobile platform (like a working app sync #35) is in my opinion much more important. Then we can consider adding desktop platform support when it won't affect the mobile platforms negatively. |
Beta Was this translation helpful? Give feedback.
-
Even If desktop is not the priority, I would say that this can be valuable for many IoT devices running GNU/Linux. Relate-to: NativeScript/NativeScript#27 (comment) |
Beta Was this translation helpful? Give feedback.
-
One of the largest requested feature over NativeScript life has been Desktop support.
Bundyo created a basic prototype using NodeGui since this project actually support Linux, Mac and Windows and used QT for its display, and allows packing into a final executable.
I believe it is one of directions to proceed to create a method to create Gui apps in NativeScript for the Desktop. If we can make a NS-Core app fully compatible, the other flavors should be able to work with minor to zero changes as all of them use the core pieces. Unfortunately NodeGui is still early in its life cycle and might require changes to NodeGui.
The other possibility it to use Tauri, or Neutralino it supports Linux, Mac, Windows native Executable; but offers some functionality that NodeGui does not, if we were to go the Tauri route, we could probably technically support pure HTML/web target for all flavors in addition.
Tauri is rust based and its runtime is very small, making it a awesome candidate.
Neutralino is C++ based and its runtime is very small also.
Relevant links prototype code:
Node Gui & Tauri
Please add 👍 if you want to see this, not me to comments. I would like to keep the discussion to debating which of the two directions to go, and/or people who actually want to help build this.
Beta Was this translation helpful? Give feedback.
All reactions