Prompt Options
Choose which report types appear in the Luciq prompt menu on KMP, and set form defaults such as a required comment or a hidden email field.
When the user invokes Luciq (e.g. by shake or floating button), they can see a prompt menu to choose “Report a bug”, “Feedback”, “Ask a question”, etc. You control which options appear and default behavior.
Report types
Set which report types appear in the prompt:
BugReportingKmp.setReportTypes(listOf(
ReportType.Bug,
ReportType.Feedback,
ReportType.Question,
ReportType.Other
))Invocation options
Set default options for the form (comment required, email hidden/optional, thank-you dialog):
BugReportingKmp.setInvocationOptions(listOf(
InvocationOptions.CommentFieldRequired,
InvocationOptions.EmailFieldOptional,
InvocationOptions.DisablePostSendingDialog
))To open a specific report type and options without showing the prompt, use BugReportingKmp.show(reportType, invocationOptions). See Showing Luciq.
Last updated