| Symptom | Cause and fix |
| Setup screen "Set your API address" | The build has no API_BASE_URL. Build with --dart-define=API_BASE_URL=https://<region>-<project>.cloudfunctions.net/api, no trailing slash. |
| Setup screen "Connect your Firebase project" | lib/firebase_options.dart is still the placeholder. Run flutterfire configure in app/. |
Everything works in Chrome with DEMO_MODE but not on a phone | The phone needs your deployed API (a localhost address is your computer, not the phone) and the Firebase files from flutterfire configure. |
| Animations do not play | The system asks to reduce motion; the app respects it. |
| A sign-in button shows "Sign-in failed" | That provider is not enabled in Firebase → Authentication → Sign-in method, or (Google, Android) the SHA fingerprints are missing, or (Apple) the capability is missing. Enable it or switch the button off in the console. |
| "This account has been suspended" | The user is banned in the console (Users). Unban there. |
| "The account could not be deleted" | No network, too many tries in a minute, or a server error (Functions → Logs). Retrying is safe. |
| Purchase fails: "The store is not available on this device" | On a simulator or without a store account. If the API log shows 503 iap_unconfigured, store verification is not set up (Purchases). |
| Purchase not granted after paying | The API answered 400 "The purchase could not be verified" (Functions log): bundle id or package name in the console differs from the build, the product id differs, or the App Store environment is Production while you test in the sandbox. A purchase made under another account is refused on purpose (account binding). |
| Restore finds nothing | The store login has no earlier purchase, or it was bought under a different app account. |