4 ms·
Nitpicking, but Tauri is still in beta for mobile, Capacitor is the incumbent. But these frameworks solely exist because the mobile OS doesn't provide sufficien
by mmcnl 3y ago
Nitpicking, but Tauri is still in beta for mobile, Capacitor is the incumbent. But these frameworks solely exist because the mobile OS doesn't provide sufficient access to native APIs. If PWAs would be supported properly, and the standard would evolve, then we wouldn't need Tauri or Capacitor. The web-to-native bridge would be part of the web engine that is installed on the OS.
The reason we allow these native bridges (Capacitor on Mobile, Electron on Desktop) is because they allow you to develop the same app once for all platforms. Without them you would need 3x the resources for each desktop app (Windows, Linux, Desktop) and 2x the resources for each mobile app (Android, iOS). Linux would be dead in the water without Electron. It's the reason we have Spotify, Slack, Discord, VS Code, etc. on Linux.