Admob Setup

Breif details about admob Setup

To integrate your AdMob App ID into the iOS folder of your Flutter app, follow these steps:

iOS

Step 1: Locate the Info.plist File

  • In your Flutter project, navigate to: ios/Runner/Info.plist.

Step 2: Insert the AdMob App ID

  • Open the Info.plist file.
  • Add the following inside the <dict> tag:
<key>GADApplicationIdentifier</key>
<string>YOUR_ADMOB_APP_ID</string>
  • Replace "YOUR_ADMOB_APP_ID" with your actual AdMob App ID.
Alt text

Android

Step 1: Locate the AndroidManifest.xml File

  • In your Flutter project, navigate to: android/app/src/main/AndroidManifest.xml.

Step 2: Insert the AdMob App ID

  • Open the AndroidManifest.xml file.
  • Scroll to line 41 (or find the <application> tag). Add the following metadata inside the <application> tag:
<application ...>
    <meta-data
        android:name="com.google.android.gms.ads.APPLICATION_ID"
        android:value="YOUR_ADMOB_APP_ID"/>
</application>

Replace "YOUR_ADMOB_APP_ID" with your actual AdMob App ID.

Alt text