dio-http-cache icon indicating copy to clipboard operation
dio-http-cache copied to clipboard

Flutter Web support

Open fvisticot opened this issue 3 years ago • 3 comments

Flutter Web will be stable in the coming month. It would be very nice to have WEB support for our current app with minimum changes. My current application is using http-cache and due to sqlite dependency, the app can not run on WEB. A solution will be to use sembast plugin (WEB ready).

fvisticot avatar Jul 17 '20 21:07 fvisticot

Fork it. Make it. Contribute back.

Edit: I’m serious. People expect you to add features on demand, but quite often never contribute anything. Programming isn’t easy and sometimes takes many hours of thinking and debugging. If you want a feature - give it a go - you are also a programmer. The source code of this lib is open, so one can clone it and alter it.

avioli avatar Jul 30 '20 23:07 avioli

Hello @avioli Some people are biginner and they can't modify or even fully understand what is going on inside most plugin...

So please if you can, think about doing it or some actual guideline on how to achive this...

mahidul-islam avatar Oct 02 '20 02:10 mahidul-islam

@mahidul-islam As I said:

Programming isn’t easy and sometimes takes many hours of thinking and debugging.

That doesn’t only apply to me, but to everyone that attempts at programming. You won’t learn much if someone else does it for you.

Federated Flutter plugins support requires quite a bit of refactoring. It isn’t an easy, two-click process. There is only documentation how to start a brand-new plugin with support for multiple platforms, but nothing about how to add support to an existing plugin. Maybe that would be a better task - extend Flutter’s docs.

Having said all that - the author can, when they find the time and will, to accomplish what this request asks for. Until then one can either wait or start programming to achieve it themselves.

avioli avatar Oct 02 '20 03:10 avioli