Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Closed
Changes from all commits
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
5 changes: 5 additions & 0 deletions packages/url_launcher/url_launcher/lib/url_launcher.dart
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ Future<bool> launch(

/// Checks whether the specified URL can be handled by some app installed on the
/// device.
///
/// On iOS 9.0 and later this only works for non-standard URL schemes if those are
/// declared in your app's `Info.plist` file under the `LSApplicationQueriesSchemes` key
/// For more details see:
/// https://developer.apple.com/documentation/uikiAndt/uiapplication/1622952-canopenurl
Future<bool> canLaunch(String urlString) async {
if (urlString == null) {
return false;
Expand Down