Skip to content

Integration Guide

Girish Kamath edited this page Feb 4, 2016 · 9 revisions
  1. Download Traceratops app from the Play Store. You can scan the QR code below.

  2. Set up the trust agent by following these steps.
    NOTE: You can skip this step if you just want to try out the SDK. However, if you are planning to launch your app to production, it is strongly recommended that you complete this step.

  3. Now include the SDK in your app. To do that, include the following dependency in your app's build.gradle:

    compile 'com.bubblegum.traceratops:traceratops-core:0.2.0'
  4. Add the following code in your app's Application class' onCreate() method to set up the SDK:

    Traceratops.setup(this)
            .handleCrashes(true)
            .connect();

    If you have skipped the trust agent setup, add .withTrustMode(TrustMode.TRUST_MODE_OVERRIDE) to the above code. To find out more about trust agents and TrustModes, click here.

  5. Use com.bubblegum.traceratops.sdk.client.Log class to record logs. Optionally, you can replace all instances of android.util.Log import statements with this one.

Clone this wiki locally