Show Specific 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()

Report Type Parameters:

Option Parameters:

Last updated