-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[webview_flutter_android][webview_flutter_wkwebview] Adds support to retrieve native WebView
#7071
[webview_flutter_android][webview_flutter_wkwebview] Adds support to retrieve native WebView
#7071
Conversation
cc @jjliu15 @timothyhoang-google as a heads up |
packages/webview_flutter/webview_flutter_wkwebview/ios/Classes/FLTWebViewFlutterPlugin.h
Show resolved
Hide resolved
*/ | ||
@SuppressWarnings("unused") | ||
@Nullable | ||
public static WebView getWebView(FlutterEngine engine, long identifier) { |
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.
Putting the accessor on this class encourages people to view this whole class as public, stable API, which could easily lead to accidental breakage later. Can we make a new wrapper class to be the public API, with just this method?
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 comment nits and adding in the project changes; thanks for adding the wrapper!
...ndroid/src/main/java/io/flutter/plugins/webviewflutter/WebViewFlutterAndroidExternalApi.java
Show resolved
Hide resolved
...ebview_flutter/webview_flutter_wkwebview/ios/Classes/FWFWebViewFlutterWKWebViewExternalAPI.h
Show resolved
Hide resolved
...ebview_flutter/webview_flutter_wkwebview/ios/Classes/FWFWebViewFlutterWKWebViewExternalAPI.h
Outdated
Show resolved
Hide resolved
...bview_flutter_wkwebview/example/ios/RunnerTests/FWFWebViewFlutterWKWebViewExternalAPITests.m
Show resolved
Hide resolved
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 with nits. Looks like you'll need to sync with main
to pick up the new FTL key so CI passes.
...ebview_flutter/webview_flutter_wkwebview/ios/Classes/FWFWebViewFlutterWKWebViewExternalAPI.h
Outdated
Show resolved
Hide resolved
...ebview_flutter/webview_flutter_wkwebview/ios/Classes/FWFWebViewFlutterWKWebViewExternalAPI.h
Outdated
Show resolved
Hide resolved
...ebview_flutter/webview_flutter_wkwebview/ios/Classes/FWFWebViewFlutterWKWebViewExternalAPI.m
Outdated
Show resolved
Hide resolved
…upport to retrieve native `WebView` (flutter/plugins#7071)
* 66d5724fa Revert "[camera] flip/change camera while recording (split out PR for cam_avfoundation and cam_android) (#7109)" (flutter/plugins#7181) * d2fba3822 [webview_flutter_android][webview_flutter_wkwebview] Adds support to retrieve native `WebView` (flutter/plugins#7071) * 7a7e43e79 [google_maps_flutter_android] Fixes initial padding not working while map has not been created yet. (flutter/plugins#7135) * 677b43ad9 [ci] Remove repo tooling (flutter/plugins#7172) * 2ce625f1a [cameraX] Add integration test for availableCameras (flutter/plugins#7156)
Part of googleads/googleads-mobile-flutter#618
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.