Support multiple platforms
guyluz11 opened this issue · 3 comments
Currently we are getting 10 less points in pub.dev for missing support for multiple platforms
This is caused because dart:io
is missing support for web and more
for that we can use universal_io that is
A cross-platform dart:io that works in all platforms (browsers, mobile, desktop, and server-side).
Would you like me to test it on the browser and implement it?
All tests are passing with universal_io.
Of course any contribution is welcome, I'm a little busy right now and I can't. Your help will be welcome
I have tested a small part and found out that this is will not work by simply adding universal_io
, the program will compile but this is not enough for it to work.
I think I have asked about this in another package and they gave me pretty good explanation why this can't be done for the browser, something about chrome does not support this type of call.
Maybe we can add support for native dart, that could be useful too, but currently I don't have time to do that.