Screen recording

This page covers the recording of screen content.


In situations where a screenshot is just not enough, a user can also make a video recording of his screen. This facilitates the process of recreating the user's workflow and what led to the issue.

Attachments screen


Screen recording feature requires compileSdkVersion 29 or greater.

To use screen recording feature, you should verify that compileSdkVersion and targetSdkVersion are correctly set in the app build.gradle file.

How to use

Screen recording is disabled by default but can be enabled by calling Shake.getReportConfiguration().setAutoVideoRecording(true) before Shake.start().

Duration of the video recording is another preference that can be set. The maximum value is 30 seconds.

Let's look at an example.

You want the user to be able to record a video with a duration of up to 15 seconds.

Shake.getReportConfiguration().isAutoVideoRecording = true
Shake.getReportConfiguration().autoVideoRecordingClipDuration = 15

When Shake starts with screen recording enabled, a dialog will appear asking the user if they want to start recording a video. If the user declines they will be asked again after reporting a bug and returning to the previous screen.


Screen recording is automatically paused when the app goes to background. This way no sensitive user data is recorded.