Skip to content

Commit

Permalink
[url_launcher] Added a note to the README (flutter#2031)
Browse files Browse the repository at this point in the history
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 <mklim@google.com>
Co-authored-by: Stuart Morgan <stuartmorgan@google.com>
  • Loading branch information
3 people authored Feb 25, 2021
1 parent eab2552 commit f614980
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/url_launcher/url_launcher/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 6.0.1

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

## 6.0.0

Expand Down
4 changes: 4 additions & 0 deletions packages/url_launcher/url_launcher/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ Common schemes supported by both iOS and Android:

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)

**Note**: URL schemes are only supported if there are apps installed on the device that can
support them. For example, iOS simulators don't have a default email or phone
apps installed, so can't open `tel:` or `mailto:` links.

### Encoding URLs

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):
Expand Down

0 comments on commit f614980

Please sign in to comment.