Skip to content

BugBattle/Android-SDK

Repository files navigation

Bugbattle Android SDK

Download Maintenance Documentation Status

Bugbattle iOS SDK Intro

With BugBattle we’ve put the lame task of bug fixing upside down and turned it into a gaming experience for you and the whole development team. As if by magic the quality of your apps and websites improves – and your customers will be delighted.

How to start

Open your App in your preferred development tool, for e.g. Android Studio.

Add the dependency

In the same file ( build.gradle ) add the dependency to include the library.

dependencies {
  ...
    implementation 'io.bugbattle:bugbattle-android-sdk:5.0.4'
}

You are now ready to use our SDK in your App. Let's carry on with the initialisation 🎉

Initialise the SDK

Open your preferred development tool and add the following imports.

import bugbattle.io.bugbattle.BugBattle;
import bugbattle.io.bugbattle.BugBattleActivationMethod;

Add the initialise method to your main activity's onCreate method.

@Override protected void onCreate(Bundle savedInstanceState) {
  ....
  BugBattle.initialise("5c5d811215244ab6e48e9751", BugBattleActivationMethod.SHAKE, this);
} 

The initialise method takes two parameters. The api key and the activation method. There are two ways to start the bug reporting flow. The default option is to activate the flow by shaking the device (BugBattleActivationMethod.SHAKE). You can also choose BugBattleActivationMethod.NONE and start the flow by yourself in order to implement a custom integration.

Simulator Restrictions

Please notice, that the shake gesture wont work in the simulator.

Save & run 🚀

Need help? Check out our documentation or contact us.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages