Installation
Minimal Requirements
Make sure that your project meets the following requirements:
- API level 21 (Lollipop) or higher
- Android 5.0 or higher
- Jetpack (AndroidX) is used that includes the following versions:
- com.android.tools.build:gradle v7.0.4 or newer
- compileSdkVersion 30 or newer
Connecting edna Chat Center Android Library
For the chat to work, you need to add the following dependencies:
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://maven-pub.edna.ru/repository/maven-public/' }
}
}
releaseImplementation "im.threads:threads-release:4.25.0"
debugImplementation "im.threads:threads-debug:4.25.0"
For the library to work, you need to add dataBinding to build.gradle
:
dataBinding {
enabled = true
}
Obfuscation Settings
For correct operation, we recommend that you add the following strings to ProGuard:
-keep class com.edna.android.push_lite.** { *; }
-keep class net.zetetic.** { *; }
-keep class im.threads.** { *; }
danger
In build.gradle (at the application level), the debuggable = false
parameter should be disabled for the release configuration.
Otherwise, it might lead to additional fails.