startFeedbackFlow static method
startFeedbackFlow
Manually start the bug reporting workflow. This is used, when you use the activation method "NONE".
GleapNotInitialisedException
thrown when Gleap is not initialised
Available Platforms
Android, iOS, Web
Implementation
@deprecated
static Future<void> startFeedbackFlow({
required String feedbackAction,
bool showBackButton = true,
}) async {
if (!kIsWeb && !io.Platform.isAndroid && !io.Platform.isIOS) {
debugPrint(
'startFeedbackFlow is not available for current operating system');
return;
}
await _channel.invokeMethod(
'startFeedbackFlow',
{'action': feedbackAction, 'showBackButton': showBackButton},
);
}