You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[url_launcher] Added a note to the README (flutter#2031)
The action won't work on the simulator works on physical iOS device which was not mentioned here so it was added
Co-authored-by: Michael Klimushyn <[email protected]>
Co-authored-by: Stuart Morgan <[email protected]>
Copy file name to clipboardExpand all lines: packages/url_launcher/url_launcher/README.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,10 @@ Common schemes supported by both iOS and Android:
51
51
52
52
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)
53
53
54
+
**Note**: URL schemes are only supported if there are apps installed on the device that can
55
+
support them. For example, iOS simulators don't have a default email or phone
56
+
apps installed, so can't open `tel:` or `mailto:` links.
57
+
54
58
### Encoding URLs
55
59
56
60
URLs must be properly encoded, especially when including spaces or other special characters. This can be done using the [`Uri` class](https://api.dart.dev/stable/2.7.1/dart-core/Uri-class.html):
0 commit comments