From d30b534150aaf5bc2c762ac954936fa81cb44d47 Mon Sep 17 00:00:00 2001 From: "Juan J. San Emeterio" Date: Fri, 14 Apr 2017 09:14:41 -0400 Subject: [PATCH] docs(google-plus): options parameter is required (#1368) Issue reported: https://forum.ionicframework.com/t/ionic-native-googleplus-unrecognized-selector-sent-to-instance/81944/3 In order to correctly call the login method on the GooglePlus provider you need to pass it the 'options' parameter even if it's empty. --- src/@ionic-native/plugins/google-plus/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/google-plus/index.ts b/src/@ionic-native/plugins/google-plus/index.ts index 0d6457b7c..80844bae8 100644 --- a/src/@ionic-native/plugins/google-plus/index.ts +++ b/src/@ionic-native/plugins/google-plus/index.ts @@ -12,7 +12,7 @@ import { Cordova, Plugin } from '@ionic-native/core'; * * ... * - * this.googlePlus.login() + * this.googlePlus.login({}) * .then(res => console.log(res)) * .catch(err => console.error(err)); *