7.1 Admob Setup for Android
Last updated
Last updated
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 Native.
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 interstitialAdUnitIdAndroid, bannerAdUnitIdAndroid, and nativeAdUnitIdAnndroid with your values.
Ignore the iOS IDs if you donβt want to make the app for iOS.