This repository was archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[webview_flutter_wkwebview] Switches the platform implementation to use the native API Wrapper #6031
Merged
Merged
[webview_flutter_wkwebview] Switches the platform implementation to use the native API Wrapper #6031
Changes from 8 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
19657bb
Switch to pigeon native wrapper as backend
bparrishMines a0d2d9a
change out web_kit_cookie_manager
bparrishMines 143ea77
remove unused files
bparrishMines c0b6d08
version bump
bparrishMines 9b2f265
remove unused imports
bparrishMines 7abb332
unneeded import
bparrishMines e01a2f1
remove tests for nonexistant files
bparrishMines 8cadfae
running unit tests
bparrishMines 42231a4
return legacy value
bparrishMines e89c221
Merge branch 'main' of github.com:flutter/plugins into da_switch
bparrishMines 619d3f6
erge branch 'main' of github.com:flutter/plugins into da_switch
bparrishMines b79d990
add isue
bparrishMines 573796e
dispatch to main maybe
bparrishMines 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
There are no files selected for viewing
3 changes: 2 additions & 1 deletion
3
packages/webview_flutter/webview_flutter_wkwebview/CHANGELOG.md
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
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
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
127 changes: 0 additions & 127 deletions
127
...webview_flutter/webview_flutter_wkwebview/example/ios/RunnerTests/FLTCookieManagerTests.m
This file was deleted.
Oops, something went wrong.
73 changes: 0 additions & 73 deletions
73
..._flutter/webview_flutter_wkwebview/example/ios/RunnerTests/FLTWKNavigationDelegateTests.m
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
As per discussion: #4990 (comment)
The
runJavascript
methods will correctly print out booleans rather than converting them to ints.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.
Isn't this a behavioral change though? I thought what we talked about was needing to keep the existing behavior.
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.
It is. But I thought your comment was implying that this behavior should only be changed for
evaluateJavascript
.Could it not be considered a bug for
runJavascript
andrunJavascriptReturningResult
since it is returning the wrong type?Although, v4 is approaching so I actually agree that we should avoid breaking for now. I decided to change it back and added a test for
runJavascriptReturningResult
.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 can see it both ways here; I was looking at it as not being obviously wrong like the null case in the newer APIs.
We should file an issue with the label for being s breaking change, and reference it with a to-do, so we fix it in V4.