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 3 ad units. One banner, One Interstitial, and One Rewarded video.

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

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

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

Last updated