MAUI for SailfishOS

Hello!

I recently got my Jolla phone, and wanted to check whether I could make MAUI (multiplatform framework) working on Sailfish OS. MAUI.Sailfish produces fully native RPM package.
It took quite some time, a bit (a huge bit, lets not joke around I will not be an expert with everything in 1 month) of help from LLMs and I have produced a nicely working set of tools to make 1 piece of code into application for iOS, Android, Windows & SAILFISHOS !

Native features such as pull-up/pull-down menus, remose and others are implemented.

With additional VSCode extension building & deploying a project is a single command & F5 away.

Repo is here:

https://github.com/Pastajello/maui-sailfish

with native features accessible here:
https://github.com/Pastajello/maui-sailfish/blob/main/docs/sailfish-apis.md

There are also samples with lazy list loading, rounded corners, etc.

If you want, add a comment, test, report a bug and have fun! I hope/guess MAUI is a bit easier to develop than QT but who know, never checked it myself.

If you have already a working application it should (depends… outside libraries are the worst offender as lack of sailfish platform implementation can stop the app from working) bo possible to run the on sailfishOS.

14 Likes

Looks interesting! Will try building some existing open source apps.

2 Likes

oh, I thought at first you meant this https://mauikit.org/ project …I was so confused at first :smiley:

Hi, I’ve checked the app with quite a few existing opensourced ones(more info here maui-sailfish/docs/porting-existing-apps.md at main · Pastajello/maui-sailfish · GitHub ) :
MoneyFox
WeatherTwentyOne
Calculator
Profitocracy.
(and about 10 others)

Fixed a lot of bugs, confirmed that secure storage works and added missing support for skiasharp.

Its amazing that there’s a project with the same abbreviation and same purpose and I havent heard about it!

1 Like

It’s actually way worse. KDE had a UI toolkit named MAUI first, and then Microsoft published theirs. Microsoft’s reasoning for it not being trademark infringement was that the KDE project was named MAUI, and Microsoft’s was ‘Multiplatform App UI toolkit’ which is of course very different.

Ontopic: fantastic effort! I will definitely give this a try because I am much more comfortable in .NET (although I have not used MAUI before) then I am in QML.

1 Like