Skip to main content

Invoke

Decide how you want Shake user feedback to be invoked.

Invoke manually

By default, Shake screen is invoked by pressing Send feedback floating button.

Send feedback button is automatically added to the screen after Shake.start method is called, you don't need to code anything.

You can disable default send feedback button if you want using the code below:

index.js
Shake.config.floatingButtonEnabled = false;

Invoke through code

But if you want to, you can customize that.

Shake can be invoked through code by calling the Shake.show method anywhere after Shake.start. This method automatically opens Shake interface where user can send feedback, report a bug or attach additional files.

index.js
Shake.show();

If enabled, activity history, and all other data are also automatically attached. No additional code is required.