Installation
Enhance your Android app with the ability to interact directly with users by integrating the Dixa Messenger SDK. This guide is tailored for applications running on Android API 23 (Marshmallow) or newer.
💡 Recommendation: To ensure compatibility and access to the latest features, it is advised to use the most recent compileSdkVersion.
Install Dixa Messenger
To include Dixa Messenger in your project, insert the following line into the dependencies block of your app's build.gradle
file:
dependencies {
implementation 'com.dixa:messenger-sdk:1.5.4'
}
💡 Latest Versions: For access to all available versions of the SDK, visit the Maven Repository. Opting for the most up-to-date version is recommended.
Maven central
The Dixa Messenger SDK is hosted on Maven Central. To utilize it, ensure that Maven Central is declared in the repositories section of your root build.gradle
file:
allprojects {
repositories {
mavenCentral()
}
}
Snapshots
Snapshots provide early access to the latest features and fixes. Keep in mind that while they offer the newest changes, they may not always be as stable as the official releases.
To use a snapshot version, add the Maven Central snapshot repository URL in your root build.gradle
file:
allprojects {
repositories {
maven {
url 'https://s01.oss.sonatype.org/content/repositories/snapshots'
}
}
}
For incorporating a specific version or a snapshot, adjust your app's build.gradle
dependencies accordingly:
dependencies {
implementation 'com.dixa:messenger-sdk:<VERSION>-SNAPSHOT'
}
Replace <VERSION>
with the version of the snapshot you wish to use.
⚠️ Caution: Snapshot versions are for testing the very latest developments and may not be stable for production use.