Open vinoch1992 opened 2 years ago
Agreed!
We can use this library now Facebook Audience Network SDK for .NET for Android Anjo.Android.Facebook.AudienceNetwork (>= 6.16.0) and for login Anjo.Android.Facebook (>= 16.2.0)
We can use this library now Facebook Audience Network SDK for .NET for Android Anjo.Android.Facebook.AudienceNetwork (>= 6.16.0)
@mhdwaelanjo Does this include the Audience Network adapter 6.16 or do we need to add it to our libs folder? When I run the app and call MobileAds.OpenAdInspector it simply tells me the FAN adapter is not found
@ia3n Have you added this package Xamarin.GooglePlayServices.Basement (>= 118.2.0.5)
and you should use TargetFramework net7.0-android or net8.0-android
@mhdwaelanjo thanks for the reply and for your work!! Yes I'm using net8.0-android (not MonoAndroid) and have Xamarin.GooglePlayServices.Basement 118.2.0.5 added as a dependency of Xamarin.GooglePlayServices.Ads 122.3.0.2.
I can call AudienceNetworkAds.Initialize(this) succesfully, it just seems like this package can't be used for AdMob mediation with AdMob's Audience Network mediation adapter. I notice that for FAN mediation Admob have updated the minimum required Google Mobile Ads SDK version to 22.4.0 in their changelog so it might be a matter of waiting for Xamarin.GooglePlayServices.Ads to release 122.4.0 or later and see if it integrates.
I want to start moving my apps to MAUI but not having Audience Network mediation working is a dealbreaker at this stage - I'm sure others feel the same. Hopefully they get on top of things soon, otherwise I'll start looking at Flutter!
@ia3n We can use the Meta Audience Network Mediation Adapter For The Google Mobile Ads SDK Anjo.Android.GoogleAds.Mediation.FacebookAdapter (>= 6.16.0)
@mhdwaelanjo You, sir, have managed to do in 1 day what Microsoft couldn't in the last 3 years. Thank you! 🫡
@ia3n Thank you
We are missing few methods in the current
6.6.0
version of Xamarin.Android package.Example:
ad.LoadAd(ad.BuildLoadAdConfig().WithAdListener(listenser).Build());
In above
WithAdListener
does not exist.Please update the FAN Xamarin.Android to SDK version 6.9.0