/draw-me-a-fairy

Sample application for TestFairy, shows you around some of its features

Primary LanguageJava

Draw Me A Fairy

Build Status

Draw Me A Fairy is a sample application which showcases various TestFairy SDK features.

Screenshot

With this sample application, we show how to use features of the platform, including:

  • Initializing the SDK (src)
  • Recording videos of app use
  • Identifying users, for future searches (src)
  • Getting user feedback with attached screen recordings (src)
  • Capturing logs, and sending them to TestFairy
  • Remote Logging (logs not written to logcat, but are sent to TestFairy) (src)
  • Adding events after specific user interactions (src)
  • Attaching files for future inspections (src)
  • Hiding sensitive data (src)
  • Capture network requests (src)
  • Optionally build a version which can record audio samples via device microphone which you can preview inside the TestFairy dashboard.
NOTE:

To run this app on your own device, please clone and open the project using Android Studio.
Then open "app/src/main/assets/user_data.json" file, and change the 'appToken' and `serverEndpoint` to your value.
See https://app.testfairy.com/settings/ for more information.

How to build

Draw Me A Fairy comes with 2 product flavors. One flavor supports audio recordings while the app is foreground. The other disables audio entirely.

If you want to build the version without the audio, run the command below in project directory to create the apk.

./gradlew assembleRegularRelease
# or
./gradlew assembleRegularDebug 

If you want to build the version with the enabled audio, run the command below instead.

./gradlew assembleAudioRelease
# or 
./gradlew assembleAudioDebug

If you want to enable audio in your existing, SDK-enabled app, see TFAudioRecord repo to find out how.