Torsten2217 / google-plus-platform

Automatically exported from code.google.com/p/google-plus-platform
0 stars 0 forks source link

Android SDK Feature Request: ability to ask for offline access #555

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
-> What new capabilities would you like to see added to the API?

The ability to request a long-lived token or a refresh token using the Signin 
button provided by the Android SDK, or the lower-level authentication 
functionality provided by the Android SDK.

->Why do you want this feature, and how might it be valuable not just to
your application, but to many developers?

Currently the web version of the Signin button allows the implementer to 
specify "accesstype=offline" in order to retrieve a refresh token, allowing for 
offline access to the scopes the user authorized the app to access.  This is a 
really great feature for services that need to do offline processing (for 
example www.rebelmouse.com, which I advise), in order to keep user's profiles 
up-to-date.  Offline access allows services like Rebelmouse to keep a user's 
list of recent posts updated regardless of whether or not they have logged in 
to the app within the past hour.

Adding the ability to request offline access to the Android and iOS SDKs would 
also increase consistency with the web version, allowing users and implementers 
to expect similar behavior regardless of the platform a user initially 
registered on.

A couple of others requested this feature here: 
http://stackoverflow.com/questions/15641734/accountmanager-refresh-tokenoffline-
access

Original issue reported on code.google.com by bregens...@gmail.com on 14 May 2013 at 5:18

GoogleCodeExporter commented 9 years ago
I just heard back from a member of the Google+ team and it looks like this 
feature will be supported soon, which is awesome news.  So this can probably be 
closed.  Thanks!

Original comment by bregens...@gmail.com on 14 May 2013 at 5:32