Google Plus

Contents
https://github.com/EddyVerbruggen/cordova-plugin-googleplus

Ionic Google Plus插件的安装(Installation)

ionic cordova plugin add cordova-plugin-googleplus npm install @ionic-native/google-plus

Ionic Google Plus插件支持的平台(Supported Platforms)

  • Android
  • iOS

Ionic Google Plus插件的用法(Usage)

import { GooglePlus } from '@ionic-native/google-plus';

constructor(private googlePlus: GooglePlus) { }

...

this.googlePlus.login({})
  .then(res => console.log(res))
  .catch(err => console.error(err));