-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[url_launcher] Endorse url_launcher_linux #2863
[url_launcher] Endorse url_launcher_linux #2863
Conversation
Adds an endorsement for url_launcher_linux, so that Linux is supported automatically. Part of flutter/flutter#41721
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.
LGTM on changes in the mobile plugin! I'm not familiar on the desktop side code changes (CMake related files in the example app)
// Generally all devices should have some default SMS app. | ||
expect(await canLaunch('sms:5555555555'), true); | ||
// SMS handling is available by default on most platforms. | ||
if (kIsWeb || !Platform.isLinux) { |
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.
just curious: Does Platform.isLinux
include web on linux?
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.
IIRC Platform.isFoo
explodes when run on web.
That's just the result of running |
Adds an endorsement for url_launcher_linux, so that Linux is supported automatically. Part of flutter/flutter#41721
Adds an endorsement for url_launcher_linux, so that Linux is supported automatically. Part of flutter/flutter#41721
Adds an endorsement for url_launcher_linux, so that Linux is supported automatically. Part of flutter/flutter#41721
Description
Adds an endorsement for url_launcher_linux, so that Linux is supported
automatically.
Related Issues
Part of flutter/flutter#41721
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]
). This will ensure a smooth and quick review process.///
).flutter analyze
) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?