When you build a release APK or AAB with code shrinking enabled, ProGuard (or R8) renames and strips classes that it considers unused. The Sceyt Chat Android UIKit relies on reflection-based serialization, Room entity mapping, and internal class name lookups that break silently when class names are obfuscated. Adding the keep rules below ensures the UIKit continues to work correctly in minified builds.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/sceyt/sceyt-chat-android-uikit/llms.txt
Use this file to discover all available pages before exploring further.
Required Keep Rule
Add the following rule to your app module’s ProGuard configuration file (app/proguard-rules.pro):
com.sceyt.chatuikit package tree.
Where to Add the Rule
Open your app module ProGuard file
The file is located at
app/proguard-rules.pro in a standard Android project layout. If it does not exist, create it in the app/ directory.Consumer Rules
The UIKit library ships its ownconsumer-rules.pro that already keeps the underlying Sceyt Chat SDK model classes:
proguard-rules.pro. However, you still need the com.sceyt.chatuikit.** rule above, because that covers the UIKit layer itself rather than the underlying SDK.
If you use the
consumerProguardFiles mechanism in your own library modules that wrap the UIKit, you can propagate the UIKit keep rule there instead of adding it to the app module directly.