Jetpack
Kotlin
Docs
News
Platform
Android Studio
Google Play
Jetpack
Kotlin
Docs
News
Platform
Android Studio
Google Play
Jetpack
Kotlin
Docs
News
More
Android Developers Blog
The latest Android and Google Play news for app and game developers.
Improvements to Sign-In with Google Play services 8.3
12 novembre 2015
Posted by Laurence Moroney, Developer Advocate
With Google Play services 8.3, we’ve been hard at work to provide a greatly improved sign-in experience for developers that want to build apps that sign their users in with Google. To help you better understand some of these changes, this is the first in a series of blog posts about what’s available to you as a developer. In this post, we’ll discuss the changes to the user experience, and how you can use them in your app, as well as updates to the API to make coding Sign-In with Google more straightforward. On Android Marshmallow, this new Sign-In API has removed any requirement for device permissions, so there is no need to request runtime access to the accounts on the device, as was the case with the old API.
User Experience Improvements
We’ve gotten lots of feedback from developers about the user experience of using Google’s social sign-in button. Many of you noted that it took too many steps and was confusing for users. Typically, the experience is that the user touches a sign in button, and they are asked to choose an account. If that account doesn’t have a Google+ profile, they need to create one, and after that they have to give permissions based on the type of information that the app is asking for. Finally, they get to sign in to the app.
With the
new API
, the default set of permissions that the app requests has been reduced to basic profile information and optionally email address as demonstrated
here
. This introduces opportunities for much streamlined user experience: the first improvement here is in the presentation of the button itself. We had received feedback that the Google+ branding on the Sign-In button made it feel like the user would need to share Google+ data, which most apps don’t use. As such, the
SignInButton
has been rebranded with the reduced scopes -- it now reads ‘Sign In with Google’, and follows the standard Google
branding
for use with basic profile information.
After this, the user flow is also more straightforward. Instead of subsequent screens where a Google account is picked based on the email addresses registered on the device, followed by a potential ‘Create Google+ Profile’ dialog, followed by a permissions consent dialog, like this:
The user experience has changed to a single step, where the user chooses their account and gives consent. If they don’t have a Google+ profile, they don’t need to create one, eliminating that step. Additional consent dialogs come later, and are best requested in context so that the user understand why you might ask for access to their calendar or contact, and they are only prompted at the time that this data is needed.
We hope that a streamlined, one-tap, non-social sign-in option with additional OAuth permissions requested in context will help improve your sign-in rates and make it a breeze to sign-in with Google.
Check out some live apps that use the new API, including
Instacart
,
NPR One
, and
Bring!
In the next post we’ll build on this by looking at some of the changes in the API to make coding apps that use Sign-In with Google even easier.
Libellés
Android O
Android Studio
Design
Develop
Google Play
Archive
mai 2022
(17)
avril 2022
(8)
mars 2022
(16)
février 2022
(9)
janvier 2022
(6)
décembre 2021
(8)
novembre 2021
(4)
octobre 2021
(15)
septembre 2021
(11)
août 2021
(7)
juillet 2021
(15)
juin 2021
(9)
mai 2021
(18)
avril 2021
(10)
mars 2021
(12)
février 2021
(11)
janvier 2021
(3)
décembre 2020
(7)
novembre 2020
(7)
octobre 2020
(7)
septembre 2020
(9)
août 2020
(18)
juillet 2020
(18)
juin 2020
(18)
mai 2020
(4)
avril 2020
(7)
mars 2020
(9)
février 2020
(9)
janvier 2020
(3)
décembre 2019
(8)
novembre 2019
(12)
octobre 2019
(11)
septembre 2019
(5)
août 2019
(9)
juillet 2019
(8)
juin 2019
(6)
mai 2019
(15)
avril 2019
(10)
mars 2019
(11)
février 2019
(5)
janvier 2019
(6)
décembre 2018
(11)
novembre 2018
(9)
octobre 2018
(13)
septembre 2018
(5)
août 2018
(13)
juillet 2018
(9)
juin 2018
(16)
mai 2018
(16)
avril 2018
(8)
mars 2018
(8)
février 2018
(7)
janvier 2018
(9)
décembre 2017
(9)
novembre 2017
(13)
octobre 2017
(14)
septembre 2017
(11)
août 2017
(19)
juillet 2017
(11)
juin 2017
(13)
mai 2017
(21)
avril 2017
(12)
mars 2017
(14)
février 2017
(11)
janvier 2017
(12)
décembre 2016
(17)
novembre 2016
(16)
octobre 2016
(9)
septembre 2016
(6)
août 2016
(7)
juillet 2016
(12)
juin 2016
(14)
mai 2016
(16)
avril 2016
(14)
mars 2016
(8)
février 2016
(8)
janvier 2016
(9)
décembre 2015
(9)
novembre 2015
(13)
octobre 2015
(19)
septembre 2015
(15)
août 2015
(13)
juillet 2015
(9)
juin 2015
(8)
mai 2015
(10)
avril 2015
(10)
mars 2015
(12)
février 2015
(8)
janvier 2015
(3)
décembre 2014
(9)
novembre 2014
(13)
octobre 2014
(11)
septembre 2014
(6)
août 2014
(2)
juillet 2014
(9)
juin 2014
(10)
mai 2014
(4)
mars 2014
(4)
février 2014
(3)
janvier 2014
(2)
décembre 2013
(3)
novembre 2013
(2)
octobre 2013
(7)
septembre 2013
(2)
août 2013
(5)
juillet 2013
(5)
juin 2013
(4)
mai 2013
(9)
avril 2013
(3)
mars 2013
(2)
février 2013
(3)
janvier 2013
(3)
décembre 2012
(5)
novembre 2012
(3)
octobre 2012
(3)
septembre 2012
(1)
août 2012
(1)
juillet 2012
(2)
juin 2012
(5)
mai 2012
(1)
avril 2012
(5)
mars 2012
(5)
février 2012
(5)
janvier 2012
(5)
décembre 2011
(7)
novembre 2011
(7)
octobre 2011
(5)
septembre 2011
(5)
août 2011
(3)
juillet 2011
(7)
juin 2011
(2)
mai 2011
(5)
avril 2011
(6)
mars 2011
(8)
février 2011
(8)
janvier 2011
(4)
décembre 2010
(8)
novembre 2010
(3)
octobre 2010
(4)
septembre 2010
(7)
août 2010
(6)
juillet 2010
(10)
juin 2010
(11)
mai 2010
(11)
avril 2010
(2)
mars 2010
(3)
février 2010
(2)
janvier 2010
(5)
décembre 2009
(7)
novembre 2009
(5)
octobre 2009
(5)
septembre 2009
(8)
août 2009
(2)
juillet 2009
(1)
juin 2009
(2)
mai 2009
(5)
avril 2009
(12)
mars 2009
(5)
février 2009
(8)
janvier 2009
(3)
décembre 2008
(3)
novembre 2008
(1)
octobre 2008
(4)
septembre 2008
(6)
août 2008
(4)
juin 2008
(1)
mai 2008
(5)
avril 2008
(4)
mars 2008
(5)
février 2008
(2)
janvier 2008
(5)
décembre 2007
(3)
novembre 2007
(5)
Feed
Newsletter
Android Developers
Google Play