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

[webview_flutter_android][webview_flutter_wkwebview] Adds support to retrieve native WebView #7071

Merged
merged 14 commits into from
Feb 14, 2023

Conversation

bparrishMines
Copy link
Contributor

@bparrishMines bparrishMines commented Jan 31, 2023

Part of googleads/googleads-mobile-flutter#618

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
  • I signed the CLA.
  • The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
  • I listed at least one issue that this PR fixes in the description above.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
  • I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@bparrishMines
Copy link
Contributor Author

cc @jjliu15 @timothyhoang-google as a heads up

*/
@SuppressWarnings("unused")
@Nullable
public static WebView getWebView(FlutterEngine engine, long identifier) {
Copy link
Contributor

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?

Copy link
Contributor

@stuartmorgan-g stuartmorgan-g left a 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!

Copy link
Contributor

@stuartmorgan-g stuartmorgan-g left a 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.

@bparrishMines bparrishMines added the autosubmit Merge PR when tree becomes green via auto submit App label Feb 14, 2023
@auto-submit auto-submit bot merged commit d2fba38 into flutter:main Feb 14, 2023
@bparrishMines bparrishMines deleted the webview_identifier_2 branch February 14, 2023 19:29
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 15, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Feb 15, 2023
* 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)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App p: webview_flutter Edits files for a webview_flutter plugin platform-android platform-ios
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants