apla / me.apla.cordova.app-preferences

App preferences plugin for cordova
Apache License 2.0
201 stars 209 forks source link

Settings resources should be generated in an `afterPrepare` hook #46

Closed speigg closed 8 years ago

speigg commented 9 years ago

This way no extra steps are necessary.

micky2be commented 9 years ago

+1

SomaticIT commented 8 years ago

+1

SomaticIT commented 8 years ago

An easy way to do this is to add a hook tag to plugin.xml file :

<hook type="after_prepare" src="bin/build-app-settings.js" />

Source: https://cordova.apache.org/docs/en/edge/plugin_ref/spec.html#link-23

SomaticIT commented 8 years ago

Done in #50.