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

vb.net - Alternative to the T-SQL AS keyword -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

ios - CFRelease causing crash in iPad application -