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.

################################### Segment ####################################
-keep class com.segment.analytics.** { *; }

For more information about Segment please see the website.

Related ProGuard rules

Static Gson ProGuard rules

Popular ProGuard rules