Live data from Hacker News

Tauri Mobile Alpha Release

tauri.app

21–30 of 82 posts

Re: Tauri Mobile Alpha Release

#21

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.

>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.

Re: Tauri Mobile Alpha Release

#22

there are webview libraries from windows/linux/macos so electron.js-without-chromium works. are there similar webview libraries from android and ios that you can link to as the desktop OS does? anyone knows what those libraries are? I wish there is a c++ electron.js alternative, we now have tauri(rust) and wails(go), I'm using webview on github to use c++, just not as polished but it works well though.

There is a brand new one called Socket, it’s more targeted at web developers - no rust or anything required. Backend is also completely optional. It supports all mobile and desktop — it will ship a stable release next month: https://github.com/socketsupply/socket

Re: Tauri Mobile Alpha Release

#23
Congrats on the release! From the looks of it Capacitor[0] has quite a big lead on in terms of support for native APIs (secure storage, SSL pinning, biometrics, etc) but hopefully they'll catch up quickly and avoid some of the mistakes Capacitor has made.

Definitely keeping an eye on this.

[0] https://capacitorjs.com/

Re: Tauri Mobile Alpha Release

#25

What does "Alpha" mean here? As compared to Beta.

Usually a beta is considered feature complete but not completely finished (expected bugs etc) while an alpha is not yet feature complete. An alpha version comes before a beta version

Ah, a simple search would've learned me. Thanks!

https://en.wikipedia.org/wiki/Software_release_life_cycle

Re: Tauri Mobile Alpha Release

#26

there are webview libraries from windows/linux/macos so electron.js-without-chromium works. are there similar webview libraries from android and ios that you can link to as the desktop OS does? anyone knows what those libraries are? I wish there is a c++ electron.js alternative, we now have tauri(rust) and wails(go), I'm using webview on github to use c++, just not as polished but it works well though.

There is a brand new one called Socket, it’s more targeted at web developers - no rust or anything required. Backend is also completely optional. It supports all mobile and desktop — it will ship a stable release next month: https://github.com/socketsupply/socket

New to me, had a quick check, Android is not yet supported, and it focuses on peer-to-peer(via bluetooth?). again using webview to do html-ui on desktops is feasible(tauri,wails,webview-c++), the interesting part is how to do that on mobile phone(without using flutter, or ionic)?

if you don't want to learn yet another new framework (flutter), or write native apps, the only option seems to be ionic, how is socket different, is the selling point here p2p instead of client-server otherwise it works just like ionic?

Re: Tauri Mobile Alpha Release

#27
post #3

Do they use the native api of the OS to get the native feel or is it yet another website as app approach?

It is 'website as app'. But it is possible to use native components (ie.: on Macos using FFI from Rust to call cocoa api.). However few people use it except for some toolbars.

Re: Tauri Mobile Alpha Release

#28
post #21

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.

>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.

Re: Tauri Mobile Alpha Release

#29

I've yet to see a Web UI toolkit/framework that works on all of the desktop (Windows, *Linux* and OSX) and Android and iOS. If they manage to pull this off then bravo to them.

ionic with its capacitor.js is said to be the best option for now, not too sure about flutter but who knows when google will kill it.

Re: Tauri Mobile Alpha Release

#30
post #23

Congrats on the release! From the looks of it Capacitor[0] has quite a big lead on in terms of support for native APIs (secure storage, SSL pinning, biometrics, etc) but hopefully they'll catch up quickly and avoid some of the mistakes Capacitor has made. Definitely keeping an eye on this. [0] https://capacitorjs.com/

capacitor looks pretty good, what are those 'mistakes' you refer to
Post reply on HN