What is Nostr?
Blake Leonard /
npub1970…ush9
2024-06-11 01:40:45

Blake Leonard on Nostr: So, #Flutter apps don't natively build for Linux on ARM (yet), or really any other ...

So, #Flutter apps don't natively build for Linux on ARM (yet), or really any other architecture than x86_64. Which means, Linux mobile can't run Flutter apps (so much for cross platform).

To work around this, I could potentially build a Flutter app with Tauri and a Rust-backed IO implementation. (Another "popular" alternative is an "embedding", which is a lot more difficult and confusing to use.) I believe the end result of this build chain would have two artifacts: the x86_64 native Flutter bundle, and the multiarch Tauri bundle (with "Web" build from Flutter).

For Spades, I think the best way to do this would probably be to implement the XMPP socket logic in the Rust backend and pipe the XML to Flutter so `moxxmpp` can use it.

Spotube could probably do this by literally just wrapping the app in Tauri, no additional shenanigans needed.

Ideally, Flutter would support building apps for more architectures on desktop platforms.
Author Public Key
npub1970wudkuvdt8qza8rlyv03m8wndr3lpjwm8f29rf0ycm4zauxx4szgush9