Skip to content

Commit d471583

Browse files
kalkotekedarMichael Klimushynstuartmorgan-g
authored andcommitted
[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]>
1 parent bbd3367 commit d471583

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packages/url_launcher/url_launcher/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## 6.0.1
22

33
* Update result to `True` on iOS when the url was loaded successfully.
4+
* Added a README note about required applications.
45

56
## 6.0.0
67

packages/url_launcher/url_launcher/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ Common schemes supported by both iOS and Android:
5151

5252
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)
5353

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+
5458
### Encoding URLs
5559

5660
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

Comments
 (0)