fuzzybinary / dart_shared_library

An attempt to package Dart into a usable shared library (.dll / .so)
Other
77 stars 10 forks source link

support android or ios #14

Open whaqzhzd opened 4 months ago

whaqzhzd commented 4 months ago

Does the library support any mobile devices

fuzzybinary commented 4 months ago

Not at the moment no, but obviously there's nothing preventing Dart from running on mobile devices. This would need to be done in conjunction with supporting AOT if you wanted to actually deploy it on mobile.

Confucius-Pei commented 1 month ago

Not at the moment no, but obviously there's nothing preventing Dart from running on mobile devices. This would need to be done in conjunction with supporting AOT if you wanted to actually deploy it on mobile.

Thanks for this awesome repo; it helped me a lot. Any plans to support AOT?

fuzzybinary commented 1 month ago

Thanks! Glad it helped.

I did some research into it and it would require a secondary, AOT specific target and initialization methods (this is why running AOT compiled Dart code can't be run with dart.exe.

This isn't a huge issue, I just haven't found the time to implement it.