> For the complete documentation index, see [llms.txt](https://chat-sdk.gitbook.io/android/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chat-sdk.gitbook.io/android/setup/proguard.md).

# Proguard

Add the following to your `proguard-rules.pro`:

```
# ChatSDK
-keep public class sdk.chat.**, sdk.guru.**, firestream.chat.**, app.xmpp.**, co.chatsdk.** {
    public protected *;
}

-keep class org.ocpsoft.prettytime.i18n.**

-keep class .R
-keep class **.R$* {
    <fields>;
}
# End
```
