Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/url-launcher/lib/url_launcher.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ Future<Null> launch(String urlString) {
urlString,
);
}

/// Checks whether the specified URL can be handled by some app installed on
/// the device.

@mravn-google mravn-google Apr 28, 2017

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please document behavior on "invalid" input such as null, empty string, string with awkward characters like space or emojis.

Future<bool> canLaunch(String urlString) {
return _channel.invokeMethod(
'canLaunch',
Expand Down