Facebook Audience Network Profile Settings

I am currently using Proguard in my application and the Audience network is down. I need a different configuration, not the usual one:

-keep class com.facebook.** { *; } 

The problem is that the integration guide does not refer to any Proguard configuration. Has anyone already encountered this problem and found out what is missing?

+9
android facebook proguard facebook-audience-network
source share
4 answers

I need a different configuration, not the usual one:

 -keep class com.facebook.** { *; } 

You need to use

 -keep class com.facebook.ads.** { *; } 

Proguard configuration for displaying the Facebook Audience network. Since in AudienceNetwork.jar main package is com.facebook.ads

+4
source share
 -keep class com.facebook.ads.** { *; } -dontwarn com.facebook.ads.** 
+4
source share

just use

 -keep class com.facebook.ads.** { *; } 
+1
source share

Please write these lines in the file proguard-rules.pro

 -keep class com.facebook.ads.**{*; } -keep class com.facebook.** { *; } -dontwarn -ignorewarnings 
0
source share

All Articles