I have followed https://xamarinhelp.com/admob-xamarin-forms-display-google-ads-mobile-app/ and set upAdMob for my Xarain Forms app and it displays on both iOS and Android. The problem is trying to set the correct AdunitId after determining iOS versus Android. I have tried the code in many places and it compiles fine in one instance but returns an error that you can only set the AdUnitId once. Does anyone have a non-NVVM working solution for setting that?
↧