-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[url_launcher] Add support for setting show title on Chrome Custom Tabs #6097
Merged
Merged
Changes from 38 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
e41ea0e
add android show title customization functionality
Alex-Usmanov fb67692
Pass the parameter
Alex-Usmanov 21cd06f
Dependency overrides
Alex-Usmanov 276c08b
Add tests for native side
Alex-Usmanov 1897451
Cover dart side with tests
Alex-Usmanov 5cd1709
Format
Alex-Usmanov bc943c5
Reduce code repetition
Alex-Usmanov d6306ba
Revert todo change
Alex-Usmanov f59475b
Wrap browser customization values in another configuration object
Alex-Usmanov 157343b
Remove deps overrides
Alex-Usmanov ae20b08
Revert more deps overrides
Alex-Usmanov 214b0a9
Revert web as well
Alex-Usmanov cd7dfc9
Revert go_router
Alex-Usmanov d205c7c
Merge branch 'main' into main
Alex-Usmanov 5eef662
Merge remote-tracking branch 'upstream/main'
Alex-Usmanov c86ff6e
Format files
Alex-Usmanov 92b2197
Fix tests
Alex-Usmanov 425617e
Add browseroptions to launchUrlString & add more tests
Alex-Usmanov ece2b78
Fix docstrings
Alex-Usmanov 3ddd644
Revert test format change
Alex-Usmanov cd361d0
Fix tests
Alex-Usmanov f0017b7
Version bumps and changelogs
Alex-Usmanov 6105671
Merge remote-tracking branch 'upstream/main'
Alex-Usmanov a50be0f
Return path-based dependencies
Alex-Usmanov ef9c154
Add licences
Alex-Usmanov f4b08cb
Merge remote-tracking branch 'upstream/main'
Alex-Usmanov 80d439b
Fix documentation & changelog
Alex-Usmanov 992d38e
Merge remote-tracking branch 'upstream/main'
Alex-Usmanov 193c076
Add backticks to SFSafariViewController in platform interface changelog
Alex-Usmanov b399c9b
Merge remote-tracking branch 'upstream/main'
Alex-Usmanov 1ad83a2
More merging
Alex-Usmanov 298a705
Merge remote-tracking branch 'upstream/main' into show-title
Alex-Usmanov 70f5eb0
Merge remote-tracking branch 'upstream/main' into show-title
Alex-Usmanov 8f67ab9
Remove dependency overrides
Alex-Usmanov c203ae0
Revert changelog
Alex-Usmanov 5ae7bc9
Merge branch 'main' into show-title
Alex-Usmanov e646958
Merge remote-tracking branch 'upstream/main' into show-title
Alex-Usmanov 7d92695
Merge remote-tracking branch 'upstream/main' into show-title
Alex-Usmanov 90360b0
Fix missing classname in type_conversion.dart
Alex-Usmanov 647a8ce
Merge remote-tracking branch 'upstream/main' into show-title
Alex-Usmanov 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 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 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 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 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 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 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 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 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 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 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 |
---|---|---|
|
@@ -53,6 +53,7 @@ void main() { | |
universalLinksOnly: false, | ||
headers: <String, String>{}, | ||
webOnlyWindowName: null, | ||
showTitle: false, | ||
) | ||
..setResponse(true); | ||
expect(await launch('http://flutter.dev/'), isTrue); | ||
|
@@ -69,6 +70,7 @@ void main() { | |
universalLinksOnly: false, | ||
headers: <String, String>{'key': 'value'}, | ||
webOnlyWindowName: null, | ||
showTitle: false, | ||
) | ||
..setResponse(true); | ||
expect( | ||
|
@@ -90,6 +92,7 @@ void main() { | |
universalLinksOnly: false, | ||
headers: <String, String>{}, | ||
webOnlyWindowName: null, | ||
showTitle: false, | ||
) | ||
..setResponse(true); | ||
expect(await launch('http://flutter.dev/', forceSafariVC: true), isTrue); | ||
|
@@ -106,6 +109,7 @@ void main() { | |
universalLinksOnly: true, | ||
headers: <String, String>{}, | ||
webOnlyWindowName: null, | ||
showTitle: false, | ||
) | ||
..setResponse(true); | ||
expect( | ||
|
@@ -125,6 +129,7 @@ void main() { | |
universalLinksOnly: false, | ||
headers: <String, String>{}, | ||
webOnlyWindowName: null, | ||
showTitle: false, | ||
) | ||
..setResponse(true); | ||
expect(await launch('http://flutter.dev/', forceWebView: true), isTrue); | ||
|
@@ -141,6 +146,7 @@ void main() { | |
universalLinksOnly: false, | ||
headers: <String, String>{}, | ||
webOnlyWindowName: null, | ||
showTitle: false, | ||
) | ||
..setResponse(true); | ||
expect( | ||
|
@@ -160,6 +166,7 @@ void main() { | |
universalLinksOnly: false, | ||
headers: <String, String>{}, | ||
webOnlyWindowName: null, | ||
showTitle: false, | ||
) | ||
..setResponse(true); | ||
expect( | ||
|
@@ -179,6 +186,7 @@ void main() { | |
universalLinksOnly: false, | ||
headers: <String, String>{}, | ||
webOnlyWindowName: null, | ||
showTitle: false, | ||
) | ||
..setResponse(true); | ||
expect(await launch('http://flutter.dev/', forceSafariVC: false), isTrue); | ||
|
@@ -200,6 +208,7 @@ void main() { | |
universalLinksOnly: false, | ||
headers: <String, String>{}, | ||
webOnlyWindowName: null, | ||
showTitle: false, | ||
) | ||
..setResponse(true); | ||
expect(await launch('mailto:[email protected]?subject=Hello'), | ||
|
@@ -231,6 +240,7 @@ void main() { | |
universalLinksOnly: false, | ||
headers: <String, String>{}, | ||
webOnlyWindowName: null, | ||
showTitle: false, | ||
) | ||
..setResponse(true); | ||
|
||
|
@@ -263,6 +273,7 @@ void main() { | |
universalLinksOnly: false, | ||
headers: <String, String>{}, | ||
webOnlyWindowName: null, | ||
showTitle: false, | ||
) | ||
..setResponse(true); | ||
|
||
|
@@ -296,6 +307,7 @@ void main() { | |
universalLinksOnly: false, | ||
headers: <String, String>{}, | ||
webOnlyWindowName: null, | ||
showTitle: false, | ||
) | ||
..setResponse(true); | ||
expect( | ||
|
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.
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.
[InAppBrowserConfiguration]