

























We're excited to introduce prebuilt UI views that make it incredibly easy to add authentication flows to your Android applications.
These new Android views provide complete authentication experiences out of the box, eliminating the need to build custom sign-in and user management interfaces from scratch. With just a few lines of code, you can now add authentication and user management to your Android app that matches Material Design standards and includes advanced features like multi-factor authentication, social sign-in, and comprehensive user profile management.
The AuthView provides a comprehensive authentication experience supporting both sign-in and sign-up flows, multi-factor authentication, password reset, account recovery and more.
The UserButton displays the current user's profile image in a circular button and opens the full user profile when tapped.
The UserProfileView provides a complete interface for users to manage their accounts, including personal information, security settings, account switching, and sign-out functionality.
The new theming system allows you to customize the appearance of all Clerk views to match your app's design.
All Clerk Android views automatically support both light and dark mode appearance, adapting seamlessly to the user's system preferences.
The Clerk Android SDK has been split into two packages:
com.clerk:clerk-api - The core Clerk SDK for authentication and user management. (This was previously called com.clerk:clerk-android)com.clerk:clerk-ui - The Clerk UI components for authentication and user management.The com.clerk:clerk-ui pulls the com.clerk:clerk-api package as a dependency, so you only need to add the com.clerk:clerk-ui package to your dependencies if you're using the Clerk UI components.
To get started follow the Quickstart Guide and see the views docs:
We're excited to see what you build with these new views! Share your feedback and join the conversation in our Discord community.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。