googleads / admob-ads-in-flutter

Apache License 2.0
73 stars 36 forks source link

Needs update!!! #23

Closed rickbsgu closed 2 years ago

rickbsgu commented 2 years ago

Had to fix a whole bunch of warnings to get this to work. Despite being only a year old, it's way out of date. Authors need to bring this up to date.

Here is a working version (no starter/complete folders, just the project with tags - name is changed): https://github.com/rickbsgu/my_admob_tutorial There is a 'starter' tag you can use to follow the tutorial, if you want.

Note there is an issue with android on an m1 mac. I've reported that in #22, with a Stackoverflow link: https://stackoverflow.com/questions/72116841/admob-issues-on-m1-mac-for-android

Aztal-Samoht commented 2 years ago

one specific issue is that on step 9 the guide uses _rewardedAd!.show() when RewardedAd's .show() method requires a Function as an argument these days.

rickbsgu commented 2 years ago

Thanks for the input.

Can you point me to a reference that spells that out?

kunny commented 2 years ago

Hello all - the sample code has been updated! It should include the fix for the issues reported so far :)