app-lifecycle

Installation
SKILL.md

App Lifecycle

Instructions

Mobile apps run in a hostile runtime. The OS freezes, backgrounds, and kills processes to preserve battery and memory. Treating the lifecycle as an afterthought leads to lost data, broken deep links, and angry reviews.

1. The Lifecycle States

Both platforms converge to roughly:

State iOS term Android term Cross-platform term
Visible & interactive Active Resumed Foreground
Visible but not active Inactive (incoming call, control center) Paused Inactive
Not visible Background Stopped Background
Frozen but in memory Suspended Stopped Suspended
Gone Terminated Process death Killed

2. Transitions and Contracts

Installs
1
GitHub Stars
1
First Seen
5 days ago
Security Audits