cordova-plugin-ionic-webview
Advanced tools
Comparing version 2.4.1 to 2.5.0-0
{ | ||
"name": "cordova-plugin-ionic-webview", | ||
"version": "2.4.1", | ||
"version": "2.5.0-0", | ||
"description": "Ionic Web View Engine Plugin", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -57,2 +57,10 @@ <!-- | ||
```xml | ||
<preference name="WKPort" value="YOUR_RANDOM_PORT_NUMBER" /> | ||
<allow-navigation href="http://localhost:YOUR_RANDOM_PORT_NUMBER/*"/> | ||
``` | ||
Replace `localhost` with your custom HostName, if applicable. | ||
### iOS Preferences | ||
@@ -82,11 +90,10 @@ | ||
#### WKSuspendInBackground (Removed in 2.4.0) | ||
#### WKSuspendInBackground | ||
This preference has been removed in 2.4.0 version of the plugin as it relied on a private API. Apps relying on this preference will not work as intended after the update. It will act as the previous default value, which was true. | ||
```xml | ||
<preference name="WKSuspendInBackground" value="true" /> | ||
<preference name="WKSuspendInBackground" value="false" /> | ||
``` | ||
Default value is `true` (suspend). | ||
Whether to try to keep the server running when the app is backgrounded. Note: the server will likely be suspended by the OS after a few minutes. In particular, long-lived background tasks are not allowed on iOS outside of select audio and geolocation tasks. | ||
Whether to suspend or try to keep the server running when the app is backgrounded. Note: the server will likely be suspended by the OS after a few minutes. In particular, long-lived background tasks are not allowed on iOS outside of select audio and geolocation tasks. | ||
@@ -93,0 +100,0 @@ #### WKBind |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
397254
153
2