diff --git a/proguard.cfg b/proguard.cfg index 5709d85..2e80a89 100644 --- a/proguard.cfg +++ b/proguard.cfg @@ -77,14 +77,6 @@ java.lang.Object readResolve(); } -# Please specify classes to be kept explicitly in your package's configuration. -# -keep class * extends android.app.Activity -# -keep class * extends android.view.View -# -keep class * extends android.app.Service -# -keep class * extends android.content.BroadcastReceiver -# -keep class * extends android.content.ContentProvider -# -keep class * extends android.preference.Preference -# -keep class * extends android.app.BackupAgent -keep class * implements android.os.Parcelable { public static final android.os.Parcelable$Creator *; @@ -99,12 +91,15 @@ -dontwarn android.support.** -keep class android.support.v4.** { *; } -keep interface android.support.v4.app.** { *; } --keep class cn.trinea.android.common.** { *; } --keep class cn.trinea.android.view.** { *; } -keepattributes *Annotation* -dontskipnonpubliclibraryclasses -dontskipnonpubliclibraryclassmembers -dontwarn com.google.ads.** --keep class com.google.** {*;} \ No newline at end of file +-keep class com.google.** {*;} + +# Keep cn.trinea +-keep class cn.trinea.android.** { *; } +-keepclassmembers class cn.trinea.android.** { *; } +-dontwarn cn.trinea.android.** \ No newline at end of file