Installation
-
Add
buglife-android
as a dependency to yourbuild.grade
.dependencies { compile 'com.buglife.sdk:buglife-android:1.5.1' }
-
Add the following lines to the end of the
onCreate()
method in your mainApplication
subclass:Buglife.initWithEmail(this, "[email protected]"); Buglife.setInvocationMethod(InvocationMethod.SCREENSHOT);
If your project doesn't already have a custom
Got an account?Application
subclass, you will need to create one (and don't forget to add it to your app'sAndroidManifest.xml
).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.
-
Build & run on a device; take a screenshot to report a bug!
-
Submit a bug report from your device, then check your email for a link to the Buglife web dashboard!