Authentication
Firebase authentication
AuthService signs in with Google, Apple, or email via Firebase Auth, syncs RevenueCat/Mixpanel, and writes users/{uid} profiles.
Implemented Verified from source User-facing
In one sentence
Firebase Auth is the identity provider; AuthCubit exposes paid/free user states.
Current behavior
- Google:
GoogleSignIn+ credential to Firebase; iOS/Android client ids from
EnvConfig with INSERT_YOUR_* fallbacks.
- Apple:
AppleAuthProviderviasignInWithProvider. - Email:
signInWithEmailAndPassword/createUserWithEmailAndPassword. - On success: RevenueCat
logIn, Mixpanel sync, Firestore profile save.
Failure cases
Missing OAuth client configuration causes Google sign-in failure.
Current state
Implemented with config risk; verified-from-source.