cookie_jar icon indicating copy to clipboard operation
cookie_jar copied to clipboard

Does it support for web?

Open githubtuxedo opened this issue 3 years ago • 3 comments

Does it support for web?

githubtuxedo avatar Apr 14 '21 06:04 githubtuxedo

Same question for me.

motucraft avatar Apr 20 '21 13:04 motucraft

The library doesn't have support yet, bc dart:html does not provide a core class the the library need, let's see how they handle it

unacorbatanegra avatar Apr 21 '21 14:04 unacorbatanegra

Any update around it?

juanagu avatar Jun 23 '22 13:06 juanagu

NO, because the browser will automatically manage cookies.

wendux avatar Feb 17 '23 03:02 wendux

The problem is that it's not possible to use this library on web since it depends on io. It would be nice if that dependency could be abstracted away so that it's possible to use this library both on io and web.

provokateurin avatar Mar 11 '23 12:03 provokateurin

The browser automatically manage the cookies.

unacorbatanegra avatar Mar 13 '23 14:03 unacorbatanegra

Yes I know, but I have a library I want to use on both io and web, but having to import the cookie_jar library breaks it on web because it imports dart:io.

provokateurin avatar Mar 13 '23 14:03 provokateurin

The plugin should also support compiling with Web now but not be able to call anything.

AlexV525 avatar Mar 24 '23 05:03 AlexV525

Thanks a lot, I'll try it soon.

provokateurin avatar Mar 24 '23 05:03 provokateurin