For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set Shaking Threshold

API reference for setting the shake threshold in Luciq. Tune how hard users must shake the device to open the reporting interface.

You can use this API to adjust the shaking sensitivity. This will allow the device to show the invocation with weaker or stronger shakes in case the shake invocation method is used. The threshold takes floats on iOS and integers on Android.

BugReporting.shakingThresholdForiPhone = 3.0;
BugReporting.shakingThresholdForiPad = 1.0;
LCQBugReporting.shakingThresholdForiPhone = 3.0;
LCQBugReporting.shakingThresholdForiPad = 1.0;
BugReporting.setShakingThreshold(800);
BugReporting.setShakingThreshold(800)
//iOS
BugReporting.setShakingThresholdForiPhone(iPhoneShakingThreshold);
BugReporting.setShakingThresholdForiPad(iPadShakingThreshold);

//Android
BugReporting.setShakingThresholdForAndroid(androidThreshold);
// iOS
BugReporting.setShakingThresholdForiPhone(3.0);
BugReporting.setShakingThresholdForiPad(1.0);
// Android
BugReporting.setShakingThresholdForAndroid(800);

Last updated