Getting Started
Before you begin
This SDK 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

Installation
To enable library in your app, you should add a link to our private repository in the application-level Gradle file (usually app / build.gradle
). Then, add a dependency for the libraries cloudikefiles
and cloudikelog
as shown below:
Initialization
Initialization is performed in two stages.
#
Stage 1. Initialize libraryThe best place for the first stage is the method Application.onCreate(). The first step is to initialize the library Logger
. Optionally, you can implement initRxErrorHandler() to log errors that occur in RxJava2.
Lastly, initialize the contacts library using the method FileManager.initInstance().
If you need to use the custom parameters SSL Socket Factory
and Trust Manager
, use the following guide.
#
Stage 2. Preparation for work.After user has logged in, it is necessary to call FileManager.prepareToWork() for work:
Optionally: initialization of the RxJava2 error handler
To log errors that occur in RxJava2, it is advisable to initialize the handler:
Dependencies
Our SDK uses the following dependencies: