title: Error: cordova-plugin-googleplus - SignInResult is null
body: <p>I am working on Ionic 2 app. I am using <a href="https://github.com/EddyVerbruggen/cordova-plugin-googleplus" rel="nofollow noreferrer">EddyVerbruggen/cordova-plugin-googleplus</a> for Google login.</p>
  
  <p>It works good with my project with the following plugins involved:</p>
  
  <pre><code>[ ~/projects/ionic/grmobile ]$ ionic plugins list
  cordova-plugin-app-event 1.2.0 "Application Events"
  cordova-plugin-camera 2.4.0 "Camera"
  cordova-plugin-compat 1.1.0 "Compat"
  cordova-plugin-console 1.0.6 "Console"
  cordova-plugin-device 1.1.5 "Device"
  cordova-plugin-googleplus 5.1.1 "Google SignIn"
  cordova-plugin-network-information 1.3.2 "Network Information"
  cordova-plugin-splashscreen 4.0.2 "Splashscreen"
  cordova-plugin-statusbar 2.2.2 "StatusBar"
  cordova-plugin-whitelist 1.3.2 "Whitelist"
  de.appplant.cordova.plugin.local-notification 0.8.4 "LocalNotification"
  info.protonet.imageresizer 0.1.1 "Image Resizer"
  ionic-plugin-keyboard 2.2.1 "Keyboard"
  </code></pre>
  
  <p>But it fails with the same code, with following plugins:</p>
  
  <pre><code>[ ~/projects/ionic/grmobile ]$ ionic plugin list
  cordova-plugin-app-event 1.2.0 "Application Events"
  cordova-plugin-app-version 0.1.9 "AppVersion"
  cordova-plugin-background-mode 0.7.2 "BackgroundMode"
  cordova-plugin-badge 0.7.4 "Badges"
  cordova-plugin-camera 2.4.0 "Camera"
  cordova-plugin-compat 1.1.0 "Compat"
  cordova-plugin-console 1.0.6 "Console"
  cordova-plugin-device 1.1.5 "Device"
  cordova-plugin-facebook4 1.7.4 "Facebook Connect"
  cordova-plugin-file 4.3.2 "File"
  cordova-plugin-file-transfer 1.6.2 "File Transfer"
  cordova-plugin-firebase 0.1.19 "Google Firebase Plugin"
  cordova-plugin-google-analytics 1.7.5 "Google Universal Analytics Plugin"
  cordova-plugin-googleplus 5.1.1 "Google SignIn"
  cordova-plugin-inappbrowser 1.7.0 "InAppBrowser"
  cordova-plugin-network-information 1.3.2 "Network Information"
  cordova-plugin-splashscreen 4.0.2 "Splashscreen"
  cordova-plugin-statusbar 2.2.2 "StatusBar"
  cordova-plugin-whitelist 1.3.2 "Whitelist"
  cordova-plugin-x-socialsharing 5.1.6 "SocialSharing"
  de.appplant.cordova.plugin.local-notification 0.8.4 "LocalNotification"
  info.protonet.imageresizer 0.1.1 "Image Resizer"
  ionic-plugin-keyboard 2.2.1 "Keyboard"
  </code></pre>
  
  <p>I will narrow down the exact plugin(s), which is causing the issue and update here.</p>
  
  <p>My code is:</p>
  
  <pre><code>window.plugins.googleplus.login({}, function(successMsg) {
    console.log(successMsg);
  }, function(errorMsg) {
    console.log(errorMsg);
  });
  </code></pre>
  
  <p>With the 2nd set of plugins, The login always fails with the following message:</p>
  
  <p><code>SignInResult is null</code></p>
  
  <p>The instant the login function is called, error callback is invoked with the msg </p>
  
  <p><code>SignInResult is null</code></p>
  
  <p>. But in device, Google account creation popup is displayed and when I tap on my account, neither success callback nor failure callback is invoked.</p>
  
  <p>I installed the plugin with following command</p>
  
  <p><code>ionic plugin add cordova-plugin-googleplus</code></p>