Feedback

User/Testers feedback can contain vital and highly relevant information when testing an app.

It can improve your app user experience and make it easier for your testers to communicate with you their thoughts on how to make your app better.

Using in-app feedback as is

TestFairy provides an easy way to collect this feedback.

If you added the TestFairy SDK to your app, then all you need to do is enable the In-App Bug Reporting feature in your build settings in the TestFairy dashboard and you can start collection feedbacks from your users with "shake to report":

alt

When your users or testers shake their device, they will be prompted to report a feedback.

This feedback will be added to the existing session of the app they are currently running.

All feedback includes a screenshot, device information, submitter email, and text comments added. the feedback is added to the event timeline so you can easily find it.

Customizing In-app feedback

In case you wish to use the TestFairy feedback form without having the user shake their device, you can invoke the feedback form programmatically and call the method at your choice. You can do it on any gesture, button click in your app, if the user opened the help menu, or even got an error message theyr didn't expect.

Please note that if you choose to programmaitcally display the feedback form, this will override the in-app feedback settings in your TestFairy dashboard.

Syntax

TestFairy.showFeedbackForm();

Code Example

// Be sure to import TestFairy
import com.testfairy.TestFairy;

// Can be invoked on a button press
// or after your app passes a given page
TestFairy.showFeedbackForm();
      

Note:

For advanced customization look here .

Syntax

[TestFairy pushFeedbackController];

Code Example

// Be sure to import TestFairy
#import "TestFairy.h"

// Can be invoked on a button press
// or after your app passes a given page
[TestFairy pushFeedbackController];
            

Note

On iOS, if the In-App Bug Reporting feature is enabled, the feedback form will also be shown when the tester takes a screenshot.

You can also choose to hide the user email field in the feedback form using the setFeedbackEmailVisible class.

Syntax

TestFairy.pushFeedbackController();

Code Example

// Can be invoked on a button press
// or after your app passes a given page
TestFairy.pushFeedbackController();
      

Syntax

TestFairy.pushFeedbackController();

Code Example

// Be sure to import TestFairy
const TestFairy = require('react-native-testfairy');

// Can be invoked on a button press
// or after your app passes a given page
TestFairy.pushFeedbackController();
      

Syntax

TestFairySDK.pushFeedbackController();

Code Example

// Be sure to import TestFairy
import { TestFairySDK } from 'nativescript-testfairy';

// Can be invoked on a button press
// or after your app passes a given page
TestFairySDK.pushFeedbackController();
      

Syntax

TestFairy.SetUserId ("<userId>");

Code Example

// Be sure to import TestFairy
using TestFairyLib;

// Can be invoked on a button press
// or after your app passes a given page
TestFairy.PushFeedbackController();
      

Syntax

TestFairy.pushFeedbackController();

Code Example

// Be sure to import TestFairy
using TestFairyUnity;

// Can be invoked on a button press
// or after your app passes a given page
TestFairy.pushFeedbackController();
      

Syntax

AirTestFairy.pushFeedbackController();

Code Example

// Be sure to import TestFairy
import com.testfairy.AirTestFairy;

// Can be invoked on a button press
// or after your app passes a given page
AirTestFairy.pushFeedbackController();
      

Last updated on 2019-09-24