Skip to content

[url_launcher] Implement supportsMode - #1184

Merged
seungsoo47 merged 2 commits into
flutter-tizen:mainfrom
seungsoo47:upstream-plugins-url-launcher-supports-mode
Oct 15, 2026
Merged

seungsoo47 merged 2 commits into
flutter-tizen:mainfrom
seungsoo47:upstream-plugins-url-launcher-supports-mode

Conversation

@seungsoo47

Copy link
Copy Markdown
Contributor

launch() always opens the URL in an external application through the view app control, but without a supportsMode override the platform interface default reported only platformDefault as supported, so supportsLaunchMode(LaunchMode.externalApplication) returned false. Report externalApplication as supported, like url_launcher_linux.

Upstream: flutter/packages#5211 (a0ed43580e)

launch() always opens the URL in an external application through the
view app control, but without a supportsMode override the platform
interface default reported only platformDefault as supported, so
supportsLaunchMode(LaunchMode.externalApplication) returned false.
Report externalApplication as supported, like url_launcher_linux.

Upstream: flutter/packages#5211 (a0ed43580e)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-14T09:13:39.251549Z 22f35fe PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Comment thread packages/url_launcher/README.md Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This note still says that only platformDefault is supported. Could you update it to include externalApplication so it matches the behavior reported by supportsMode?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

@seungsoo47
seungsoo47 merged commit d1e219e into flutter-tizen:main Oct 15, 2026
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants