Android SDK

πŸ”§ Installation

Bugbattle is distributed through the maven. Add the following to you build.gradle (Module: app).
1
implementation 'io.bugbattle:bugbattle-android-sdk:5.0.3'
Copied!
The BugBattle SDK is almost installed successfully. Let's carry on with the initialisation πŸŽ‰

πŸ‘·β€β™‚οΈ Initialize & configure the SDK

Open your preferred development tool and add the following to your main class.
1
import bugbattle.io.bugbattle.BugBattle;
2
import bugbattle.io.bugbattle.BugBattleActivationMethod;
Copied!
This two includes are everything you need.
1
@Override
2
protected void onCreate(Bundle savedInstanceState) {
3
....
4
BugBattle.autoConfigure("9KAIxWF6Xu0wqtIUahvNbiW5MncyVLUJ", this);
5
}
Copied!
You are all set now! Run the app and report your first bug πŸŽ‰.
Get your API here.

🀝 Need help?

We are here to help! [email protected]​
Last modified 2mo ago