-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[webview_flutter] Add support for payment requests on Android #9679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
auto-submit
merged 25 commits into
flutter:main
from
mataku:feature/expose-payment-request-enabled
Aug 15, 2025
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
2d07746
Add wrapper for androidx.webkit.WebSettingsCompat
mataku 1a01f13
Add wrapper for androidx.webkit.WebViewFeature
mataku d098b47
Expose wrappers
mataku 8fa5fe1
Add native unit tests for payment request feature
mataku 381ae6f
Add sample menu for payment request
mataku 5eee7b3
Prepare CHANGELOG
mataku d43bde1
Run auto-formatter
mataku a20f0fb
Simplify method description
mataku 103e29f
Specify details with added methods
mataku 8c73517
Fix RequiresFeature lint: setPaymentRequestEnabled should only be cal…
mataku 5ed43ab
Fix format
mataku 28f8889
Fix doc comments to correspond to the method
mataku 3f68c0e
Remove sample for WebSettingsCompat and WebViewFeature.
mataku 878fd38
Update generated files according to comment update
mataku b0388bc
Specify collect type
mataku 5f7f689
Merge main into feature/expose-payment-request-enabled
mataku ddea6d4
Client should use setPaymentRequestEnabled if only WebViewFeatureProx…
mataku 2b06e3d
Add Payment Request section for webview_flutter_android
mataku 69c8a3e
Merge branch upstream/main into feature/expose-payment-request-enabled
mataku 7337199
Fix tests according to SuppressLint
mataku 47b6b6f
Address code-excerpt
mataku 1cb2a20
Run update-excerpts
mataku 5575248
Minor README wording changes
stuartmorgan-g 8ab4499
Merge remote-tracking branch 'remotes/upstream/main' into feature/exp…
mataku 74e8aa4
Create readme_excerpts.dart for snippets in README
mataku File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove sample for WebSettingsCompat and WebViewFeature.
method doc is enough
- Loading branch information
commit 3f68c0e88284a78de1e8beefb28ab4d54a47849c
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
nit: I don't think we need to update the example app, because there is nothing to print or display to verify it is actually working. This just checks that the method is called, but this is already covered by unit tests.
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.
I agree. removed in 3f68c0e
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.
This was re-added in 47b6b6f. Code that we want to show in the README but don't want to be in the example app should go in an
example/lib/readme_excerpts.dart.