android - Google+ sign in: PlusClient VS AccountManager -


i building android application needs google+ sign in functionality. needed identify user , access user's friends/contacts in google+. can see 2 options build login flow: using android.accounts.accountmanager or using com.google.android.gms.plus.plusclient.

which 1 preferred approach execute single-button-click login?

com.google.android.gms.plus.plusclient recommended approach:

according google

if planning provide “sign-in google” feature, recommend using google+ sign-in, provides oauth 2.0 authentication mechanism along additional access google desktop , mobile features.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -