app lifecycle
Applications move between active, inactive, background, and terminated states according to their platform.
Use this when Returning to an app loses a draft or leaves stale work running.
without the term
“If I switch to another app for a while and come back, my half-written post is gone. Can you make sure it survives the app being backgrounded or killed?”
with the term · How do you ask a model for app lifecycle?
Handle lifecycle changes for this draft. Test backgrounding, process termination, and resume while preserving the edit and reconciling stale requests.
What is app lifecycle?
The operating system moves an app between foreground, background, suspended, and terminated without asking. Anything important is saved early, because there may be no warning before termination.
Why does app lifecycle matter when vibe coding?
An in-memory timer or callback may never run after suspension or termination.
How do you do app lifecycle?
Persist important intent promptly and define resume reconciliation without resetting unrelated UI state.
What goes wrong with app lifecycle?
Depending on a final shutdown callback to save the only copy of user data.