Session replay
Record user sessions for replay in Screeb, and start or stop the recording from your code when the workspace settings are not enough.
Session replay records what users see and do in your app, Screeb surveys and messages included, so you can watch the session in the Screeb admin. Once the SDK is installed, you turn it on and choose when recording starts in the workspace settings: see Configure session replay recording. No code is needed for that.
Write code only when the start conditions of the settings cannot express your case, for example to record a checkout flow from its first step.
Requirements
Section titled “Requirements”- Session replay of mobile apps is in beta. Turn on the recording of mobile apps in the session replay settings of the workspace.
- It needs version 3.0.0 or later of the Screeb iOS and Android SDKs, which the cross-platform SDKs embed, and 3.1.1 or later to start and stop the recording from your code.
Start and stop the recording
Section titled “Start and stop the recording”Starting the recording fails when session replay is off in the workspace settings.
// Start recordingScreeb.sessionReplayStart()
// Stop recordingScreeb.sessionReplayStop()Privacy
Section titled “Privacy”Mask or exclude sensitive elements with the Privacy helpers, and see Session replay privacy for the workspace options.
On mobile, Screeb also masks password fields, and views whose identifier or accessibility label contains a sensitive word such as password, card, cvv, pin or ssn.
Battery usage
Section titled “Battery usage”Session replay adapts to the app activity and to the device. It works less while the app is idle, and under Low Power Mode, Battery Saver, thermal pressure or memory pressure. It lowers image quality, resolution and the processing of changed regions first, and the capture rate of active screens last.