7.1 Admob Setup for Android

Follow these steps only for production (release):

  • From your AdMob account, create an app for android. You will get an app id for android.

  • Create 2 ad units. One banner, One Interstitial.

  • Now, go to the android/app/src/main/AndroidManifest.xml file and change the AdMob app id(Android) with yours.

  • Go to the lib/config/ad_config.dart file and change the appIdAndroid, interstitialAdUnitIdAndroid & bannerAdUnitIdAndroid with your values.

Ignore the iOS ids if you don’t want to make the app for iOS.

Last updated