googleads / admob-ads-in-flutter

Apache License 2.0
72 stars 36 forks source link

Fix issue #8 #10

Closed gpbonillas closed 3 years ago

gpbonillas commented 3 years ago

In the codelab the instruction:

"_Before loading ads, you need to initialize the Google Mobile Ads SDK. Open the lib/home_page.dart file, and modify..."_

has an error. The file home_page.dart doesn't exist.

Solution:

1) Rename the file home_route.dart to home_page.dart 2) Change the import on main.dart to reference the new file name, from home_route.dart to home_page.dart

kunny commented 3 years ago

Hey @ gpbonillas, thanks for sending a pull request. I updated the codelab content to mention the correct filename (home_route.dart) instead of home_page.dart. (See https://codelabs.developers.google.com/codelabs/admob-ads-in-flutter#5)

As it does not require to update the sample code, please allow me to close this pull request :)