-
-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specifying modules issue #509
Comments
I read this note
I always rebuild my app from scratch: |
It looks like the postinstall script is not called |
Could it be because I use a local copy of this plugin. In my package.json:
|
npm might not be running the post_install script if the dependency target is local. If the local version is a fork, presumably you have it backed up remotely such as in a github/bitbucket repo, in which case you should update the target to the remote repo URL:
if the local version is not forked, just change it the npm release version:
after this running, npm install should run the post_install script and apply the module selection mechanism |
OK that was it. |
Hello,
What should be the expected behavior when specifying modules in config.xml like that
<preference name="cordova.plugins.diagnostic.modules" value="CAMERA MICROPHONE" />
?Because from what I can see, source files are still included for other modules, and initialize is called on all of them on iOS at least.
I would expect only the core module and specified modules should be present and initialized.
Thank you.
The text was updated successfully, but these errors were encountered: