
Enables access to Dropbox, Google Drive, and OneDrive through a single library. Features include lightweight integration, app folder access, and plans for mobile and desktop support.
Multiple clouds, one Kotlin Multiplatform bridge. Supporting Android, iOS, web and desktop (JVM).
[!WARNING] This library is not yet stable. The API will change and docs may be outdated.
Limited access scopes by using app folders are preferred by the library wherever possible. Furthermore, the library works with app folders, prefers IDs to paths and is strongly typed where possible.
See https://jacobras.github.io/CloudBridge/Vision for details.
| Mobile (Android) |
Mobile (iOS) |
Desktop (JVM) |
Web (JS/WASM) |
|
|---|---|---|---|---|
| Dropbox | ✅ | ✅ | ✅ | ✅ |
| Google Drive | ✅ | ✅ | ✅ | ✅ |
| Microsoft OneDrive | ✅ | ✅ | ✅ | ✅ |
✅ = Supported.
See specific service docs for important remarks about each service.
The library is published to Maven Central.
dependencies {
implementation("nl.jacobras:cloudbridge:0.7.0")
}The main entry point is CloudBridge.dropbox(), CloudBridge.googleDrive() or
CloudBridge.oneDrive().
Here's an example with Dropbox.
// 1: Instantiate a service
val service = CloudBridge.dropbox()
// 2: Authenticate (platform- and service-specific, see docs)
service.authenticate("clientId", "example://redirect-uri")
// 3: Ready for use!
service.listFiles("/".asFolderPath())All service APIs were written from scratch to avoid dependencies on SDKs.
This library uses:
Only on Android:
play-services-auth) for Google Drive authorization.Multiple clouds, one Kotlin Multiplatform bridge. Supporting Android, iOS, web and desktop (JVM).
[!WARNING] This library is not yet stable. The API will change and docs may be outdated.
Limited access scopes by using app folders are preferred by the library wherever possible. Furthermore, the library works with app folders, prefers IDs to paths and is strongly typed where possible.
See https://jacobras.github.io/CloudBridge/Vision for details.
| Mobile (Android) |
Mobile (iOS) |
Desktop (JVM) |
Web (JS/WASM) |
|
|---|---|---|---|---|
| Dropbox | ✅ | ✅ | ✅ | ✅ |
| Google Drive | ✅ | ✅ | ✅ | ✅ |
| Microsoft OneDrive | ✅ | ✅ | ✅ | ✅ |
✅ = Supported.
See specific service docs for important remarks about each service.
The library is published to Maven Central.
dependencies {
implementation("nl.jacobras:cloudbridge:0.7.0")
}The main entry point is CloudBridge.dropbox(), CloudBridge.googleDrive() or
CloudBridge.oneDrive().
Here's an example with Dropbox.
// 1: Instantiate a service
val service = CloudBridge.dropbox()
// 2: Authenticate (platform- and service-specific, see docs)
service.authenticate("clientId", "example://redirect-uri")
// 3: Ready for use!
service.listFiles("/".asFolderPath())All service APIs were written from scratch to avoid dependencies on SDKs.
This library uses:
Only on Android:
play-services-auth) for Google Drive authorization.