Integration

indigitall SDK for Chat clicking here

OverView

This article shows the minimum development that must be done to start registering devices and being able to carry out the first push campaigns.

It is necessary to have Android Studio for the integration: An Android device or emulator with Google Play services installed to run the app.

Adding the Chat dependencies

The first thing to do is open the app / build.gradle file. In the screenshot you can see where to find this app / build.gradle file.

🚧

Warning

It is the build.gradle file found in the app folder, NOT the root of the project.

The library is available through the repository Maven Central. Maven is one of the most used library management tools in Android. To integrate the Chat of indigitall it is necessary to add the following dependencies:

  • The Android Support Library
  • The SocketIO-client library
  • Indigitall's Chat
android {
    compileSdkVersion 31
    defaultConfig {
        minSdkVersion 21
        targetSdkVersion 31
    }
}

repositories {
    mavenCentral()
}

dependencies {
    //implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'androidx.appcompat:appcompat:1.2.0'
    implementation 'com.indigitall:android-chat:1.5.+'
    implementation 'io.socket:socket.io-client:1.0.1'
}