Working with plugins and version control (git)


Hi all

I was wondering what is the right way to work with all the cordova/ionic native plugins and github. let me explain.

Let say I want to install ionic-deep-links plugins, this plugins have some variables that are must.
now the default .gitignore file has the plugins folder in it, this cause the variables of the plugin to be per computer and not per project.
I see a file fetch.json under the plugins folder is it need to be committed?

I guess im missing something. thanks ahead!


Found a solution, thanks to the amawsing people in ionic that gave us the feature of ionic state

just use ionic state save this will save the plugins to you package.json
and then after pulling the project ionic state restore

Thanks Ionic Team!!!