-
Notifications
You must be signed in to change notification settings - Fork 11
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
Undefined Class AdEventListener #26
Comments
The type, AdEventListener, is found in old versions but replaced by a MobileAdListener Replace every instance of AdEventListener with MobileAdListener, and should find that error is fixed. Ensure you're using the most 'up-to-date' library package with the following in your pubspec.yaml:
"Also is really hard for a beginner to implement all ads function in separate file and add as a single tone.. A fully example of this would be really appreciated." Please, example your second question further. Greg |
Regarding my 2nd question is that I'm a begginer and I would like to see an example of separate main.dart logic into AppAds.dart. I belive that something like ( Ok you have all banners and listeners in AppAds.dart ) and then I can call it from another library / widget .. in order to avoid 'ads is already instantiated' Also this is a offtopic but I saw that after I've loaded banners first time ram consumption from my phone ( Samsung S 10 ) increase to much ( from ~110MB to 200 ) si it's about 90MB of ram that those ads eats ... Basically in readme in the section were you wrote about "Keep It Static" with example:
In would love to see that example fully completed with all cases because frankly |
Is this still an issue? |
Hello I've tried to instantiate Ads in separate AppAds.dart file but I receive in error on AdEventListener
Also is really hard for a beginer to implement all ads function in separate file and add as a single tone.. A fully example of this would be really appreciated.
Many thanks
The text was updated successfully, but these errors were encountered: