Using the API below, you can set the minimum number of characters your user can input within the comment field whenever our SDK is invoked. This API takes the report type and an integer limit as its parameters.
Method
//Report types are optional
BugReporting.setCommentMinimumCharacterCountForReportTypes([.bug, .feedback, .question], withLimit:3)
//Report types are optional
[LCQBugReporting setCommentMinimumCharacterCountForReportTypes:LCQBugReportingReportTypeBug | LCQBugReportingReportTypeFeedback | LCQBugReportingReportTypeQuestion withLimit:3];
BugReporting.setCommentMinimumCharacterCount(20, ReportType.BUG, ReportType.FEEDBACK, ReportType.QUESTION);
BugReporting.setCommentMinimumCharacterCount(20, ReportType.BUG, ReportType.FEEDBACK, ReportType.QUESTION)
// All report types
BugReporting.setCommentMinimumCharacterCount(20);
// Specific reports
BugReporting.setCommentMinimumCharacterCount(20, [
BugReporting.reportType.bug,
BugReporting.reportType.feedback,
BugReporting.reportType.question
]);
// For all report types
BugReporting.setCommentMinimumCharacterCount(20);
// For specific report types
BugReporting.setCommentMinimumCharacterCount(20, [ReportType.bug, ReportType.feedback, ReportType.question]);
Report Type Parameters
.bug
.feedback
.question
LCQBugReportingReportTypeBug
LCQBugReportingReportTypeFeedback
LCQBugReportingReportTypeQuestion
ReportType.BUG
ReportType.FEEDBACK
ReportType.QUESTION
BugReporting.reportType.bug
BugReporting.reportType.feedback
BugReporting.reportType.question
ReportType.bug
ReportType.feedback
ReportType.question