# The below rules are appiled while building application APK
# and avoid re-obfuscation of SDK classes from app-side
# For more details refer to https://www.guardsquare.com/manual/configuration/usage, https://developer.android.com/studio/build/shrink-code#keep-code

# Keep OpenWrap SDK package.
-keeppackagenames com.pubmatic.sdk.**

# Keep OpenWrap SDK class members to avoid shrinking class members which might cause class not found exception the classes does not have explicit constructor
# Specifies OpenWrap SDK class members to be preserved, if their classes are preserved as well.
-keepclassmembers class com.pubmatic.sdk.** { *; }

# Specifies OpenWrap SDK classes and class members whose names are to be preserved, if they aren't removed in the shrinking phase.
-keepnames class com.pubmatic.sdk.** { *; }

# Keep all aleady obfuscated OpenWrap OM SDK classes and methods.
-keep class com.iab.omid.library.pubmatic.** { *; }

# Keep the source file and line number information for debugging.
-keepattributes SourceFile,LineNumberTable

