This repository has been archived by the owner on Nov 20, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# MoPub Proguard Config | ||
# NOTE: You should also include the Android Proguard config found with the build tools: | ||
# $ANDROID_HOME/tools/proguard/proguard-android.txt | ||
|
||
# Keep public classes and methods. | ||
-keepclassmembers class com.mopub.** { public *; } | ||
-keep public class com.mopub.** | ||
-keep public class android.webkit.JavascriptInterface {} | ||
|
||
# Explicitly keep any custom event classes in any package. | ||
-keep class * extends com.mopub.mobileads.CustomEventBanner {} | ||
-keep class * extends com.mopub.mobileads.CustomEventInterstitial {} | ||
-keep class * extends com.mopub.nativeads.CustomEventNative {} | ||
|
||
# Support for Android Advertiser ID. | ||
-keep class com.google.android.gms.common.GooglePlayServicesUtil {*;} | ||
-keep class com.google.android.gms.ads.identifier.AdvertisingIdClient {*;} | ||
-keep class com.google.android.gms.ads.identifier.AdvertisingIdClient$Info {*;} |