| 21478 |
rajender |
1 |
|
|
|
2 |
# Proguard flags for consumers of the Google Play services SDK
|
|
|
3 |
# https://developers.google.com/android/guides/setup#add_google_play_services_to_your_project
|
|
|
4 |
|
|
|
5 |
# Keep SafeParcelable value, needed for reflection. This is required to support backwards
|
|
|
6 |
# compatibility of some classes.
|
|
|
7 |
-keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
|
|
|
8 |
public static final *** NULL;
|
|
|
9 |
}
|
|
|
10 |
|
|
|
11 |
# Needed for Parcelable/SafeParcelable classes & their creators to not get renamed, as they are
|
|
|
12 |
# found via reflection.
|
|
|
13 |
-keepnames class * implements android.os.Parcelable
|
|
|
14 |
-keepclassmembers class * implements android.os.Parcelable {
|
|
|
15 |
public static final *** CREATOR;
|
|
|
16 |
}
|
|
|
17 |
|
|
|
18 |
# Keep the classes/members we need for client functionality.
|
|
|
19 |
-keep @interface android.support.annotation.Keep
|
|
|
20 |
-keep @android.support.annotation.Keep class *
|
|
|
21 |
-keepclasseswithmembers class * {
|
|
|
22 |
@android.support.annotation.Keep <fields>;
|
|
|
23 |
}
|
|
|
24 |
-keepclasseswithmembers class * {
|
|
|
25 |
@android.support.annotation.Keep <methods>;
|
|
|
26 |
}
|
|
|
27 |
|
|
|
28 |
# Keep the names of classes/members we need for client functionality.
|
|
|
29 |
-keep @interface com.google.android.gms.common.annotation.KeepName
|
|
|
30 |
-keepnames @com.google.android.gms.common.annotation.KeepName class *
|
|
|
31 |
-keepclassmembernames class * {
|
|
|
32 |
@com.google.android.gms.common.annotation.KeepName *;
|
|
|
33 |
}
|
|
|
34 |
|
|
|
35 |
# Needed when building against pre-Marshmallow SDK.
|
|
|
36 |
-dontwarn android.security.NetworkSecurityPolicy
|
|
|
37 |
|
|
|
38 |
-dontwarn com.google.android.gms.clearcut.**
|
|
|
39 |
-dontwarn com.google.android.gms.internal.**
|