Add NPM packages for your hooks

We didn’t foresee heavy scripting in the hooks of the project, but from now, you can upload NPM packages alongside your hooks to create complex scripts to be executed.

The structure of the inside of your Zip file should be:

source.zip
 |- www (your app)
 |- config.xml (optional)
 |- hooks (optional)
 |   `- script_example.js
 `- node_modules (optional)
     `- npm_package/

This allows you to modify the AndroidManifest or Xcode configuration files much more easily, for example.

Leave a Reply

Your email address will not be published. Required fields are marked *