Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 72e6cf6

Browse files
authored
update README with enableJavaScript info (#2766)
1 parent e26634c commit 72e6cf6

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

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)