Maybe some of you know Flutter, which is a framework for cross platform development: https://flutter.dev . Someone was able to run a Flutter app on a raspberry pi by generating ARM binaries: https://medium.com/flutter/flutter-on-raspberry-pi-mostly-from-scratch-2824c5e7dcb1 . Is it possible to run binary apps on UT?
Is it possible to run binary apps on UT?
I don't quite understand the question. Yes, of course any armhf binary compiled against the appropriate ABIs of Ubuntu 16.04 + UBports repository if using Qt, can be run.
However, in the case of Flutter, you would not build a native application. I'm not 100% sure how it would work, but you'd need to use either the
React Nativetargets, and treat them sort of if they were HTML5 apps instead.
Krille last edited by Krille
Very good question... As long as I know, Flutter for desktop is based on GLFW, right? So it is a "normal" x or wayland-app. Maybe it can run with the newest Mir, which should be wayland-compatible.
You can try to package the app as a deb and install it with libertine in the meanwhile.
Flutter is a very interesting framework and in my opinion could be the future for Ubuntu Touch development too.
Flutter for desktop is based on GLFW, right?
Not exactly. See https://github.com/flutter/flutter/wiki/Desktop-shells :
The current Linux shell is a GLFW placeholder, to allow early experimentation. We would like to create a library that lets you embed Flutter regardless of whether you're using GTK+, Qt, wxWidgets, Motif, or another arbitrary toolkit for other parts of your application, but have not yet determined a good way to do that. Our current plan is to support GTK+ out of the box, in a way where adding support for other toolkits is straightforward.
Expect the APIs for the final shell to be radically different from the current implementation.
Looking deeper, it also seems that targets other than Android/iOS are not particularly well supported/documented. So, I think Flutter is not really an option at this time.
Krille last edited by
Flutter for Web and for desktop will become a thing in the near future. And then it should be possible to package it. We can expect, that a lot of Android and iOS apps will use Flutter in the future so providing support for Flutter in UT would give us access to a lot of new apps.
I already have an app that runs very well on mobile, desktop and web.
Flutter is an open-source framework that allows to build Android and iOS application using single code. Flutter is a complete SDK for building cross-platform application and it uses c, c++, DART languages.
You need to know more knowledge than reading on https://i-verve.com/blog/flutter-for-cross-platform-app-development
AppLee last edited by AppLee
I had a quick look at Flutter, it's full of promises, but it's still another "good idea" from Google.
I may be pessimistic but I think it will finish like GWT ; started well, had some success was never achieved => abandoned
Just my 2 cents
I hope for the best but Google has a tendency to never deliver on its promises.
[Edit] Just found this video lol
libremax last edited by
"Google & Ubuntu Team Up to Bring Flutter Apps to Linux" :
poVoq last edited by
Apparently using Mir on Wayland:
This sounds like Flutter could become a really nice alternative to qt for app creation on UT, no?
@poVoq It will not solve system integration issues for things like content-hub, media-hub, or fingerprint reader, on Ubuntu Touch, but it's a start and at least very basic apps should be somewhat usable, but perhaps not much more so than using
Webtarget and just running as an HTML5 app with Flutter.
Josele13 last edited by
Today I saw a news about Flutter 2, it has caught my attention that Microsoft is working on it. Canonical is going to use it for apps by default, it seems that it is going to be the universal app, Canonical,Microsoft,Google,Android and iOS
would it be a good idea to have it in Ut even if it's inside Anbox?
Is it possible that android apps won't be used in java because of the new Flutter apps in the near future?
PhoenixLandPirat last edited by
@josele13 flutter support has been talked about for a while, I think the standpoint is still “Flutter will probably work and come with Ubuntu 20.04”
Keneda last edited by
Josele13 last edited by
@keneda I don't believe that, if the .apk apps are still used...perfect, but the most important OS's have come together to create something new. If Ut can take advantage of it in some way that's great....