A possible flow within Smart Lock integration leads to a 'Choose an Account' modal for a new user. Selecting an account on this pop-up pre-fills the sign up page but the user does have to subsequently enter a new password to create an account. I find 'Choose an Account' header to be misleading since it leads a user to believe that they have an account on the app already. Is it possible to change the header of this modal to say something else - maybe something more intuitive like 'Prefill sign up form with:'?
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
I'm the product manager for Smart Lock at Google. We added some functionality to support this in the 8.3 release of Play Services APIs (November 2015).
In the past the "hint" dialog to allow the user to pick an email address with one tap to sign in or sign up had the title "Choose an Account", which, as noted in the question, caused some user confusion. In 8.3, we changed the default text to be "Sign in with" and allowed customization by the calling app to "Sign up with". Complete customization of the dialog text is not possible since it is rendered by Play Services and must be localized, but in UX research we found that "Sign up with" had the same user acceptance and completion as "Prefill sign up form with" and other variants but gave the developer more latitude in the scenarios where the dialog could be used. (aside: in testing, we found most users don't read the text at the top of the dialog at all!)
Sample code: build a
CredentialPickerConfig
withsetForNewAccount(true)
for account creation and supply this tosetHintPickerConfig()
when building aHintRequest
for thegetHintPickerIntent()
method added to theAuth.CredentialsApi
in Play Services 8.3.Check out the sample code on Github for details on setting up the
apiClient
and integrating the rest of the API. Leave a comment if you have questions or feedback.https://github.com/googlesamples/android-credentials