You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/webview_flutter/webview_flutter/README.md
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -175,10 +175,10 @@ for more details.
175
175
176
176
### PlatformView Implementation on Android
177
177
178
-
The PlatformView implementation for Android is currently no longer configurable. It uses Texture
179
-
Layer Hybrid Composition on versions 23+ and automatically fallbacks to Hybrid Composition for
180
-
version 19-23. See https://github.com/flutter/flutter/issues/108106 for progress on manually
181
-
switching to Hybrid Composition on versions 23+.
178
+
The PlatformView implementation for Android uses Texture Layer Hybrid Composition on versions 23+
179
+
and automatically fallbacks to Hybrid Composition for version 19-23. See section
180
+
`Platform-Specific Features` and [AndroidWebViewWidgetCreationParams.displayWithHybridComposition](https://pub.dev/documentation/webview_flutter_android/latest/webview_flutter_android/AndroidWebViewWidgetCreationParams/displayWithHybridComposition.html)
181
+
to manually switch to Hybrid Composition on versions 23+.
182
182
183
183
### API Changes
184
184
@@ -194,6 +194,8 @@ Below is a non-exhaustive list of changes to the API:
194
194
been replaced by `WebViewController.getScrollPosition`.
195
195
*`WebViewController.runJavaScriptReturningResult` now returns an `Object` and not a `String`. This
196
196
will attempt to return a `bool` or `num` if the return value can be parsed.
197
+
*`WebView.initialCookies` has been removed. Use `WebViewCookieManager.setCookie` before calling
198
+
`WebViewController.loadRequest`.
197
199
*`CookieManager` is replaced by `WebViewCookieManager`.
198
200
*`NavigationDelegate.onWebResourceError` callback includes errors that are not from the main frame.
199
201
Use the `WebResourceError.isForMainFrame` field to filter errors.
0 commit comments