Setting Email Requirement

When a user creates a new feature request or adds a comment, they are asked to enter their email. You can use this method to set whether this email is required or not. This method takes a boolean for its first argument (whether the requirement is true or false) and enums for the second argument (for comment or new feature). More than one enum can be passed.

Method

FeatureRequests.setEmailFieldRequired(true, for: [.requestNewFeature, .addCommentToFeature])

Email Parameters:

//New Feature
.requestNewFeature
//New Comment
.addCommentToFeature

Last updated