Android Appboy ProGuard rules

Appboy – is the platform of choice for serious growth, engagement, and marketing teams everywhere.

ProGuard rules for Appboy

By default, shrinking is applied; all classes and methods are removed. ProGuard writes out class files named 'a.class', 'b.class', etc. in the obfuscation phase. Specify the following ProGuard rules to fix errors and force ProGuard to keep certain code.

Android Optimizely ProGuard rules

Optimizely – is a platform that lets you experiment on everything—from design choices to algorithms.

The Optimizely platform technology provides A/B testing tools, in which two versions of a web page can be compared for performance, and multivariate testing.

ProGuard rules for Optimizely

ProGuard recursively determines which classes and methods are used. All other classes and class members are discarded. By default, short names like 'a', 'b', etc. are used as obfuscated names. Add the following rules in proguard-rules.pro configuration file.

Android SLF4J ProGuard rules

SLF4J Android – is a Simple Logging Facade for Java (SLF4J) that adds a logger binding for the Android platform.

ProGuard rules for SLF4J

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

#################################### SLF4J #####################################
-dontwarn org.slf4j.**

For more information about SLF4J please see the website.

Android Segment ProGuard rules

Segment – is an analytics service that tracks your data once, send it to any tool your team wants to use.

ProGuard rules for Segment

ProGuard typically reads the input jars and removes unused classes, fields, methods, and attributes. Remaining classes, fields, and methods after obfuscation phase will be with short names. Use the following rules in proguard-rules.pro file to fix errors.

Android Mixpanel ProGuard rules

Mixpanel – is a business analytics service that deeply understand every user's journey with instant insights for everyone on mobile and web.

ProGuard rules for Mixpanel

Classes that aren't called at all will be removed by ProGuard optimization phase. ProGuard obfuscates the remaining classes, fields, and methods with short names. Use the following rules in your proguard-rules.pro configuration file.

Android Appsee ProGuard rules

Appsee – is an app analytics platform that provides an in-depth analysis of your users' behavior, allowing you to deliver the ultimate app experience.

ProGuard rules for Appsee

ProGuard will try to remove all dead code. Obfuscating code that performs reflection may cause of error. To fix errors and force ProGuard to keep certain code, set up a ProGuard configuration in proguard-rules.pro file.

Android Countly ProGuard rules

Countly – is a unified mobile & web analytics and marketing platform for enterprise.

Countly provides more SDKs for more platforms than any other analytics platforms, thanks to Countly’s open source nature and contributions from our community.

ProGuard rules for Countly

ProGuard can, for example, analyze the transitive dependencies in your code and remove unused elements. In the obfuscation step, ProGuard renames classes and class members that are not entry points. Use the following ProGuard-style specification for your proguard-rules.pro file.

Android Localytics ProGuard rules

Localytics ProGuard rules

Localytics – is a mobile engagement platform helps you discover what makes your users tick, engage them with personalized messages, and optimize your marketing efforts.

ProGuard rules for Localytics

ProGuard removes unused classes, fields, and it optimizes and obfuscates the rest your code. Remaining classes, fields, and methods after obfuscation phase will be with short names. Add the next rules in your proguard-rules.pro configuration file.

Static Gson ProGuard rules

Static Gson – is an library that makes Gson faster by generating TypeAapterFactory with annotation processing. In other words, this is an AOT compiler for Gson.

ProGuard rules for Static Gson

ProGuard detects and removes unused classes, and attributes, methods and fields. After ProGuard shrinks code, reading a code is difficult because the class names are obfuscated. Keep classes generated by the annotation processor. To fix errors and force ProGuard to keep certain code, set up a ProGuard configuration in proguard-rules.pro file.

Android DBTools ProGuard rules

Android DBTools – is an Android ORM library that makes it easy to work with SQLite databases.

ProGuard rules for Android DBTools

ProGuard detects and removes unused classes, fields, methods and and attributes. By default, short names like 'a', 'b', etc. are used as obfuscated names. Specify the following ProGuard-style specification for your configuration file.

Static Gson ProGuard rules

Popular ProGuard rules