Example projects are not easy to run
dkbast opened this issue · 2 comments
Neither the hello_world nor the brotli example work "out of the box" e.g. they don't have a pubspec in their folder etc pp, which makes the barrier to enter WASM with dart quite high.
Also the "basic usage" example from the readme is not there as an "example" to investigate.
In order to run either example you have to first create a new project and copy the files over, which is not ideal.
Linking to flutter/flutter#90218 since I tried to test WASM in isolation.
Are you able to run it ? If yes then please share the steps. 😵😵😵
@dkbast & @Divit-vaghani thank you for reporting that you are having issues with getting this package to work for you.
I'm wondering, have you tried following the tutorial (that can be found in the readme here) step by step? It would be very helpful if you could report the exact steps that are not working for you.
@dkbast If I understood you correctly, you'd like to have an example folder that you can just copy and paste and that just works, is that correct?
@dkbast & @Divit-vaghani It would be great if you could share more about your use case e.g.:
- which platforms you plan to run the actual wasm binary on (e.g. iOS, Web, Android?)
- which language you are trying to run on those platforms (e.g. C compiled to wasm? Rust compiled to wasm? Dart compiled to wasm? or an arbitrary wasm binary that you haven't compiled yourself?)