Skip to content

Commit d70c165

Browse files
cg021EdwinRomelta
authored andcommitted
update README with enableJavaScript info (flutter#2766)
1 parent 14595a6 commit d70c165

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

packages/url_launcher/url_launcher/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 5.4.9
2+
3+
* Update README.
4+
15
## 5.4.8
26

37
* Initialize `previousAutomaticSystemUiAdjustment` in launch method.

packages/url_launcher/url_launcher/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ web page using a URL following the `http` scheme.
7070

7171
## Browser vs In-app Handling
7272
By default, Android opens up a browser when handling URLs. You can pass
73-
forceWebView: true parameter to tell the plugin to open a WebView instead. On
73+
`forceWebView: true` parameter to tell the plugin to open a WebView instead.
74+
If you do this for a URL of a page containing JavaScript, make sure to pass in
75+
`enableJavaScript: true`, or else the launch method will not work properly. On
7476
iOS, the default behavior is to open all web URLs within the app. Everything
7577
else is redirected to the app handler.

packages/url_launcher/url_launcher/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: url_launcher
22
description: Flutter plugin for launching a URL on Android and iOS. Supports
33
web, phone, SMS, and email schemes.
44
homepage: https://github.com/flutter/plugins/tree/master/packages/url_launcher/url_launcher
5-
version: 5.4.8
5+
version: 5.4.9
66

77
flutter:
88
plugin:

0 commit comments

Comments
 (0)