Skip to content

feat: Core: FirebaseAuthUI Singleton & DI#2215

Merged
Lyokone merged 2 commits into
version-10.0.0-devfrom
feat/A1
Sep 15, 2025
Merged

feat: Core: FirebaseAuthUI Singleton & DI#2215
Lyokone merged 2 commits into
version-10.0.0-devfrom
feat/A1

Conversation

@Lyokone
Copy link
Copy Markdown
Contributor

@Lyokone Lyokone commented Sep 15, 2025

  • Add FirebaseAuthUI class with getInstance() methods and internal caching
  • Support for default app via getInstance() with singleton pattern
  • Support for multiple Firebase apps via getInstance(app)
  • Add create(app, auth) for custom auth injection and multi-tenancy
  • Thread-safe implementation using ConcurrentHashMap
  • Comprehensive unit tests covering all singleton behaviors
  • Tests verify caching, multi-app support, and custom auth injection
@Lyokone Lyokone changed the base branch from master to version-10.0.0-dev September 15, 2025 07:21
Comment thread auth/src/test/java/com/firebase/ui/auth/compose/FirebaseAuthUITest.kt Outdated
@Lyokone Lyokone merged commit bae4ce4 into version-10.0.0-dev Sep 15, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants