Screen recording

This page covers the recording of screen content.

Introduction

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

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.

App.kt
Shake.getReportConfiguration().isAutoVideoRecording = true
Shake.getReportConfiguration().autoVideoRecordingClipDuration = 15
Shake.start(this)

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.

Security

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