Re:Tauri Mobile Alpha Release
by solarkraft on Saturday December 10, 2022 @08:42AM
(#33932536)
This is a huge reason to go with Tauri over Electron. I don't get why there isn't (or is there) a simple way to package a web app for all platforms. Everyone still makes this weird artificial distinction between Desktop and Mobile despite the technical capabilities and user expectations being close to the same.
[ Parent
| on HN ]
I wonder about that. Electron is mature. Well supported. Well documented. Predictable on desktop on account of using a known rendering engine. When it comes to having a mobile app as well, I look to obsidian for inspiration on possible approach since they built a non trivial app with a relatively tiny team. Their stack includes electron for the desktop and they re-used most (All?) of the core with capacitor for mobile. This included theming and plugins. Would be hard to bet against a stack that has that kind of real world success story behind it.
Re:Tauri Mobile Alpha Release
by capableweb on Saturday December 10, 2022 @08:44AM
(#33932544)
This release is basically the reason I chose Tauri when I started writing my app like a year ago. Very exciting to see, can't wait to try it out.
Re:Tauri Mobile Alpha Release
by return_to_monke on Saturday December 10, 2022 @03:56PM
(#33936700)
https://flutter.dev has very good DX in my opinion for all platforms.
I've been in and out of flutter quite a few times. Only word of caution is, its built by Google, so have a backup plan always ready.
>I don't get why there isn't (or is there) a simple way to package a web app for all platforms.
There is. It's called hosting it on the web.
which is still very limited when you need low-level/native access on the platforms, mobile phones especially iphones are very much a locked-in device as much as they can get away with it, android is better though.
If you need native access to a platform, write a native application.
Re:Tauri Mobile Alpha Release
by Devagamster on Saturday December 10, 2022 @11:54AM
(#33934153)
This is obtuse. Native applications require multiple codebases. Electron doesn't. The value prop is there...
Re:Tauri Mobile Alpha Release
by satvikpendem on Saturday December 10, 2022 @04:35PM
(#33937076)
People won't for precisely the same reason Electron became so popular: managing multiple platforms is tiresome. Write once, run everywhere is still the dream.
Re:Tauri Mobile Alpha Release
by yesimahuman on Saturday December 10, 2022 @10:13AM
(#33933262)
Capacitor is another option with support for web, mobile, and desktop, if that’s what you’re looking for.
Looking through their site, Capacitor doesn't appear to support desktop apps. Their docs recommend using Electron instead.