Skip to main content
Logo
Explore APIsSupport Portal
  • Home
  1. Virtual Stadium
  2. Installation & Setup

Installation & Setup

This guide shows you how to add the Virtual Stadium Data SDK to your project and initialize it before using any SDK services.

info

Ready to start integrating? After installation, continue with the Getting Started Guide.

#System Requirements

#Android

  • Minimum SDK: 23
  • Target SDK: latest available
  • Kotlin: 1.8.0 or higher

#iOS

  • Minimum iOS: 11.0
  • Xcode: 12.0 or higher
  • Swift: 5.0 or higher

#Add SDK to Your Project

Add the SDK dependency to your app module's build.gradle:

kotlin
dependencies {
    implementation("com.sportradar.virtualstadium.datasdk:vs-data-sdk-android:<data-sdk-version>")
}

Latest Version:

Maven Central

#Initialize the SDK

Initialize the SDK once at app startup before you create channels, log in users, or collect SDK state.

Initialize the SDK in your Application class:

kotlin
class VirtualStadiumApp : Application() {

    override fun onCreate() {
        super.onCreate()
        VirtualStadiumSDK.init(applicationContext)
    }
}

Register the application in AndroidManifest.xml:

xml
<application
    android:name=".VirtualStadiumApp"
    android:label="@string/app_name">
    <!-- Your activities -->
</application>

#Next Steps

SDK Services

Understand the available SDK services and what each one does.

View Services

Getting Started

Follow the step-by-step integration guide.

Start Integration

Authentication

Learn how login and user state management work.

View Auth Docs
Last updated 10 days ago
Is this site helpful?
Virtual Stadium, Moderation, Engagement Tools, BET
SDK OverviewGetting Started
On this page
  • System Requirements
  • Android
  • iOS
  • Add SDK to Your Project
  • Initialize the SDK
  • Next Steps