This repository has been archived by the owner on May 13, 2021. It is now read-only.
ManifoldJS v0.5.2
This release contains mainly updates to ManifoldCordova and manifoldjs-lib dependencies:
Bug Fixes
- Fallback to name starting with lower case letter (issue manifoldjs/manifoldjs-lib#6)
- Allow manifoldjs CLI to locate packages when used as a module (issue manifoldjs/manifoldjs-lib#13)
- Fixed compilation errors caused by the introduction of pluggable WebViews in [email protected] (issue pwa-builder/ManifoldCordova#76)
- Update whitelist handling to take into account change in [email protected] (issue pwa-builder/ManifoldCordova#77)
- Fixed broken plugin support following removal of XHR bridge modes in [email protected] (issue pwa-builder/ManifoldCordova#78)
Enhancements
- Updated Cordova version to 6.1.1 (issue manifoldjs/manifoldjs-cordova#6)
- Support overriding the Cordova Hosted Web App plugin location and/or version with an environment variable (CORDOVA_PLUGIN_HOSTEDWEBAPP) (issue manifoldjs/manifoldjs-cordova#7)
- Removed workaround for issue with cordova-plugin-whitelist and the iOS platform (see https://issues.apache.org/jira/browse/CB-9232) (issue manifoldjs/manifoldjs-cordova#8)
- Removed hard requirement for W3C manifest. Allow using simple Cordova app (issue pwa-builder/ManifoldCordova#35)
- Added ability to disable offline feature through "mjs_offline_feature" property in manifest.json (issue pwa-builder/ManifoldCordova#61)
- Fixed js injection on Android when evaluateJavacript is not available (issue pwa-builder/ManifoldCordova#64)
- Updated to latest versions of Cordova platforms to support Cordova 6.1.1 (issue pwa-builder/ManifoldCordova#66)
Known Issues with the Cordova [email protected] platform
- Due to the removal of the XHR bridge modes in [email protected], Cordova plugin injection will not work correctly when the hosted page has a CSP that restricts the gap:// frame origin. To support this scenario, you need to use [email protected].
- Even though Cordova [email protected] introduces pluggable webviews, the Hosted Web App plugin currently supports UIWebView only. WkWebView will be supported in a future release.
Breaking Changes with the Cordova [email protected] platform
- When used with previous releases of the cordova-ios platform, the Hosted Web App plugin opened all non-whitelisted URLs externally. Starting with [email protected], these URLs are blocked instead. To change this behavior, any URLs that should be opened in the browser need to be added to the intent whitelist (see https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-whitelist/).