🏋 Widget control
In some situations you might want to take full control over showing the Gleap widget. This can be achieved with the following method.
Open the Gleap widget
This method opens the Gleap widget and shows the feedback menu options. If there is no menu active, it will automatically start the bug reporting flow.
Gleap.getInstance().open();
This method opens the Gleap widget and shows the feedback menu options.
Close the Gleap widget
This method closes the Gleap widget.
Gleap.getInstance().close();
Widget open status
It's possible to request the widget open status with the following method.
Gleap.getInstance().isOpened();