proguard.txt 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. -keep class * extends java.util.ListResourceBundle {
  2. protected java.lang.Object[][] getContents();
  3. }
  4. # Keep SafeParcelable value, needed for reflection. This is required to support backwards
  5. # compatibility of some classes.
  6. -keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
  7. public static final *** NULL;
  8. }
  9. # Keep the names of classes/members we need for client functionality.
  10. -keep @interface com.google.android.gms.common.annotation.KeepName
  11. -keepnames @com.google.android.gms.common.annotation.KeepName class *
  12. -keepclassmembernames class * {
  13. @com.google.android.gms.common.annotation.KeepName *;
  14. }
  15. # Needed for Parcelable/SafeParcelable Creators to not get stripped
  16. -keepnames class * implements android.os.Parcelable {
  17. public static final ** CREATOR;
  18. }
  19. # Needed when building against pre-Marshmallow SDK.
  20. -dontwarn android.security.NetworkSecurityPolicy
  21. # Keep metadata about included modules.
  22. -keep public class com.google.android.gms.dynamite.descriptors.** {
  23. public <fields>;
  24. }
  25. # Keep the implementation of the flags api for google-play-services-flags
  26. -keep public class com.google.android.gms.flags.impl.FlagProviderImpl {
  27. public <fields>; public <methods>;
  28. }