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 18 or later

- Uses Jetpack (AndroidX)
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 cloudikecontacts
и cloudikelog
as shown below:
Initialization
Initialization is performed in two stages.
Stage 1. Initialize library
The 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 ContactManager.initInstance().
If you need to use the custom parametersSSL Socket Factory
and Trust Manager
, use the following guide.
Stage 2. Preparation for work.
After user has logged in, it is necessary to call ContactManager.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: