E/FBAudienceNetwork: You are using custom Application class and don't call AudienceNetworkAds.isInAdsProcess(). Multi-process support will be disabled. Please call AudienceNetworkAds.isInAdsProcess() if you want to support multi-process mode.
implementation 'com.facebook.android:audience-network-sdk:5.1.0'
implementation 'com.mopub.mediation:facebookaudiencenetwork:5.1.0.2'
am using FAN along with Mopub.
How to fix the above issue? Thanks in advance.
Facebook decided to shut down its mobile web and in-stream placements because they want to focus their resources on mobile apps exclusively. A statement from them says: We've made this decision based on where we see growing demand from our partners, which is in other formats across mobile apps.
The biggest perk of including Facebook Audience Network in your ad placements is that your ads will reach people who don't even have a Facebook account, so you'll attract a whole new crowd of people who are inaccessible to you via regular newsfeed ads.
Solution: First delete the app and property from the given link in question. If you have deleted the app and property then Go to App Dashboard > Open App > Advance Setting > Reset Clint ID.
It's likely because you use custom Application subclass. Put AudienceNetworkAds.isInAdsProcess() call on top of your custom Application class like this:
public class YourApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
if (AudienceNetworkAds.isInAdsProcess(this)) {
return;
}
// your normal onCreate() code
}
}
Now warning should disappear.
Alternatively you can turn multiprocess support off (not recommended) by setting:
AdSettings.setMultiprocessSupportMode(MultiprocessSupportMode.MULTIPROCESS_SUPPORT_MODE_OFF);
Note. You should call this before calling SDK methods or MoPub mediation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With