googleads / admob-ads-in-flutter

Apache License 2.0
73 stars 36 forks source link

Bool variable _isInterstitialAdReady used but not declared #26

Closed yamhoresh closed 2 years ago

yamhoresh commented 2 years ago

Hi Taeho, great codelab!

I believe there's a mistake in the first code block on the 8th page of the codelab (for "Add an interstitial ad"). The very last line in the _loadInterstitialAd() function sets _isInterstitialAdReady = false;, however this variable wasn't previously defined.

This snippet does not exist in the GitHub repo here, so I'd assume this is just a mistake in the codelab website:

image

Thanks in advance!

kunny commented 2 years ago

Thanks for your report! I've updated the doc to exclude the obsolete code snippet. :)