flutter-mini-program
flutter-mini-program copied to clipboard
javascript runner
It looks like miniprogram uses liquid core: https://github.com/j0j00/flutter_liquidcore
There is a better way IMHO You can run the JS inside a JS VM that is 100% compiled to c using https://github.com/dop251/goja You can cross compile this to run on any Mobiles, Desktop or small ARM device. Then just call it the same way you call miniProgram now by using Flutter Method channels.
@gedw99 Thank you for your suggestion, wait until I have time to experiment, and continue to communicate.
Have a look here:
https://github.com/worldiety/goup
https://bitbucket.org/arputer/flutter_with_go/src/master/
Now we can implement this feature based on dart's ffi feature,https://github.com/xinfeng-tech/flutter_jsc