ionic-cli: The ionic-cli is not saving the variables to package.json on plugin add
Plugin variables aren’t being saved to the package.json
after running ionic plugin add submodules/phonegap-facebook-plugin --variable APP_ID=SOMEID --variable APP_NAME=someName
.
I checked the source of State
in ionic-app-lib and it takes a variables
arguments (source), but the ionic-cli does not pass it along (source).
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 15
Commits related to this issue
- Fix(state): Pass variables along to state command. Fixes #429 — committed to ionic-team/ionic-cli by deleted user 9 years ago
Hi @maksymilian-majer @jbavari
Just a quick question. This has been closed but I’m not sure if this resolved. If I add a plugin with variables, it saves to config.xml but not to package.json
Is it supposed to work that way and do we need to add the plugins and config to package.json manually? For example:
Thank you for your input.