Skip to main content

Silent user feedback

Send yourself feedback from the app background, without showing Shake UI.

Overview

You can send silent user feedback to yourself by calling the Shake.silentReport method anywhere after Shake.start. Feel free to add your own description to it as well.

ShakeReportConfiguration determines which data is attached to the silent user feedback:

App.kt
private fun sendSilentReport() {
val configuration = ShakeReportConfiguration()
configuration.screenshot = true
configuration.video = false
configuration.blackBoxData = true
configuration.activityHistoryData = true
Shake.silentReport("Description #tag1 #tag2", createShakeReportData(), configuration)
}
private fun createShakeReportData(): ShakeReportData {
return ShakeReportData {
val shakeFiles = ArrayList<ShakeFile>()
shakeFiles.add(ShakeFile(filePath))
shakeFiles
}
}

Show the Ticket submitted message

To optionally notify your user that a silent user feedback has just been submitted, change the ShakeReportConfiguration and use that configuration object when sending the silent user feedback with the Shake.silentReport method:

App.kt
val configuration = ShakeReportConfiguration()
configuration.showReportSentMessage = true