Package.describe({
  summary: "Google OAuth flow",
  version: "1.2.1-rc.6"
});

var cordovaPluginGooglePlusURL =
  // This revision is from the "update-entitlements-plist-files" branch.
  // This logic can be reverted when/if this PR is merged:
  // https://github.com/EddyVerbruggen/cordova-plugin-googleplus/pull/366
  "https://github.com/meteor/cordova-plugin-googleplus.git#3095abe327e710ab04059ae9d3521bd4037c5a37";

Cordova.depends({
  "cordova-plugin-googleplus": cordovaPluginGooglePlusURL
});

Package.onUse(function(api) {
  api.use("modules");
  api.use("promise");
  api.use('oauth2', ['client', 'server']);
  api.use('oauth', ['client', 'server']);
  api.use('http', ['server']);
  api.use(['underscore', 'service-configuration'], ['client', 'server']);
  api.use('random', 'client');

  api.addFiles('google_server.js', 'server');
  api.addFiles('google_client.js', 'client');
  api.addFiles('google_sign-in.js', 'web.cordova');

  api.mainModule('namespace.js');

  api.export('Google');
});

Package.describe({
  summary: "Google OAuth flow",
  version: "1.2.1-rc.6"
});

Cordova.depends({
  "cordova-plugin-googleplus": "5.1.1"
});

Package.onUse(function(api) {
  api.use("modules");
  api.use("promise");
  api.use('oauth2', ['client', 'server']);
  api.use('oauth', ['client', 'server']);
  api.use('http', ['server']);
  api.use(['underscore', 'service-configuration'], ['client', 'server']);
  api.use('random', 'client');

  api.addFiles('google_server.js', 'server');
  api.addFiles('google_client.js', 'client');
  api.addFiles('google_sign-in.js', 'web.cordova');

  api.mainModule('namespace.js');

  api.export('Google');
});

--- 
+++ 
@@ -3,8 +3,14 @@
   version: "1.2.1-rc.6"
 });
 
+var cordovaPluginGooglePlusURL =
+  // This revision is from the "update-entitlements-plist-files" branch.
+  // This logic can be reverted when/if this PR is merged:
+  // https://github.com/EddyVerbruggen/cordova-plugin-googleplus/pull/366
+  "https://github.com/meteor/cordova-plugin-googleplus.git#3095abe327e710ab04059ae9d3521bd4037c5a37";
+
 Cordova.depends({
-  "cordova-plugin-googleplus": "5.1.1"
+  "cordova-plugin-googleplus": cordovaPluginGooglePlusURL
 });
 
 Package.onUse(function(api) {
Use fork of cordova-plugin-googleplus to ease iOS keychain sharing.

https://github.com/meteor/meteor/issues/8253
https://github.com/EddyVerbruggen/cordova-plugin-googleplus/pull/366
