diff --git a/packages/meteor-platform/package.js b/packages/meteor-platform/package.js index 05c6ed642a..bddf3fb24a 100644 --- a/packages/meteor-platform/package.js +++ b/packages/meteor-platform/package.js @@ -73,7 +73,3 @@ Package.onUse(function(api) { ], 'web'); }); -Cordova.depends({ - 'org.apache.cordova.device': '0.2.13', - 'com.meteor.cordova-update': 'https://github.com/meteor/com.meteor.cordova-update/tarball/92fe99b7248075318f6446b288995d4381d24cd2' -}); diff --git a/packages/webapp/package.js b/packages/webapp/package.js index e4a134a625..705aa2037d 100644 --- a/packages/webapp/package.js +++ b/packages/webapp/package.js @@ -12,6 +12,13 @@ Npm.strip({ useragent: ["test/"] }); +Cordova.depends({ + 'org.apache.cordova.device': '0.2.13', + // the cordova plugin built by Meteor Core team that "emulates a server" on + // the mobile device. Serving the files and checking for the HCP updates. + 'com.meteor.cordova-update': 'https://github.com/meteor/com.meteor.cordova-update/tarball/92fe99b7248075318f6446b288995d4381d24cd2' +}); + Package.onUse(function (api) { api.use(['logging', 'underscore', 'routepolicy', 'boilerplate-generator', 'spacebars', 'htmljs', 'blaze', 'webapp-hashing'], 'server');