Taking things away is always harder than adding things.īack in the day, we had active contributions from the community to translate our documentation, and we had a pretty robust system to pull them all together and publish the static HTML site. It has been talked about for years, and even though we agreed to do it, we never really moved on it. This means the app code does not need to make any special calls for Electron vs any other platform.įor a quick start guide and in-depth configuration setup, please check out our Cordova Electron Documentation! This feature is known as Context Isolation.Īdditionally, this system follows our pre-existing plugin structure. With the new support, the plugin will be preloaded and runs in a separate context from the web app. This was meant to be temporary and is not highly recommended because it can lead to security issues. There was a temporary workaround solution, nodeIntegration, that allowed app developers and plugin developers to have access to node modules. In the earlier releases of Cordova Electron, we didn't have a proper plugin system in place. It is recommended to use the current LTS, which is 14.17.6 at the time of this release.
This release requires the development environment to have Node.js 12.x or higher. The Electron core dependencies have been updated.Cordova platform add of the notable breaking changes & new features in this release are: