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.
SilentReportConfig determines the behavior and data attached to the silent user feedback:
- Auto screenshot if the feature is turned on
- Javascript
- Typescript
index.js
const sendSilentReport = () => {Shake.silentReport("Description #tag1 #tag2");}
index.ts
const sendSilentReport = () => {Shake.silentReport("Description #tag1 #tag2");}
Show the Ticket submitted message
To optionally notify your user that a silent user feedback has just been submitted,
change the SilentReportConfig
and use that configuration object when
sending the silent user feedback with the Shake.silentReport
method:
- Javascript
- Typescript
index.js
const sendSilentReport = () => {const config = {takeScreenshot: true,showSuccessMessage: true}Shake.silentReport("Description #tag1 #tag2", config);}
index.ts
const sendSilentReport = () => {const config: SilentReportConfig = {takeScreenshot: true,showSuccessMessage: true}Shake.silentReport("Description #tag1 #tag2", config);}