Skip to content

Introduction

Welcome to CloudBridge! Multiple clouds, one Kotlin Multiplatform bridge. Supporting Android, iOS, web and desktop (JVM).

Installation

The library is published to Maven Central.

dependencies {
    implementation("nl.jacobras:cloudbridge:0.11.0")
}

Usage

In general, CloudBridge works as follows:

// 1: Instantiate a service
val service = CloudBridge.dropbox(clientId = "yourClientId")

// 2: Authenticate (platform- and service-specific, see docs)
service.authenticate(redirectUri = "example://redirect-uri")

// 3: Ready for use!
service.listFiles("/".asFolderPath())

See Cloud services on how to authenticate each service on every platform.

See shared API for all available operations.

See the demo app source for more example code.