Connect and debug one feature
First complete the teaching lesson. Use the PocketCards codelab and this source revision for the practical work.
Your task
Complete the codelab through Firebase setup, one live generation, review, save and study. Then disconnect and attempt a fresh generation.
Evidence to produce
Supply an app-only screenshot, checkout revision, configuration checklist without values and a failure/retry observation. Keep a small learning log in your own branch. Include the command or action you used, the expected result, the observed result and the reason for any difference. Do not include configuration values, tokens or private source notes.
Before checking the answer
Predict the outcome before you run the app. If the result differs, locate the responsible layer: input validation, ViewModel state, provider adapter, storage or rendering. Fixing the wrong layer can hide a symptom without meeting the requirement.
Review guidance
Rebuild after adding google-services.json. On an emulator, register the debug token for the correct Firebase Android app; do not publish it.
Explain your decision
How do you distinguish an App Check failure from invalid model output? Answer with a concrete code reference and one observation from your run. If you can only repeat the terminology, revisit the lesson and demonstrate the behavior before moving on.
Check your work after attempting the exercise
A valid setup permits one actual generation followed by review, explicit save and successful reopen. Without connectivity, saved decks remain usable and a fresh generation must fail recoverably without silently saving a partial result.
If your result differs: App Check failures occur at the service/project boundary; invalid card data fails parsing or validation after a response. Diagnose those separately. Never paste debug tokens into your learning log to prove setup.
Ready to continue: Your learning log contains a prediction, an observed result and a source reference. You can explain the result without copying this guidance. Carry the evidence into the final assessment.