Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get cookies #3

Closed
hungps opened this issue Oct 3, 2018 · 3 comments
Closed

Get cookies #3

hungps opened this issue Oct 3, 2018 · 3 comments
Labels
enhancement New feature or request

Comments

@hungps
Copy link

hungps commented Oct 3, 2018

How to get cookies?

@pichillilorenzo
Copy link
Owner

There isn't a method to get cookies from native webview at the moment, but I can add this feature in the new release (I think I will release it these days)!

However have you tried using javascript like so:

  @overidde
  Future onLoadStop(String url) async {
    print(await this.injectScriptCode("document.cookie"));
  }

Maybe this could work for now.

@hungps
Copy link
Author

hungps commented Oct 3, 2018

It works. Thanks!

@pichillilorenzo pichillilorenzo added the enhancement New feature or request label Oct 23, 2018
@pichillilorenzo
Copy link
Owner

With the new version 0.5.3 you can also use the class CookieManager. See the API here or the docs online!

@iampato iampato mentioned this issue Mar 7, 2020
@DowsingUK DowsingUK mentioned this issue Apr 29, 2020
This was referenced Jul 6, 2020
plateaukao pushed a commit to plateaukao/flutter_inappwebview that referenced this issue Jul 27, 2020
…ar_logic

don't change scrollbar show/hide status when scrollinging is enabled …
@pawangjain pawangjain mentioned this issue Jan 21, 2021
5 tasks
jonahzheng added a commit to jonahzheng/flutter_inappwebview that referenced this issue Sep 26, 2022
E/flutter (10050): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'Null' is not a subtype of type 'bool'
E/flutter (10050): #0      RendererPriorityPolicy.fromMap (package:flutter_inappwebview/src/types.dart:4598:38)
E/flutter (10050): pichillilorenzo#1      AndroidInAppWebViewOptions.fromMap (package:flutter_inappwebview/src/in_app_webview/android/in_app_webview_options.dart:422:61)
E/flutter (10050): pichillilorenzo#2      InAppWebViewGroupOptions.fromMap (package:flutter_inappwebview/src/in_app_webview/in_app_webview_options.dart:72:38)
E/flutter (10050): pichillilorenzo#3      InAppWebViewController.getOptions (package:flutter_inappwebview/src/in_app_webview/in_app_webview_controller.dart:1643:39)
E/flutter (10050): <asynchronous suspension>
E/flutter (10050): pichillilorenzo#4      _WebViewTabState._buildWebView.<anonymous closure> (package:flutter_browser/webview_tab.dart:158:39)
E/flutter (10050): <asynchronous suspension>
@MagarKJ MagarKJ mentioned this issue Jun 13, 2024
2 tasks
pichillilorenzo pushed a commit that referenced this issue Sep 23, 2024
Upgrade OrderedSet to add privacy manifest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants