Mobile SDK

Installation

Follow the instructions below to install the Volt Mobile SDK for Android and iOS as appropriate for your project.

Gradle

Maven configuration is required for authorisation with our SDK package in Maven. For that you need to enter a proper private token provided by Volt. Please contact us at support@volt.io to request a token.

settings.gradle.kts

maven {
  url = uri("https://gitlab.com/api/v4/projects/49120335/packages/maven")
  credentials(HttpHeaderCredentials::class) {
    name = "Private-Token"
    value = "<private-token>"
  }

  authentication {
    create("header", HttpHeaderAuthentication::class)
  }
}
Module-level

build.gradle.kts

dependencies {
  implementation("io.volt:mobilesdk:0.1.7")
}

How is this guide?

Last updated on

On this page