Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 936257f

Browse files
authored
Revert deprecation of clearCookies (#4566)
1 parent 702fada commit 936257f

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

packages/webview_flutter/webview_flutter_platform_interface/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.6.1
2+
3+
* Revert deprecation of `clearCookies` in WebViewPlatform for later deprecation.
4+
15
## 1.6.0
26

37
* Adds platform interface for cookie manager.

packages/webview_flutter/webview_flutter_platform_interface/lib/src/platform_interface/webview_platform.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ abstract class WebViewPlatform {
5959
/// Clears all cookies for all [WebView] instances.
6060
///
6161
/// Returns true if cookies were present before clearing, else false.
62-
@Deprecated('Use `WebViewCookieManagerPlatform.clearCookies` instead.')
62+
/// Soon to be deprecated. 'Use `WebViewCookieManagerPlatform.clearCookies` instead.
6363
Future<bool> clearCookies() {
6464
throw UnimplementedError(
6565
'WebView clearCookies is not implemented on the current platform');

packages/webview_flutter/webview_flutter_platform_interface/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repository: https://github.com/flutter/plugins/tree/master/packages/webview_flut
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+webview_flutter%22
55
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
66
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
7-
version: 1.6.0
7+
version: 1.6.1
88

99
environment:
1010
sdk: ">=2.12.0 <3.0.0"

0 commit comments

Comments
 (0)