7 ms·
It wasn't quite clear to me from the article: are the resulting Flutter apps running under the Android emulation layer or are they proper Chrome OS apps? It's
by qhwudbebd 7y ago
It wasn't quite clear to me from the article: are the resulting Flutter apps running under the Android emulation layer or are they proper Chrome OS apps?
It's great that Chrome OS can run legacy Android stuff, but it'd be a shame if the ugly design of Android started to leak into Chrome OS proper in a way that makes it hard/impossible to deprecate.
- csande17 7y agoFrom the article: > Because Chrome OS runs Android apps, targeting Android is the way to build Chrome OS apps. The screenshot of "The Flutter ChromeOS lint rules in action" also appears to show an Android app manifest. Which, honestly, seems like kind of a strange design to me. The whole point of Flutter is to be a cross-platform app framework; why not just add a ChromeOS backend to it instead of running the Android version inside an Android emulation layer?
- qhwudbebd 7y agoAh, that's a shame. I don't think I'd want to use something that pulled in messy Android as a dependency on Chrome OS.
- krzat 7y agoThey may create dedicated shell in future. Proper desktop support in flutter is in very early stages currently.
- petecox 7y agoDart did transpile to JS, so a WebAssembly backend for a 'web native' Flutter experience on Chrome OS is imaginable. But their app delivery platform is the Google Play infrastructure, which packages Android apps.
- pjmlp 7y agoBecause this is Flutter/Dart team pushing their agenda, not the ChromeOS team embracing Flutter. Just like the Android team, usually answers with a political correct "It is nice to have options" when asked about Flutter and Android. They were pretty clear at this year's IO that Android's future is now Kotlin, with Java takind a 2nd place and C++ a 3rd one.
- fauigerzigerk 7y agoIt looks like you could be right. If this is true then publishing the following on the Google developer blog is downright deceptive: "Because Chrome OS runs Android apps, targeting Android is the way to build Chrome OS apps." Note that they're not saying it's a good way to build Chrome OS apps, they're saying it's "_the_ way to build Chrome OS apps".
- pjmlp 7y agoI read it as an euphemism for workaround.
- sebe 7y agoThey do say "Flutter is a great way to build Chrome OS apps" and they say "Because Chrome OS runs Android apps, targeting Android is the way to build Chrome OS apps." The article is about chromeos and flutter, to make it clearer, they could have said, "targeting Android is the way to build, Flutter, Chrome OS apps." Targeting Android to create Flutter chromeos apps currently seems to be the go, this may change once flutter for the web and or the linux desktop support is fully baked.
- fauigerzigerk 7y agoPerhaps that is what they meant. Or maybe it isn't. Right now, Google seems like a rudderless ship floating in a sea of possibilities created by a bunch of very talented kids suffering from ADHD. I think someone at Google should grab the helm and actually do some steering.
- sebe 7y agoI think the TL for Flutter is no spring chicken, he did an interesting post the other day, talks about what other languages they looked at when they decided to move on from Javascript. "Flutter was started by engineers from the Chrome team, and myself (who worked in the open source team as editor of the HTML standard)." https://news.ycombinator.com/item?id=19856079 https://news.ycombinator.com/item?id=19856079
- iBelieve 7y agoIt appears to be running under the Android emulation layer: > Because Chrome OS runs Android apps, targeting Android is the way to build Chrome OS apps.
- skybrian 7y agoIt sounds like they are using the Android emulation: > targeting Android is the way to build Chrome OS apps I don't think this is "legacy" as far as the Chrome OS developers are concerned. Android emulation is newish and improving. Before that, Chrome apps were written in JavaScript using a similar API to Chrome extensions. (They used to run in any Chrome browser, but were deprecated except on Chrome OS.)
- empath75 7y agoI feel like one of the selling points of chromeos was everything running in the browser so you don’t have to worry about security problems as much and adding android and Linux support seems to backtrack on that.
- skybrian 7y agoYes, true, but the Linux support seems targeted at developers only, and Android is at least sandboxed better than traditional desktop apps. For someone just using the browser, it's much the same as before. It looks like this is going to be an OS where all apps run in a sandbox of some sort. Nothing is really native, but there is a variety of sandboxes.
- jayd16 7y agohttps://flutter.dev/web https://flutter.dev/web It's a bit murky at the moment. It seems like they plan to do a full rewrite for the open web but right now they have the Android stack working in ChromeOS and that let's you start building flutter apps in a windowed, mouse and keyboard environment.
- CraftThatBlock 7y agoThat's wrong, this is a Flutter app, built to run on Android, running in Chrome OS.
- jayd16 7y agoThat's what I'm saying. You can do this Android loop now, (and work on windowed UX) but they do plan a full web stack later.
- CraftThatBlock 7y agoSince it's their own custom renderer, they just need to write a back-end for the web (which is what they are doing)