WIP fastn <package_name> command to launch a native window
- [x] launch an empty window
- [x] download and save the package somewhere
- [x] run
fastn serve <package-name>in a background thread - [x] go to server url in the tauri window
- [x] make mac .app
- [ ] show kulfi url on fastn serve
- [ ] change kulfi:// to fastn://
- [x] compile to android
- [ ] compile to windows
- [ ] compile to ios
- [ ] fix: cli help info is wrong
- [ ] fix: cmd:
fastndoes not launch UI
fastn [OPTIONS] <package_name>
Should be:
fastn [OPTIONS] [<package_name>]
(<package_name> is optional, and defaults to lets-os). How do we update our help text to make this clear?
I am focusing on running the current version as a GUI only app for mac and android. This part has a lot of unknowns (does fastn-core even compile for android/arm?) so it's better to do this first.
The android app is stil not working. It launches and shows the loading screen and the http server runs in the background. But, the server crashes with a stack overfllow when a request is received.
I guess it's the same issue or related to fastn not working in dev builds with stack overflow error. We really have to solve this someday. Not sure how to debug tho.
I guess it's the same issue or related to fastn not working in dev builds with stack overflow error. We really have to solve this someday. Not sure how to debug tho.
Yes! After writing this comment I noticed that the tauri cli is building the crate in debug mode when I did cargo tauri android dev. There's a --release option, that'll probably work.
Can we find out if fastn works on Android?
Can we find out if
fastnworks on Android?
It probably does, I have been able to run the http server with fastn serve till now. The release build requires that I sign the apk before it'll let me run it so I'm figuring that out right now.
Can we find out if
fastnworks on Android?
https://youtu.be/BT9QuvR48vc It's working :)