Repository navigation
[url_launcher] Convert implementation to Kotlin - #13663
Merged
auto-submit[bot] merged 12 commits intoNov 17, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request converts the Android native implementation of the url_launcher plugin from Java to Kotlin, affecting UrlLauncher, UrlLauncherPlugin, and WebViewActivity, alongside corresponding test updates. The review feedback suggests two improvements in UrlLauncher.kt: utilizing default parameter values in the primary constructor to eliminate the secondary constructor, and simplifying Intent creation by passing the action and URI directly to the constructor.
10 of 26 tasks
gmackall
previously approved these changes
Nov 16, 2026
gmackall
left a comment
Member
There was a problem hiding this comment.
lgtm but I left some suggestions on a comment+kdoc that look out of date
Contributor
Author
|
This will need re-approval since repo policy just changed. |
This was referenced Nov 17, 2026
ditman
pushed a commit
to ditman/flutter-flutter
that referenced
this pull request
Nov 17, 2026
…r#196812) flutter/packages@4c6a7d3...9af69be 2026-11-17 [email protected] [in_app_purchase_storekit] add warm up test to preaction (flutter/packages#13661) 2026-11-17 [email protected] Roll Flutter from d8bd864 to 2f09f96 (27 revisions) (flutter/packages#13695) 2026-11-17 [email protected] [url_launcher] Convert implementation to Kotlin (flutter/packages#13663) 2026-11-17 [email protected] [cupertino_ui] Prevent null-check crash during CupertinoTextSelectionToolbar pagination (flutter/packages#13659) 2026-11-17 [email protected] [ci] Allow backfilling missed releases via workflow_dispatch (flutter/packages#13612) If this roll has caused a breakage, revert this CL and set the roller to dry run mode using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC [email protected] 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
LahaLuhem
pushed a commit
to LahaLuhem/flutter-packages
that referenced
this pull request
Nov 19, 2026
Converts `url_launcher_android` native implementation code from Java to Kotlin. Similar to my other conversions, the process was: - Use the Android Studio deterministic auto-conversion. - Do manual cleanup and improvement as a separate commit. - Do a local Gemini review for where the code could be improved as Kotlin code, and address most of that feedback. Includes minor test changes because a SAM used for test DI was replaced with a simple lambda. Part of flutter/flutter#188630 ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Converts
url_launcher_androidnative implementation code from Java to Kotlin.Similar to my other conversions, the process was:
Includes minor test changes because a SAM used for test DI was replaced with a simple lambda.
Part of flutter/flutter#188630
Pre-Review Checklist
[shared_preferences]///).Footnotes
Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. ↩ ↩2