Bug 1245711 - Update Adjust proguard cfg to match docs. r=mfinkle

This commit is contained in:
Michael Comella 2016-02-03 16:49:30 -08:00
parent abec3d536b
commit 043c63414a

View File

@ -1,8 +1,20 @@
# Rules to make the Adjust install tracking library work.
# via https://github.com/adjust/android_sdk#5-add-permissions
# Needed to keep some constants in the install tracking library.
-keep class com.adjust.sdk.** { *; }
# Needed to keep some constants required for the install tracking library.
-keep class com.google.android.gms.common.** { *; }
-keep class com.google.android.gms.ads.identifier.** { *; }
-keep class com.adjust.sdk.plugin.MacAddressUtil {
java.lang.String getMacAddress(android.content.Context);
}
-keep class com.adjust.sdk.plugin.AndroidIdUtil {
java.lang.String getAndroidId(android.content.Context);
}
-keep class com.google.android.gms.common.ConnectionResult {
int SUCCESS;
}
-keep class com.google.android.gms.ads.identifier.AdvertisingIdClient {
com.google.android.gms.ads.identifier.AdvertisingIdClient$Info
getAdvertisingIdInfo (android.content.Context);
}
-keep class com.google.android.gms.ads.identifier.AdvertisingIdClient$Info {
java.lang.String getId ();
boolean isLimitAdTrackingEnabled();
}