Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

Commit d56c614

Browse files
committed
Merge pull request krschultz#107 from ipereziriarte/adjust
Add adjust proguard rules
2 parents 03f5439 + 3194349 commit d56c614

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ proguardFiles(proGuardFileCollection)
4040
* [ACRA 4.5.0](https://github.com/ACRA/acra)
4141
* [ActionBarSherlock 4.4.0](http://actionbarsherlock.com/)
4242
* [ActiveAndroid](http://www.activeandroid.com/)
43+
* [Adjust](https://github.com/adjust/android_sdk)
4344
* [Amazon Web Services 1.6.x / 1.7.x](https://aws.amazon.com/releasenotes/Android/1855915734308772)
4445
* [Amazon Web Services 2.1.x](https://github.com/aws/aws-sdk-android)
4546
* [AndroidAnnotations](http://androidannotations.org/)
@@ -89,4 +90,3 @@ defaultConfig {
8990
consumerProguardFiles 'proguard-file.pro'
9091
}
9192
```
92-

libraries/proguard-adjust.pro

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
-keep class com.adjust.sdk.plugin.MacAddressUtil {
2+
java.lang.String getMacAddress(android.content.Context);
3+
}
4+
-keep class com.adjust.sdk.plugin.AndroidIdUtil {
5+
java.lang.String getAndroidId(android.content.Context);
6+
}
7+
-keep class com.google.android.gms.common.ConnectionResult {
8+
int SUCCESS;
9+
}
10+
-keep class com.google.android.gms.ads.identifier.AdvertisingIdClient {
11+
com.google.android.gms.ads.identifier.AdvertisingIdClient$Info getAdvertisingIdInfo (android.content.Context);
12+
}
13+
-keep class com.google.android.gms.ads.identifier.AdvertisingIdClient$Info {
14+
java.lang.String getId ();
15+
boolean isLimitAdTrackingEnabled();
16+
}

0 commit comments

Comments
 (0)