capacitor-community / admob

Community plugin for using Google AdMob
MIT License
213 stars 66 forks source link

Android showRewardVideoAd resolves with empty data before the Ad is finished #236

Open jramstedt opened 1 year ago

jramstedt commented 1 year ago

Describe the bug In AdRewardExecutor.java the showRewardVideoAd method calls call.resolve() immediately after show().

Another call.resolve() with correct data is called in OnUserEarnedRewardListener correctly.

Expected behavior Only OnUserEarnedRewardListener should call call.resolve(). No resolve should be called before callback.

mlostekk commented 1 year ago

I have the same problem here. Have you been able to resolve it @jramstedt

mlostekk commented 1 year ago

I have created a PR to fix this

https://github.com/capacitor-community/admob/pull/259

mlostekk commented 1 year ago

But it looks like as this repo is dead