With the Telerik AppFeedback component added in your app you can gain invaluable insights into the users experience with it. Sending feedback on the users’ side is very easy. They can simply shake the device or navigate to the feedback option. The control takes a screenshot automatically and prompts the users to provide comments. The control is seamlessly integrated with Telerik Baas enabling developers to easily monitor and track all their users’ feedback in one place, rather than get it scattered across your mail, chat, spreadsheets or other ways of communicating with your users.
Telerik AppFeedback workflow is simple and easy:
To use the feedback component, you should to initialize the TKFeedback class with a valid data source. Then you can show the feedback with a call to the showFeedback method:
[TKFeedback setDataSource:[[TKPlatformFeedbackSource alloc] initWithKey:@"58cb0070-f612-11e3-b9fc-55b0b983d3be" uid: @"iosteam@telerik.com"]];
TKFeedback.setDataSource(TKPlatformFeedbackSource(key: "58cb0070-f612-11e3-b9fc-55b0b983d3be", uid: "iosteam@telerik.com"))
TKFeedback.SetDataSource(new TKPlatformFeedbackSource("58cb0070-f612-11e3-b9fc-55b0b983d3be", "iosteam@telerik.com"));
If you want to show the feedback with a shake gesture, you should override and handle the motionEnded: method in your view controller:
- (void)motionEnded:(UIEventSubtype)motion withEvent:(UIEvent *)event
{
[TKFeedback showFeedback];
}
override func motionEnded(_ motion: UIEventSubtype, with event: UIEvent?) {
TKFeedback.show()
}
public override void MotionEnded(UIEventSubtype motion, UIEvent evt)
{
TKFeedback.ShowFeedback();
}
When you want the shake gesture to be available on all screens in your application you can set TKFeedbackController as a root UIViewController in your application and set the appliction root ViewControler as a content controller. This should be done in the application:didFinishLaunchingWithOptions:
method of your AppDelegate class.
Once integrated, the Feedback component offers the following functionality from within the app running on the user’s device:
AppFeedback exposes the feedbackSettings
property which returns an instance of the TKFeedbackSettings
class. It exposes the following properties:
showFeedbackSentAlert
- defines whether the Alert window at the end of the feedback procedure is shown or notfeedbackSentAlertTitle
- defines the title of the Alert window shown at the end of the feedback procedurefeedbackSentAlertText
- defines the text within the Alert window shown at the end of the feedback procedurefeedbackTitle
- defines the Title of the AppFeedback's main viewfeedbackMenuSendCaption
- defines the text of the button that starts the feedback procedurefeedbackMenuSettingsCaption
- defines the text of the button that opens the user settings of the feedback componentfeedbackMenuMyFeedbackCaption
- defines the text of the button that shows the feedback items for the userHere's an example of how settings can be modified programmatically:
[TKFeedback feedbackSettings].showFeedbackSentAlert = YES;
[TKFeedback feedbackSettings].feedbackSentAlertTitle = NSLocalizedString(@"Feedback sent", nil);
[TKFeedback feedbackSettings].feedbackSentAlertText = NSLocalizedString(@"Feedback sent successfully", nil);
The AppFeedback project is where you and members of your development team receive and manage the feedback sent by your users. To access it, go to your Telerik Platform workspace and select the specific AppFeedback project.
There you can: