If i install a plugin via ‘ionic plugin add …’, should i expect automagic changes to config.xml? I’ve been having a number of problems getting ngCordova plugger wrappers to work – all of which i’ve tracked down to the plugins not installing the config.xml entries. Similarly, why is the Plugins folder listed in .gitignore?
Plugins should just install automatically.
What you should do is if you have a platform already added and you install a new plugin, you’ll need to build for that platform.
We ignore the plugins in the .gitignore file because there is some weigh to them, especially considering the broad spectrum of platforms a cordova plugin could support.
There is still something i’m not getting. When i add a platform, git never sees any untracked changes. How is the information about platforms persisted?
ex. if i have an ionic app repository and want to clone/build it for android on two different machines, do i have to do an ionic platform add android’ on both because the platform information is persisted outside of source control?