Flurry Analytics ProGuard rules

Flurry Analytics - SDK that provides you with the tools and resources you need to gain a deep level of understanding about your users’ behavior in your apps.

Set up advanced analysis of complex events, with metrics, segments and funnels to better track your users’ habits and performance.

ProGuard rules for Flurry Analytics

ProGuard's shrinking step will remove unused classes, attributes . After ProGuard shrinks and obfuscates your code, short names like 'a', 'b', etc. are used as obfuscated names. Add the following rules in your ProGuard proguard-rules.pro file.

# Required to preserve the Flurry SDK
-keep class com.flurry.** { *; }
-dontwarn com.flurry.**
-keepattributes *Annotation*,EnclosingMethod,Signature
-keepclasseswithmembers class * {
   public (android.content.Context, android.util.AttributeSet, int);
 }

 # Google Play Services library
  -keep class * extends java.util.ListResourceBundle {
   protected Object[ ][ ] getContents();
}

 -keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
  public static final *** NULL;
 }

 -keepnames @com.google.android.gms.common.annotation.KeepName class *
 -keepclassmembernames class * {
    @com.google.android.gms.common.annotation.KeepName *;
  }

 -keepnames class * implements android.os.Parcelable {
  public static final ** CREATOR;
 }

For more information about Flurry Analytics please see the website.

Related ProGuard rules

Static Gson ProGuard rules

Popular ProGuard rules