I'm currently using Proguard in my app, and the Audience Network is not working. I need some different configuration, rather than the usual:
-keep class com.facebook.** { *; }
The problem is the integration guide doesn't refer any kind of Proguard configuration. Does someone already faced this problem and figured out what is missing?
I need some different configuration, rather than the usual:
-keep class com.facebook.** { *; }
You need to use
-keep class com.facebook.ads.** { *; }
proguard configuration to show Facebook Audience Network.Because in AudienceNetwork.jar
the main package is com.facebook.ads
-keep class com.facebook.ads.** { *; }
-dontwarn com.facebook.ads.**
简单地使用
-keep class com.facebook.ads.** { *; }
Please write these line in proguard-rules.pro
file
-keep class com.facebook.ads** {
*;
}
-dontwarn
-ignorewarnings
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.