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

Show Specific Mode

API reference for invoking Luciq in a specific mode. Launch the Luciq UI directly into bug reporting, crash reporting, or feedback mode.

You can show Luciq with a specific mode and option directly using these APIs. If you're showing a bug reporting mode specifically, the API has two fields, Report Type and Option.

All the possible invocation modes are listed to the right. These modes can be used to show a specific view right away. The possible modes are:

  • Show New Bug Page

  • Show New Feedback Page

  • Show New Chat Page

  • Show Chats List Page

Here are all the possible invocation options used to customize the new bug or feedback experience.

  • Hide email field on new bug/feedback page

  • Show email field on new bug/feedback page but only optionally

  • Require user to fill comment field before submitting new feedback or bug

You can pass any number of invocation options in a single method call. If no invocation option is passed, the email field will automatically be shown and set to required and the comment field will be set to optional.

Method

// Compose a new bug report
BugReporting.show(with: .bug, options: [])
// Compose a new feedback
BugReporting.show(with: .feedback, options: [])
// Compose a new question
BugReporting.show(with: .question, options: [])
// Show the perevious chats list
Replies.show()
// Compose a new bug report
[LCQBugReporting showWithReportType:LCQBugReportingReportTypeBug options:0];
// Compose a new feedback
[LCQBugReporting showWithReportType:LCQBugReportingReportTypeFeedback options:0];
// Compose a new question
[LCQBugReporting showWithReportType:LCQBugReportingReportTypeQuestion options:0];
// Show the perevious chats list only of the the user already have a chats history. Calling this API won't have an effect otherwise.
[LCQReplies show];
// Compose a new bug report
BugReporting.show(BugReporting.ReportType.BUG);
// Compose a new feedback
BugReporting.show(BugReporting.ReportType.FEEDBACK);
// Compose a new question
BugReporting.show(BugReporting.ReportType.QUESTION);
// Show the perevious chats list
Replies.show();

Report Type Parameters:

Option Parameters:

Last updated