🚀 Activation methods
Gleap offers different triggers (activation methods) to show the Gleap widget. You can configure the activation methods within our visual widget configurator.
The current available activation methods are:
- Shake (triggered when shaking the device)
- Screenshot (triggered when a screenshot is taken)
Need a more customized activation method? No worries! You can always open the Gleap widget by code as well.
Set activation methods by code
Some situations require you to set the activation methods by code. This can be done with the following method.
Gleap.getInstance().setActivationMethods(GleapActivationMethod[] activationMethods);
- GleapActivationMethod.SHAKE
- GleapActivationMethod.SCREENSHOT
info
Please note that this method is available since Android SDK version 6.4.8