From 2f8cb3ae0a5541582c3874a4399f2b60bc5c99ef Mon Sep 17 00:00:00 2001 From: Michael Thomsen Date: Wed, 3 May 2017 16:18:20 +0200 Subject: [PATCH] A few more details on url_launcher Adding a few more words to make searches on pub more likely to succeed --- packages/url-launcher/README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/packages/url-launcher/README.md b/packages/url-launcher/README.md index de0411d1eba0..c4c20272dd79 100644 --- a/packages/url-launcher/README.md +++ b/packages/url-launcher/README.md @@ -41,10 +41,11 @@ URL schemes depend on the underlying platform and installed apps. Common schemes supported by both iOS and Android: -* http: , https: -* mailto: -* tel: -* sms: - -More details can be found here for [iOS](https://developer.apple.com/library/content/featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html) and [Android](https://developer.android.com/guide/components/intents-common.html) - +| Scheme | Action | Example | +|---|---|---| +| `http:` , `https:` | `http://flutter.io` | Open URL in the default browser | +| `mailto:` | `'mailto:smith@example.org?subject=Help&body=I need help!'` | Open in the default email app | +| `tel:` | `tel:+1 555 010 999` | Make a phone call to using the default phone app | +| `sms:` | `sms:5550101234?body=Call me` | Send an SMS message to using the default messaging app | + +More details can be found here for [iOS](https://developer.apple.com/library/content/featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html) and [Android](https://developer.android.com/guide/components/intents-common.html).