# fix\(mobile\): order reduce-motion reports and share platform subscriptions · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/29473eb3b149bb592cbddd08e3585580b17a6684)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 29473eb3b149bb592cbddd08e3585580b17a6684

Requested commit: 29473eb3b149bb592cbddd08e3585580b17a6684

Commit: 29473eb3b149bb592cbddd08e3585580b17a6684

Tree: 92e9c6bfe43132ef4aa4d0fe24e93e7b78dfeb15

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(mobile): order reduce-motion reports and share platform subscriptions

Two audit findings on the ambient-animation gate:

- The one-shot `isReduceMotionEnabled()` read could resolve after a
  `reduceMotionChanged` event and overwrite the newer value. Signal folding
  now treats the initial read as "only lands while unreported" and lets
  events always win; ordering is covered by focused tests.
- Each `ConnectionStatusDot` installed its own AppState and AccessibilityInfo
  listeners. Platform signals move to a module-level store behind
  `useSyncExternalStore`: one shared pair of native subscriptions for all
  consumers, bounded for the app lifetime.

```

## Parents

- [1e0c7329a3905373a48c41ca411fd31d500b3327](https://git.cafe/pingdotgg/t3code/commit/1e0c7329a3905373a48c41ca411fd31d500b3327?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/29473eb3b149bb592cbddd08e3585580b17a6684?format=markdown)
