cordova-plugin-ionic-webview
Advanced tools
Comparing version 3.1.2 to 4.0.0
@@ -0,1 +1,15 @@ | ||
# [4.0.0](https://github.com/ionic-team/cordova-plugin-ionic-webview/compare/v3.1.2...v4.0.0) (2019-02-18) | ||
### Features | ||
* **ios:** Make iOS app Scheme configurable with a preference ([#307](https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/307)) ([d52d37e](https://github.com/ionic-team/cordova-plugin-ionic-webview/commit/d52d37e)), closes [#282](https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/282) | ||
* **ios:** Remove WKSuspendInBackground preference ([#309](https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/309)) ([73b6659](https://github.com/ionic-team/cordova-plugin-ionic-webview/commit/73b6659)), closes [#286](https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/286) | ||
### BREAKING CHANGES | ||
* **ios:** Remove the WKSuspendInBackground preference, so app relying on that prefere will | ||
not behave as expected | ||
## [3.1.2](https://github.com/ionic-team/cordova-plugin-ionic-webview/compare/v3.1.1...v3.1.2) (2019-02-04) | ||
@@ -2,0 +16,0 @@ |
{ | ||
"name": "cordova-plugin-ionic-webview", | ||
"version": "3.1.2", | ||
"version": "4.0.0", | ||
"description": "Ionic Web View Engine Plugin", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -32,3 +32,3 @@ <!-- | ||
Note: This repo and its documentation are for `cordova-plugin-ionic-webview` @ `3.x`, which uses the new features that may not work with all apps. See [Requirements](#plugin-requirements) and [Migrating to 3.x](#migrating-to-3x). | ||
Note: This repo and its documentation are for `cordova-plugin-ionic-webview` @ `4.x`, which uses the new features that may not work with all apps. See [Requirements](#plugin-requirements) and [Migrating to 4.x](#migrating-to-4x). | ||
@@ -97,10 +97,16 @@ 2.x documentation can be found [here](https://github.com/ionic-team/cordova-plugin-ionic-webview/blob/2.x/README.md). | ||
#### WKSuspendInBackground | ||
#### iosScheme | ||
```xml | ||
<preference name="WKSuspendInBackground" value="false" /> | ||
<preference name="iosScheme" value="httpsionic" /> | ||
``` | ||
Set to false to stop WKWebView suspending in background too eagerly. | ||
Default value is `ionic` | ||
Configures the Scheme the app uses to load the content. | ||
Values like `http`, `https` or `file` are not valid and will use default value instead. | ||
If you change it, you'll need to add a new `allow-navigation` entry in the `config.xml` for the configured scheme (i.e `<allow-navigation href="httpsionic://*"/>` if `iosScheme` is set to `httpsionic`). | ||
#### KeyboardAppearanceDark | ||
@@ -120,3 +126,3 @@ | ||
## Migrating to 3.x | ||
## Migrating to 4.x | ||
@@ -134,5 +140,5 @@ 1. Remove and re-add the Web View plugin: | ||
1. Apps are now served from `ionic://` scheme on iOS. | ||
1. Apps are now served from `ionic://` scheme on iOS by default. | ||
* The default origin for requests from the iOS WebView is `ionic://localhost`. If `Hostname` preference is set, then origin will be `ionic://HostnameValue`. | ||
* The default origin for requests from the iOS WebView is `ionic://localhost`. If `Hostname` and `iosScheme` preferences are set, then origin will be `iosSchemeValue://HostnameValue`. | ||
@@ -139,0 +145,0 @@ 1. Replace any usages of `window.Ionic.normalizeURL()` with `window.Ionic.WebView.convertFileSrc()`. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
131530
153