Packaging Android app using Dart content shell

260 Views Asked by At

The only way I aware about it now to package Dart app as Android app, is to get it converted to javascript, and use it in a webview.

My question or thinking today is: Is there a chance or a way to package the DART application with the 2 files mentioned below in a way similar to Chrome web store packaged app, or as Mozilla Marketplace packaged app to get it run in Android.

the 2 files I'm talking about are:

Content_Shell_Developer_Build.apk

and

Dart_Editor_Mobile_Connection_Service_1.0.apk

thanks

1

There are 1 best solutions below

0
Günter Zöchbauer On BEST ANSWER

You can't avoid the dart2js conversion. The only ways to run applications built with Dart on Android is transpiling them to JavaScript or run them as a console application without a GUI or with a native extension for Android that makes use of the Android C/C++ API.

Now there is also Sky https://github.com/domokit/sky_engine