Skip to content

[webview_flutter_android] Add javascript panel interface for android - #5796

Merged
auto-submit[bot] merged 4 commits into
flutter:mainfrom
jsharp83:add-javascript-panel-interface-android
Jan 24, 2024
Merged

[webview_flutter_android] Add javascript panel interface for android#5796
auto-submit[bot] merged 4 commits into
flutter:mainfrom
jsharp83:add-javascript-panel-interface-android

Conversation

@jsharp83

@jsharp83jsharp83 commented Jan 4, 2024

Copy link
Copy Markdown
Contributor

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/packages repo does use dart format.)
  • I signed the CLA.
  • The title of the PR starts with the name of the package 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.

@jsharp83
jsharp83force-pushed the add-javascript-panel-interface-android branch from e65dc03 to 25b6ecdCompareJanuary 4, 2024 06:07
@jsharp83
jsharp83force-pushed the add-javascript-panel-interface-android branch from 25b6ecd to 45599baCompareJanuary 11, 2024 23:56

@bparrishMinesbparrishMines left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I added a few integration tests as well.

cc @stuartmorgan for secondary review

@bparrishMinesbparrishMines left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is now waiting on #5901, but is still ready for secondary review.

@jsharp83
jsharp83force-pushed the add-javascript-panel-interface-android branch from 018404a to 5988770CompareJanuary 22, 2024 06:25

@stuartmorgan-gstuartmorgan-g left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM modulo the blocker

@bparrishMines

Copy link
Copy Markdown
Contributor

This is no longer blocked since #5901 is a breaking change as mentioned in #5901 (comment). So, the current interface method will have to stay and I or someone else will add the nullable method after this has landed so we can have access to all the wrapped native APIs.

@bparrishMinesbparrishMines added the autosubmit Merge PR when tree becomes green via auto submit App label Jan 24, 2024
@auto-submit
auto-submitBot merged commit 5aa3d35 into flutter:mainJan 24, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 25, 2024
auto-submitBot pushed a commit to flutter/flutter that referenced this pull request Jan 25, 2024
flutter/packages@8fbdf65...21b5abb
2024-01-24 pageli328@gmail.com Add rfw widgets (flutter/packages#5661)
2024-01-24 50643541+Mairramer@users.noreply.github.com [camera] add heif support image iOS (flutter/packages#4586)
2024-01-24 jsharp83@gmail.com [webview_flutter_android] Add javascript panel interface for android (flutter/packages#5796)
2024-01-24 43054281+camsim99@users.noreply.github.com [camerax] Wrap Android classes/methods required for implementing setting focus & exposure points and offset (flutter/packages#5659)
2024-01-24 49699333+dependabot[bot]@users.noreply.github.com Bump actions/upload-artifact from 4.2.0 to 4.3.0 (flutter/packages#5967)
2024-01-24 engine-flutter-autoroll@skia.org Roll Flutter from 5b673c2 to 19b06f4 (21 revisions) (flutter/packages#5968)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
creatorpiyush pushed a commit to creatorpiyush/packages that referenced this pull request Jun 10, 2026
…lutter#5796)
* There are cases where Web calls System Popup with javascript on webview_flutter
* Android has a interface on WebChromeClient
* https://developer.android.com/reference/android/webkit/WebChromeClient#onJsAlert(android.webkit.WebView,%20java.lang.String,%20java.lang.String,%20android.webkit.JsResult)
* Related issue: flutter/flutter#30358 (comment)
* Related Interface PR: flutter#5670
* The PR that contains all changes can be found at flutter#4704
bisor0627 pushed a commit to bisor0627/packages that referenced this pull request Jun 19, 2026
…lutter#5796)
* There are cases where Web calls System Popup with javascript on webview_flutter
* Android has a interface on WebChromeClient
* https://developer.android.com/reference/android/webkit/WebChromeClient#onJsAlert(android.webkit.WebView,%20java.lang.String,%20java.lang.String,%20android.webkit.JsResult)
* Related issue: flutter/flutter#30358 (comment)
* Related Interface PR: flutter#5670
* The PR that contains all changes can be found at flutter#4704
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmitMerge PR when tree becomes green via auto submit Appp: webview_flutterplatform-android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@jsharp83@bparrishMines@stuartmorgan-g