-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[webview_flutter] Add setCookie to CookieManager and support initial cookies in creation params. #4561
[webview_flutter] Add setCookie to CookieManager and support initial cookies in creation params. #4561
Conversation
…ter/set_cookies_ios
…ter/set_cookies_android
…ter/set_cookies_ios
…ter/set_cookies_android
…er/set_cookies_app
…ter/set_cookies_android
…ter/set_cookies_ios
…ter/set_cookies_ios
…ter/set_cookies_android
…er/set_cookies_app
…er/set_cookies_app
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drive-by comment nit.
|
||
static CookieManager? _instance; | ||
|
||
/// Clears all cookies for all [WebView] instances. | ||
/// | ||
/// This is a no op on iOS version smaller than 9. | ||
/// This is a no op on iOS versions below 9. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't support versions below 9 any more, so you can just remove this.
Dependencies are published; this is ready to be finalized. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just minor things; looks good overall.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
…initial cookies in creation params. (flutter/plugins#4561)
…cookies in creation params. (flutter#4561) This PR adds a function for setting cookies to the CookieManager, as well support for setting initial cookies through the `CreationParams` object. Fixes flutter/flutter#27597
…cookies in creation params. (flutter#4561) This PR adds a function for setting cookies to the CookieManager, as well support for setting initial cookies through the `CreationParams` object. Fixes flutter/flutter#27597
@BeMacized |
This PR was landed last year; it can't be changed. If you have an issue to report, please use the issue tracker. |
This PR adds a function for setting cookies to the CookieManager, as well support for setting initial cookies through the
CreationParams
object.As this PR depends on, and contains the changes of, updates made to the platform interface in #4555, as well as the platform specific implementations in #4556 and #4557, this PR will remain in draft mode until those changes have been merged and published.Fixes flutter/flutter#27597
Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.md
to add a description of the change, following repository CHANGELOG style.///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.