The store snapshotted `AppState.currentState` at module load and only tracked transitions delivered to its listener. A background transition that happened before the first consumer mounted (cold launch to the app switcher, deep link landing blurred) left the stored value at "active", so the first ambient loop could start offscreen. `subscribeToPlatformSignals` now registers the AppState listener first and then folds the platform's current value; transitions landing in between are covered by the listener. Focused tests cover both orderings with a fresh module instance per case.
Julius Marminge committed on 9/22/2026, 11:32:35 PMparent29473eb
Checks
- SuccessfulCodeRabbitGitHub
Review completed
- Successful
Skipped - Not affected
- Skipped
- Skipped
- Skipped
- SuccessfulRemove preview downloadGitHub
- SuccessfulNative fingerprint diffGitHub
- SuccessfulNative fingerprint diffGitHub
- SuccessfulNative fingerprint diffGitHub
- SuccessfulNative fingerprint diffGitHub
- SuccessfulNative fingerprint diffGitHub
- SuccessfulNative fingerprint diffGitHub
- Successful
- Skipped
- SuccessfulLabel PR 13147GitHub
- Neutral
- Skipped
- SuccessfulLabel PR sizeGitHub
- Successful
- SkippedDeploy web previewGitHub
- SkippedEAS PreviewGitHub
- SuccessfulRustGitHub
- SuccessfulTest Server 2GitHub
- SuccessfulTest Server 1GitHub
- SuccessfulTestGitHub
- SuccessfulTest Server 3GitHub
- SuccessfulMobile Native ChangesGitHub
- SuccessfulCheckGitHub
- SuccessfulRelease SmokeGitHub
- CancelledNative fingerprint diffGitHub
- SuccessfulPrepare PR size configGitHub
- SuccessfulCollect PR targetsGitHub
- Skipped[code]smithGitHub
2 files changedLine totals unavailable