-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[webview_flutter_wkwebview] Expose the allowsLinkPreview property in WKWebView for iOS #5029
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
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
c1de6e2
Expose the allowsLinkPreview property in WKWebView for iOS
camfrandsen 9590857
Merge remote-tracking branch 'origin/main' into linkPreview
camfrandsen fe5ee5a
Resolve merge conflicts with origin/main
camfrandsen 0d6a675
override dependencies
camfrandsen 9889288
Merge remote-tracking branch 'origin/main' into linkPreview
camfrandsen 31f034e
Revert changing the legacy files as they are no longer supported
camfrandsen ffc780f
Fix versions in Changelog and pubspec.yml. I had incorrectly fixed th…
camfrandsen 90c93fc
Missed on legacy file that needed to be reverted
camfrandsen 938f8e5
Fix generated files by running: flutter pub upgrade (fixes Error: Me…
camfrandsen 0ed787d
Fix last merge conflict in FWFWebViewHostApi.m
camfrandsen d7ab020
update webview_flutter
bparrishMines 3730994
update platform interface
bparrishMines 23dde3b
remove old files
bparrishMines ef29572
try
bparrishMines 045a1ee
remove change
bparrishMines 15af7c4
add impl
bparrishMines 45c6905
Merge branch 'main' of github.com:flutter/packages into linkPreview
bparrishMines 1a577af
remove override and update changelog
bparrishMines 62594dd
Revert unrelated Runner.xcodeproj change
stuartmorgan-g 76c53c5
update location and docs
bparrishMines 44b8475
Merge branch 'main' of github.com:flutter/packages into linkPreview
bparrishMines a9903d9
Merge branch 'linkPreview' of github.com:camfrandsen/packages into li…
bparrishMines 7a46f04
update docs
bparrishMines 34a41d9
Merge branch 'main' of github.com:flutter/packages into linkPreview
bparrishMines 532ce62
organize methods to put platform specific near top
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
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
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
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
4 changes: 4 additions & 0 deletions
4
packages/webview_flutter/webview_flutter_platform_interface/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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -261,6 +261,11 @@ abstract class PlatformWebViewController extends PlatformInterface { | |
| 'setUserAgent is not implemented on the current platform'); | ||
| } | ||
|
|
||
| /// Whether to display a preview of the destination for the link | ||
| /// | ||
| /// This is not supported by all platforms, so it defaults to a noop | ||
| Future<void> setAllowsLinkPreview(bool allow) async {} | ||
|
||
|
|
||
| /// Sets a callback that notifies the host application that web content is | ||
| /// requesting permission to access the specified resources. | ||
| Future<void> setOnPlatformPermissionRequest( | ||
|
|
||
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
4 changes: 4 additions & 0 deletions
4
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
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
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.