Cloudike Android Libraries

Cloudike Android Libraries - set android SDK which provides various functions for working with cloud storage. This SDKs is stored in the private maven repo and developed for use with the Cloudike Backend. If you need access, please Contacts Us.

Requirements:

  • Minimum API level 21 or later

Setup

To enable library in your app, you should add a link to our private repository in the application-level build.gradle file.

buildscript {  
repositories {
maven {
url = uri("https://rt.cloudike.com/artifactory/libs-release-local")
credentials {
username = "artifactory_username"
password = "artifactory_password"
}
}
}
}

Then, add a requiered dependency as shown below.

val version = "version"

dependencies {

// Required support libraries.
implementation("com.cloudike.sdk:common:$version")
implementation("com.cloudike.sdk:core:$version")
implementation("com.cloudike.sdk:network:$version")

// Features libraries.
implementation("com.cloudike.sdk:contacts:$version")
implementation("com.cloudike.sdk:cleaner:$version")
implementation("com.cloudike.sdk:documentwallet:$version")
implementation("com.cloudike.sdk:files:$version")
implementation("com.cloudike.sdk:photos:$version")
}

Implementation

import com.cloudike.sdk.core.CoreManager

// Initialize core manager.
val coreManager = CoreManager.build(applicationContext)

// Build features libraries.
val documentWalletManager = DocumentWalletManager.build(coreManager)
val cleaner = CleanerManager.build(coreManager)
// And more...

// Initialize session.
coreManager.sessionManager.start(
baseUrl = "https://my.domain.com/",
accessToken = "Backend access token",
profileId = "user profile id",
userAgent = "my user agent"
)

// Then use features functions with features libraries.

More

More detailed information is stored in the corresponding modules that describe the libraries.

All modules:

Link copied to clipboard

Core Library

Link copied to clipboard

Library for working with cloud photos.