Installation

  1. Add buglife-android as a dependency to your build.grade.

    dependencies {
        compile 'com.buglife.sdk:buglife-android:1.5.1'
    }
    

  2. Add the following lines to the end of the onCreate() method in your main Application subclass:

    Buglife.initWithEmail(this, "[email protected]");
    Buglife.setInvocationMethod(InvocationMethod.SCREENSHOT);
    

    If your project doesn't already have a custom Application subclass, you will need to create one (and don't forget to add it to your app's AndroidManifest.xml).

    Got an account?

    If you have a Buglife account already, you should initialize Buglife with your team's API key instead of your email:

    Buglife.initWithApiKey(this, "YOUR_BUGLIFE_API_KEY");
    Buglife.setInvocationMethod(InvocationMethod.SCREENSHOT);
    

    You can find your team's API key by signing in and returning to this page.

  3. Build & run on a device; take a screenshot to report a bug!

  4. Submit a bug report from your device, then check your email for a link to the Buglife web dashboard!