Skip to content

[url_launcher] Switch to Kotlin Pigeon#11473

Open
stuartmorgan-g wants to merge 3 commits intoflutter:mainfrom
stuartmorgan-g:kotlin-pigeon-url-launcher
Open

[url_launcher] Switch to Kotlin Pigeon#11473
stuartmorgan-g wants to merge 3 commits intoflutter:mainfrom
stuartmorgan-g:kotlin-pigeon-url-launcher

Conversation

@stuartmorgan-g
Copy link
Copy Markdown
Collaborator

Replaces the Java Pigeon generator with the Kotlin Pigeon generator, and adjusts the project accordingly:

  • Adds Kotlin build setings to Gradle.
  • Updates API signatures for slight Kotlin/Java differences.
  • Updates tests to use constructors instead of builders, since the Kotlin generator doesn't create builders.

Part of flutter/flutter#158287

Pre-Review Checklist

Footnotes

  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. 2

Replaces the Java Pigeon generator with the Kotlin Pigeon generator, and
adjusts the project accordingly:
- Adds Kotlin build setings to Gradle.
- Updates API signatures for slight Kotlin/Java differences.
- Updates tests to use constructors instead of builders, since the
  Kotlin generator doesn't create builders.

Part of flutter/flutter#158287
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request migrates the Android implementation of the url_launcher plugin from Java to Kotlin using Pigeon v26.3.4. It updates the build configuration to include the Kotlin Gradle plugin, sets the JVM target to 17, and replaces the generated Java message classes with Kotlin equivalents. A review comment was raised regarding the use of Kotlin version 2.3.0 in the build configuration, suggesting a switch to the stable 2.0.0 release.

@github-actions github-actions bot removed the CICD Run CI/CD label Apr 9, 2026
@stuartmorgan-g stuartmorgan-g added the CICD Run CI/CD label Apr 9, 2026
@stuartmorgan-g stuartmorgan-g requested a review from gmackall April 9, 2026 11:52
@stuartmorgan-g stuartmorgan-g added the triage-android Should be looked at in Android triage label Apr 9, 2026
@github-actions github-actions bot removed the CICD Run CI/CD label Apr 9, 2026
@stuartmorgan-g stuartmorgan-g added the CICD Run CI/CD label Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CICD Run CI/CD p: url_launcher platform-android triage-android Should be looked at in Android triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant