AI Cricket Auction: Multiplayer
No tracking · No ads · No accounts
Multiplayer needs a way to separate players without making you sign up. Firebase Anonymous Auth is the solution — here's exactly what happens on your device.
The app writes exactly three values to UserDefaults on your device — all anonymous session tokens.
| Key | Type | What it stores |
|---|---|---|
| fb_uid | String | Firebase Anonymous Auth localId — a random UUID with no personal information. Used to identify your session within a multiplayer room. |
| fb_local_uid | String | Fallback UUID generated locally on first launch, before Firebase auth completes. Guarantees a stable device identity even before the first network call returns. |
| fb_refresh_token | String | Firebase long-lived refresh token. Used to silently renew the 1-hour ID token. Opaque to the app — contains no personal data, cannot be used to identify you. |
Three Firebase services, all HTTPS. No analytics. No ad networks. No third-party SDKs. Nothing else.
| Service | When | Purpose |
|---|---|---|
| Firebase Auth API | Both | Firebase Anonymous Authentication — issues the initial anonymous session token on first launch. No personal data included. |
| Firebase Token API | Both | Firebase Secure Token service — silently renews the session token before it expires. No user action or login required. |
| Firebase Realtime Database | Multiplayer only | Stores active multiplayer room state only. Data is ephemeral — it exists only while a live game session is running. Solo vs AI makes zero calls during gameplay. |
auth != null on every read and write. Unauthenticated bots and scripts are blocked at the database level.