Android Chat SDK ProGuard rules

Android Chat SDK – is open source Android Chat SDK / Messaging SDK that lets you add real time chat and in-app messaging in your mobile Aandroid, iOS applications and website.

ProGuard rules for Android Chat SDK

Add the following lines to your ProGuard configuration proguard.cfg file in project.

# Android Chat SDK           
-keepclassmembernames class * extends com.applozic.mobicommons.json.JsonMarker {
 !static !transient ;
}

-keepclassmembernames class * extends com.applozic.mobicommons.json.JsonParcelableMarker {
  !static !transient ;
}
         
-keepattributes Signature          
-keep class sun.misc.Unsafe { *; }           
-keep class com.google.gson.examples.android.model.** { *; }            
-keep class org.eclipse.paho.client.mqttv3.logging.JSR47Logger { *; } 
-keep class android.support.** { *; }
-keep interface android.support.** { *; }
-dontwarn android.support.v4.**
-keep public class com.google.android.gms.* { public *; }
-dontwarn com.google.android.gms.**
-keep class com.google.gson.** { *; }

For more information about Android Chat SDK please see the website.

Static Gson ProGuard rules

Popular ProGuard rules