Skip to content
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.

iOS plugin installation blocks other plugins installation routine #60

Closed
chauthai opened this issue Dec 8, 2015 · 4 comments
Closed

Comments

@chauthai
Copy link
Contributor

chauthai commented Dec 8, 2015

I'm using cordova in a gulp task and saved cordova-hot-code-push in my config.xml file via cordova plugin add cordova-hot-code-push-plugin --save. If I init my app everything goes fine for android. But all my iOS plugins don't get installed, when your plugin is in the config.xml.

This is part of my gulp task:

return new Promise(resolve => {
  cordova.platform('add', 'android', () => {
  cordova.platform('add', 'ios', resolve);
  });
});
@nikDemyankov
Copy link
Member

There is no difference between installing Android or iOS version of the plugin. It is handled by Cordova itself, and the only thing is executed from the plugin is a hook, that installs the required node dependencies. If it's working for android - it should work for iOS as well. If it get's blocked - maybe there is something wrong with the gulp task itself.

Haven't used a gulp, so can't really tell right now. Need time to investigate, but not sure that this is a plugin issue.

@chauthai
Copy link
Contributor Author

chauthai commented Dec 8, 2015

Ok, thanks! I've build a work around with exec:

exec('cordova plugin add cordova-hot-code-push-plugin',
{ maxBuffer: 500 * 1024 },
(err, stdout, stderr) => {
  process.stdout.write(stdout);
  process.stdout.write(stderr);
  if (err) process.stdout.write(err);
  cordova.prepare(resolve);
});

@nikDemyankov
Copy link
Member

Glad to hear that )

@nordnet-deprecation-bot
Copy link
Contributor

👋 Hi! Thank you for your interest in this repo.

😢 We are not using nordnet/cordova-hot-code-push anymore, and we lack the manpower and the experience needed to maintain it. We are aware of the inconveniece that this may cause you. Feel free to use it as is, or create your own fork.

🔒 This will now be closed & locked.

ℹ️ Please see #371 for more information.

@nordnet nordnet locked and limited conversation to collaborators Sep 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants