Facebook的受众网络Proguard的设置受众、网络、Facebook、Proguard

2023-09-07 22:38:58 作者:姐的孤独你不懂

我目前使用的Proguard我的应用程序,与受众网络不能正常工作。我需要一些不同的配置,而不​​是通常的

  -keep类com.facebook ** {*。 } 

问题是整合指南并未提及任何Proguard的配置。是否有人已经面临这个问题,并想出缺什么?

解决方案   

我需要一些不同的配置,而不​​是通常的

  -keep类com.facebook ** {*。 } 

十年经验积累,通过Facebook如何做好跨境电商

您需要使用

  -keep类com.facebook.ads ** {*。 } 

ProGuard的配置,显示Facebook的观众在Network.Because AudienceNetwork.jar 主包 com.facebook.ads

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 inAudienceNetwork.jar the main package is com.facebook.ads