Patch Changes
- 7dd82ef: Keep tracking foreground and background transitions after
reset(). Previouslyreset()unsubscribed the session manager from app lifecycle and UI events, so sessions stopped clearing in the background, or were never created again after a reset in the background, until the app restarted. - 97ea8d3: Keep a masked label whose text was just cleared, and a masked image view whose image was just cleared or replaced, masked in session replay until the screen updates
- 97ea8d3: Fix a crash in screenshot session replay when the app uses a Swift
CALayersubclass that doesn't implementinit(layer:). While the app shows a customCALayersubclass, replay may skip frames during fast scrolling, and masks the whole screen while a masked view's custom-layer ancestor animates. - 78e6184: Fix
Application Openedsometimes missing$session_idafter the app spent more than 30 minutes in the background: lifecycle subscribers now run in subscription order, so the session manager starts the new session before the event is captured.