The Sign-in template supports 4 sign-in methods: Provider sign-in,
username and password, PIN code, and QR code.
Provider sign-in method: This method lets users
sign in using a provider, with no input required. In this example (for Android
Auto), Google is the provider for the primary sign-in option, with PIN code
and email sign-in offered as secondary options.Username/password method: This method lets users
enter authentication information in a single, mandatory form field. This field
can be used to enter a username or password. In this example (for Android
Auto), the other methods are offered as secondary options.
QR code method: This method displays a mandatory
PIN code (up to 12 characters in length) provided by the app and instructions
for where the user should enter it. The code can be refreshed as needed if it
times out. (Android Auto example)PIN method: This method displays a mandatory PIN
code (up to 12 characters in length) provided by the app and instructions for
where the user should enter it. The code can be refreshed as needed if it
times out. (Android Auto example)
Sign-in example templates
When the car is parked, the user can access the keyboard to type a
username or password. (Android Auto example)When the user is driving, the sign-in content is not shown, to
prevent driver distraction. For these situations, it's helpful to provide a
button with an alternative option, such as skipping sign-in and using the app
in guest mode. (Android Auto example)
Sign-in template UX requirements
App developers:
MUST
Include a sign-in method when using this template.
SHOULD
Use input fields only for user sign-in, not for collecting other types
of user input.
SHOULD
Prioritize the shortest flow (using the fewest clicks).
[null,null,["Last updated 2024-07-23 UTC."],[[["The Sign-in template provides options for users to sign in to the app while the car is parked, enhancing user experience and safety."],["Developers can choose from four sign-in methods: Provider sign-in, Username/password, PIN code, and QR code, offering flexibility in user authentication."],["The template includes customizable elements such as header, action strip, primary text, and buttons for branding and functionality."],["Sign-in content is hidden while driving to minimize distractions, with alternative options like guest mode for continued app usage."],["Developers must include at least one sign-in method and are encouraged to prioritize the shortest, most popular flow for optimal usability."]]],[]]