-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot add addEventListener #16
Comments
It seems correct. I don't use banner ads in my app, so can't help here, but this one definitely works for me for reward videos:
Can you check it in your codebase to see if it also returns undefined error? |
Konrad, thanks for the tip. I've checked and this IncentivizedAd listener doesn't return undefined error. All other (BannerAd and VideoAd) shows undefined errors. I've checked the plugin's
to
and the callbacks for Interstitial ads started to bubble up. I supposed the same issue is related to the BannerAd, but the code seemed OK. I've checked it one more time, typed instead of copy&paste and it ... stopped to complain undefined errors. However, the LOADED type was never called back even if the banner is visible on the screen. So I changed the original plugin sources to use AVAILABLE like in the InterstitialAd/IncentivizedAd instead of LOADED and... it started to work. I'll introduce the changes to the repository and I'll post a pull, but such errors are such a headache... |
VideoAd is nowhere defined in the plugin sources, InterstitialAd should be used instead. Heyzap#16
I'm unable to use the addEventListener or I am doing it wrong.
I have successfuly installed the SDK + AdMob and Facebook Audience Network. The test suite shows interstitials and banners correctly. I can also show and display banners and interstitials in the apps, so everything seems to be configured and working properly. However, I'm suffering troubles with the addEventListener events. I'm simply not able to define them. My code is:
Unfortunately console reports errors:
What am I doing wrong?
And by the way, how can I use the native banners feature of Admob and FAN?
The text was updated successfully, but these errors were encountered: