MOMENT Studio
← Back

Consistent Playback Across Lock Screen and All Surfaces

2025.09.19Technical Log#product-ui#playback#ios-shell

Playback control, lock screen remote commands, and track cleanup were consolidated into a single path, ensuring consistent playback state regardless of which surface initiates control.

Playback does not end at the app's visible surface. Users expect to control audio from the lock screen while the app is backgrounded, and to experience no interruptions during screen transitions. This update addressed a set of minor state inconsistencies that occurred at surface boundaries.

On the UI side, the initial flow from splash to onboarding, video background transitions and looping behavior, and content display criteria across the explore and library screens were unified. Unnecessary re-render scope was reduced by pre-computing display conditions, improving rendering efficiency throughout.

On the playback side, activation of lock screen and Control Center remote commands was tied explicitly to the current permission state. Ownership of playback state was consolidated into a single path. A bug causing the previous track to persist through login and logout transitions was resolved by enforcing a strict sequence: stop playback before clearing track data. This ensures a clean initial state whenever a session change occurs.