-
Notifications
You must be signed in to change notification settings - Fork 659
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
ionic state reset changes package.json #564
Comments
okay it seems that cordova plugin save shows the same behavior |
maybe this line that needs to be changed? |
I think its required to compare locator as well, right? |
I'll look into this today. Thank you for reporting. |
Edit: it seems I confused things, the extra entry is indeed added to The same happens to us with Basically AFAIU there's a fundamental mismatch between the ionic way and cordova way of handling the variables When you have in
then when you do
which adds the following entry to so now you have two entries for such plugin, one plain You can have cordova save the variables but then you have to pass
(which is a pain BTW because cordova and ionic use a different XML formatter) and in The same happens regardless if I put |
Hello all! Thanks for opening an issue with us. We are currently in the process of deprecating the |
I have this:
"cordovaPlugins": [
"ionic-plugin-keyboard",
"cordova-plugin-statusbar",
"cordova-plugin-camera",
"./engine/cordova-crosswalk-engine-c0.6.2",
"uk.co.workingedge.phonegap.plugin.launchnavigator",
"https://github.com/danwilson/google-analytics-plugin.git",
"cordova-plugin-file-transfer",
"cordova-plugin-whitelist",
"cordova-plugin-inappbrowser",
{
"locator": "https://github.com/carlosjavier84/phonegap-facebook-plugin.git",
"id": "com.phonegap.plugins.facebookconnect",
"variables": {
"APP_ID": "234234234234",
"APP_NAME": "testapp"
}
}
],
and when I run ionic state reset, there is always an additional https://github.com/carlosjavier84/phonegap-facebook-plugin.git entry that gets appended to cordovaplugins
I think this is a bug because then the plugin gets installed twice :(
The text was updated successfully, but these errors were encountered: