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 and 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/configs/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