Set Prompt Options (Disabling Features)

This API is used to change the options shown in the Luciq invocation. Any number of prompt options can be passed to this API. Only the options set will show. Below are all the possible options:

  • Show the "Report a Bug" option

  • Show the "Suggest an Improvement" option

  • Show the "Ask a Question" option

While disabling the Bug Reporting option, removes all three of "Report a Bug", "Suggest an Improvement" and "Ask a Question", you can also set the enabled report types if you'd only like one or the other.

Enable or Disable Feature

// Disable the Bugs & Feedback. If disabled, both "Report a problem" & "Suggest an improvement" are removed from the Luciq's prompt, and manually showing the bug reporting or feedback doesn't have an effect.
BugReporting.enabled = false

// Disable the Replies. If disabled, the chats list button is removed from Luciq's prompt, the in-app notifications are disabled, and manually showing the chats list doesn't have an effect. 
Replies.enabled = false

Set Enabled Report Types

BugReporting.promptOptionsEnabledReportTypes = [.bug, .feedback]

Report Types:

//Show New Bug
.bug
//Show New Feedback
.feedback
//Show New Question
.question

Last updated