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
- Minimum API level 21 or later
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
cloudikelog as shown below:
Initialization is performed in two stages.
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 FileManager.initInstance().
If you need to use the custom parameters
SSL Socket Factory and
Trust Manager, use the following guide.
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:
Our SDK uses the following dependencies: