Thank you for your reply! We have a server that needs to do some periodic requests so we would need the refresh token, I noticed there is a Bundle extras parameter in the getToken function, but I couldn't find any documentation for it.
Using a webview we managed to get the refresh token, so I was thinking it should be possible using the API also because it's a lot nicer. Thanks, Erdal On Tuesday, December 4, 2012 9:34:18 PM UTC-8, Nikolay Elenkov wrote: > > On Wed, Dec 5, 2012 at 2:27 PM, erdal <[email protected] <javascript:>> > wrote: > > I'm using Google Play Services for Google OAuth2.0 and can't figure out > how > > to get a refresh token for offline access. Any suggestions? > > > > http://developer.android.com/google/play-services/auth.html > > > > It should handle refreshing for you automatically. AFAIK, you cannot get > the actual refresh token via the API. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

