{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/5858","labels_url":"https://api.github.com/repos/meteor/meteor/issues/5858/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/5858/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/5858/events","html_url":"https://github.com/meteor/meteor/issues/5858","id":123350120,"number":5858,"title":"Differential loading of Cordova plugins","user":{"login":"derwaldgeist","id":3984535,"avatar_url":"https://avatars.githubusercontent.com/u/3984535?v=3","gravatar_id":"","url":"https://api.github.com/users/derwaldgeist","html_url":"https://github.com/derwaldgeist","followers_url":"https://api.github.com/users/derwaldgeist/followers","following_url":"https://api.github.com/users/derwaldgeist/following{/other_user}","gists_url":"https://api.github.com/users/derwaldgeist/gists{/gist_id}","starred_url":"https://api.github.com/users/derwaldgeist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derwaldgeist/subscriptions","organizations_url":"https://api.github.com/users/derwaldgeist/orgs","repos_url":"https://api.github.com/users/derwaldgeist/repos","events_url":"https://api.github.com/users/derwaldgeist/events{/privacy}","received_events_url":"https://api.github.com/users/derwaldgeist/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meteor/meteor/labels/Project:Mobile","name":"Project:Mobile","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-21T20:19:30Z","updated_at":"2015-12-22T09:31:33Z","closed_at":null,"body":"I am using a bunch of Cordova plugins I refer via Github tarball URLs. One of these is the OpenTok framework for video conferencing via WebRTC. This plugin is quite huge, and it takes sometimes 20 minutes to download it (maybe also due to my slow network).\r\n\r\nMy problem is that this download is triggered each and every time I add or remove a Cordova plugin. Instead of just loading or unloading the Cordova plugin I added/removed, Meteor seems to download every plugin again, including the OpenTok plugin.\r\n\r\nYesterday, I was able to watch the entire new video series on Blaze -> React migration while waiting for this. Well, that was a good investment, but I would definitely appreciate if you could implement a kind of \"differential\" loading for the Cordova plugins, i.e. remember which plugin has already been downloaded and skip this one on subsequent changes. Thanks."},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/166565972","html_url":"https://github.com/meteor/meteor/issues/5858#issuecomment-166565972","issue_url":"https://api.github.com/repos/meteor/meteor/issues/5858","id":166565972,"user":{"login":"martijnwalraven","id":54485,"avatar_url":"https://avatars.githubusercontent.com/u/54485?v=3","gravatar_id":"","url":"https://api.github.com/users/martijnwalraven","html_url":"https://github.com/martijnwalraven","followers_url":"https://api.github.com/users/martijnwalraven/followers","following_url":"https://api.github.com/users/martijnwalraven/following{/other_user}","gists_url":"https://api.github.com/users/martijnwalraven/gists{/gist_id}","starred_url":"https://api.github.com/users/martijnwalraven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martijnwalraven/subscriptions","organizations_url":"https://api.github.com/users/martijnwalraven/orgs","repos_url":"https://api.github.com/users/martijnwalraven/repos","events_url":"https://api.github.com/users/martijnwalraven/events{/privacy}","received_events_url":"https://api.github.com/users/martijnwalraven/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T09:31:33Z","updated_at":"2015-12-22T09:31:33Z","body":"No, that shouldn't matter, because we internally already convert tarball URLs to these Git URLs in Meteor 1.2.\r\n\r\nYou'll find more on these Git URLs with SHA references [here](https://github.com/meteor/meteor/wiki/Meteor-Cordova-integration#meteor-packages-with-cordova-dependencies)."}}