Giter Club home page Giter Club logo

Comments (10)

bvedam avatar bvedam commented on August 24, 2024 23

Any update on ability to set cookies in webview for both Android and iOS? If not, is it the plan in the near term? Appreciate your response. Thx.

from flutter_webview_plugin.

lejard-h avatar lejard-h commented on August 24, 2024 2

Future<Map<String, dynamic>> getCookies() for the next release 0.0.10,
also via eval function
final cookiesString = await evalJavascript("document.cookie");

from flutter_webview_plugin.

chances avatar chances commented on August 24, 2024 1

@lejard-h For iOS, It seem's an app's cookies are stored in their own cookie jar:

NSHTTPCookie *cookie;
NSHTTPCookieStorage *cookieJar = [NSHTTPCookieStorage sharedHTTPCookieStorage];
for (cookie in [cookieJar cookies]) {
   NSLog(@"%@", cookie);
}

(From StackOverflow)

Not sure how outdated/accurate that answer is, though.

from flutter_webview_plugin.

lejard-h avatar lejard-h commented on August 24, 2024

Not possible for now, but it is possible to get cookies from webView on Android so we could manage share cookies from webview with the flutter side.

On iOS I don't know yet.

from flutter_webview_plugin.

marwan-at-work avatar marwan-at-work commented on August 24, 2024

this would be very helpful

from flutter_webview_plugin.

marwan-at-work avatar marwan-at-work commented on August 24, 2024

@lejard-h is there a roadmap for the release i can follow up with? tks!

from flutter_webview_plugin.

lucaslcode avatar lucaslcode commented on August 24, 2024

@marwan-at-work I'm interested in this too, looks like it's already been released in 0.0.10 (check the code)

from flutter_webview_plugin.

marwan-at-work avatar marwan-at-work commented on August 24, 2024

@lucaslcode i don't see it in pub yet https://pub.dartlang.org/packages/flutter_webview_plugin#-versions-tab-

from flutter_webview_plugin.

lejard-h avatar lejard-h commented on August 24, 2024

Not on pub yet, the release is blocked by #22 and #21, but if you are not concern by those issues, you can use the package directly from github and I am open to any contribution especially for iOS.

from flutter_webview_plugin.

BRO3886 avatar BRO3886 commented on August 24, 2024

Any update?

from flutter_webview_plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.