Flutter教程

Google Plus

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

联系我们?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.

Contact Us Today!

Ionic Google Plus插件的安装(Installation)

ionic cordova plugin add cordova-plugin-googleplus npm install @ionic-native/google-plus
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEY npm install @ionic-enterprise/google-plus

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

  • Android
  • iOS

Ionic Google Plus插件的用法(Usage)

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

constructor(private googlePlus: GooglePlus) { }

...

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