Quickstart
Get up and running with Bugsport in under five minutes.
1. Install the SDK
Follow the Installation guide to add the Bugsport SDK to your project.
2. Initialize the SDK
Call Bugsport.start as early as possible in your application lifecycle.
Android
// In Application.onCreate()
import io.bugsport.Bugsport
class MyApp : Application() {
override fun onCreate() {
super.onCreate()
Bugsport.start(this, apiKey = "YOUR_API_KEY")
}
}
iOS
// In AppDelegate.application(_:didFinishLaunchingWithOptions:)
import Bugsport
func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
Bugsport.start(apiKey: "YOUR_API_KEY")
return true
}
3. Send a Test Event
Trigger a manual event to verify the SDK is working:
Android
Bugsport.log("Test event from Quickstart")
iOS
Bugsport.log("Test event from Quickstart")
4. View Events in the Dashboard
Open the Bugsport dashboard and navigate to Events. Your test event should appear within a few seconds.
Next Steps
- Android Setup — detailed Android configuration
- iOS Setup — detailed iOS configuration