Firebase UI Android v10.0.0-beta01 Release
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 15/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- authentication, documentation, mobile-dev, release
Hướng nghiên cứu
Thông báo trỏ đến branch version-10.0.0-beta01, auth/README.md và docs/upgrade-to-10.0.md. Hãy bắt đầu bằng việc xem xét các tài liệu đã được phát hành này; công việc được xem là hoàn tất khi có một follow-up cụ thể về tài liệu hoặc release, nhưng issue này không chỉ rõ follow-up nào.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Firebase UI Android v10.0.0-beta01 Release
We're excited to announce Firebase UI Android v10.0.0-beta01. This major update upgrades this library to natively support Jetpack Compose.
What's New in Beta
This development phase focused on 3 key areas of the Auth module:
- Compose Upgrade: Removing legacy XML-based components in favor of modern Kotlin-based Composable components.
- API Redesign: A complete redesign to better support developers and improve maintenance.
- Feature Development: Build and improve upon a suite of features to provide a complete set of authentication flows, including MFA, custom providers and multi-app support.
Note: There are no major changes to the other Firebase UI Android modules (database, firestore and storage).
Improved Core API
The new API comes packed with a host of new supporting features and utilities for managing authentication in your applications. New features include:
-
FirebaseAuthScreen: A single entry point that manages the entire auth flow based on your configuration i.e AuthUIConfiguration.
-
AuthUIConfiguration: A type-safe configuration object that defines providers, UI theming, MFA, anonymous upgrade, and validation rules for the authentication flow.
-
Custom auth injection: For adding custom authentication via create(app, auth).
Native Compose UI & Theming
-
Fully Themed: With
AuthUITheme, buttons and inputs automatically adopt your app’s Material branding. You can override typography, shapes, and colors, or inject your own ProviderStyle for distinct button looks. -
Slot APIs: The new
EmailAuthScreenandPhoneAuthScreenexpose slot APIs, giving you access to state (EmailAuthContentState) while letting you render your own UI.
State Management
-
State Management: Access multiple supporting functions for managing authentication state is your application. Included in this release are
isSignedIn(),getCurrentUser(), andauthStateFlowto expose authentication state reactively. -
Reactive Streams: Built on Kotlin Flow for improved integration with Compose and modern Android architecture.
-
Lifecycle Management: Controller returned by
createAuthFlow(configuration)withstart(),cancel(), anddispose()methods. -
Flow Control:
start()drives authentication flow per configuration. -
Safe Cancellation:
cancel()transitions to Cancelled state gracefully. -
Resource Management:
dispose()releases coroutines and listeners to prevent memory leaks
Sample app
The repository's sample application has been upgraded to use the new updates. Updated features include:
-
Upgraded application: A "Quickstart" example using FirebaseAuthScreen to demonstrate how to implement a full authentication flow with just a few lines of code.
-
Advanced Customization (Slot APIs): A deep dive into using the new Slot APIs (EmailAuthScreen, PhoneAuthScreen), showing how to inject your own custom UI layouts while retaining the library's state management and validation logic.
-
Theming & Styling: Examples of using AuthUITheme.fromMaterialTheme() to inherit your app’s branding, and using ProviderStyle to create custom buttons.
-
Feature Walkthroughs: End-to-end demonstrations of complex flows, including federated providers, Custom providers, Multi-Factor Authentication (SMS & TOTP) enrollment and Deep Linking.
Try it out
Documentation and source for the updated library are in the v10.0.0-beta-01 branch.
Check out auth/README.md to get started or upgrade-to-10.0.md to learn how to migrate from v9.
We're seeking your feedback as we continue shaping this project, so let us know what you think by commenting below or opening a new issue!
- Ngôn ngữ chính
- Kotlin
- Star
- 4.8k
- Fork
- 1.9k
- Merge trung bình
- 3 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 31
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue tương tự
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
MetrolistGroup/Metrolist#4435 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
sk2andy/candy-browser#292 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
spring-mcp-tools
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
explyt/spring-plugin#591 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Failed to load updated m-timeĐang mởbug needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
FossifyOrg/Gallery#1167 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100