admob icon indicating copy to clipboard operation
admob copied to clipboard

Android showRewardVideoAd resolves with empty data before the Ad is finished

Open jramstedt opened this issue 2 years ago • 3 comments

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.

jramstedt avatar Apr 20 '23 13:04 jramstedt

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

mlostekk avatar Jul 07 '23 18:07 mlostekk

I have created a PR to fix this

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

mlostekk avatar Jul 11 '23 09:07 mlostekk

But it looks like as this repo is dead

mlostekk avatar Jul 11 '23 09:07 mlostekk