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.
This commit is contained in:
Juan J. San Emeterio 2017-04-14 09:14:41 -04:00 committed by Ibby Hadeed
parent 8edc27079c
commit d30b534150

View File

@ -12,7 +12,7 @@ import { Cordova, Plugin } from '@ionic-native/core';
* *
* ... * ...
* *
* this.googlePlus.login() * this.googlePlus.login({})
* .then(res => console.log(res)) * .then(res => console.log(res))
* .catch(err => console.error(err)); * .catch(err => console.error(err));
* *