Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Xamarin.GooglePlayServices.Ads.Lite - [DynamiteModule] Local module descriptor class for com.google.android.gms.ads.dynamite not found. #565

Open
blmiles opened this issue Jan 26, 2022 · 1 comment

Comments

@blmiles
Copy link

blmiles commented Jan 26, 2022

Implementing the Xamarin.GooglePlayServices.Ads.Lite plugin in a Xamarin.Forms Android app with a MainPage and 5 child pages, an AdView on each...

In the Android app, I get Google ads showing on the main page, but not on the child-pages I navigate to...

Stepping through the code, all seems to work, no errors thrown.

BUT

I get the following in output, if anyone can enlighten me on this...that would be most helpful!!

[Ads] This request is sent from a test device.
[DynamiteModule] Local module descriptor class for com.google.android.gms.ads.dynamite not found.
[DynamiteModule] Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:214106404
[DynamiteModule] Selected remote version of com.google.android.gms.ads.dynamite, version >= 214106404
[Ads] #4 The webview is destroyed. Ignoring action.

FYI, done the same for iOS app and that app all works fine using this plugin - Xamarin.Firebase.iOS.AdMob.

@jpobst sorry to tag you but answeres from somewhere on this would be most appreciate OR point one in the right direction if possible?

Thanks

@blmiles blmiles changed the title MobileAds.Initialize(...); QUESTIONS Xamarin.GooglePlayServices.Ads.Lite - QUESTIONS Feb 1, 2022
@blmiles blmiles changed the title Xamarin.GooglePlayServices.Ads.Lite - QUESTIONS Xamarin.GooglePlayServices.Ads.Lite - [DynamiteModule] Local module descriptor class for com.google.android.gms.ads.dynamite not found. Feb 1, 2022
@mhdwaelanjo
Copy link

I fixed the problem.. we can use my libraries :

 <PackageReference Include="Anjo.Android.GoogleServices.Ads" Version="22.0.0" />
 <PackageReference Include="Anjo.Android.GoogleServices.AdsBase" Version="22.0.0" />
 <PackageReference Include="Anjo.Android.GoogleServices.AdsLite" Version="22.0.0" />

Supports fixing the problem of Loading ads using :

  • Let's rename for Interstitial ads InterstitialAdLoadCallback to AnjoInterstitialLoadCallback.
  • Let's rename for Rewarded ads RewardedAdLoadCallback to AnjoRewardedLoadCallback.
  • Let's rename for App Open Ads AppOpenAd.AppOpenAdLoadCallback to AnjoAppOpenLoadCallback.
  • Let's rename for Rewarded interstitial ads RewardedInterstitialAdLoadCallback to AnjoRewardedInterstitialLoadCallback.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants