Linux "desktop" target? #229
Labels
No Label
android
backend/service
bug
contribution welcome
documentation
duplicate
enhancement
good first issue
help wanted
i18n
Improvement
invalid
ios
moxdns
moxplatform
moxxmpp
moxxy_native
needs investigation
needs testing
question
release
ui
upstream
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: moxxy/moxxy#229
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Useful on desktop, but especially for mobile Linux.
I tried today and got it to run and show the splash screen, but not much else.
Thanks for trying that! It surprises me that it even built without any issues.
The reason that it gets stuck at the splash screen is that Moxxy wants to start a foreground service to run the XMPP code in the background. That is currently only implemented for Android and thus blocks since the UI is waiting for a "ready" message from the foreground service. Now that Flutter allows generic Isolates to do method channel calls, porting to Linux should be possible. It, however, requires that moxplatform gets its interface ported to Linux, which is currently not on my roadmap.
If moxplatform.crypto gets implemented in Dart instead (or a Dart package that uses FFI but supports all platforms), I believe moxxy would run fine on desktop and be pretty usable?
@f-person Theoretically, Moxxy could live with the stubbed versions of the crypto interface. What's non-negotiable is moxplatform.BackgroundService and moxplatform.IsolateHandler. But yes, if those two are implemented, you could run Moxxy on desktop (although the UI is absolutely not fitted for this purpose)
Now that moxplatform has been replaced with moxxy_native (#336), I was able to get the most crucial part of the equation (starting a background service) working under Linux (and since the implementation is very generic, probably also Windows and MacOS). However, I have not done any further work regarding this, so Moxxy is currently still stuck on the splash screen.