Before it worked well, now it is not working
I have used following plugin:
ionic plugin add cordova-plugin-googleplus --variable REVERSED_CLIENT_ID=myreversedclientid npm install --save @ionic-native/google-plus
Code for login is simple as in instruction:
this.googlePlus.login({})
.then(res => console.log(res))
.catch(err => console.error(err));
Ionic:
ionic (Ionic CLI) : 4.1.2 Ionic Framework : ionic-angular 3.9.2 @ionic/app-scripts : 1.3.1
Cordova:
cordova (Cordova CLI) : 8.1.2 ([email protected]) Cordova Platforms : android 7.1.4 Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 2.0.2, (and 34 other plugins)
System:
Android SDK Tools : 26.1.1 (/Volumes/mac_data/Android/sdk) ios-deploy : 2.0.0 NodeJS : v8.11.3 (/usr/local/bin/node) npm : 5.6.0 OS : macOS Sierra Xcode : Xcode 9.2 Build version 9C40b
Cordova version 7.1.0
Ionic Native GooglePlus 5.3.0
"@ionic-native/google-plus": "^4.12.0", cordova-plugin-googleplus 5.3.0
