Top

Documentation

Admob :


NOTE :
- Before running the app make sure you have import Collection json in Firestore database which we have provided.
- Before import json in firestore database remember to give rule permission or create Firestore Data. See the Firebase Rules for create Firestore Database and how to give permission in firebase.
Also you can check below video for how to import json in firebase:
VIDEO URL : https://youtu.be/Jd0sW8Wrc5Y?si=AxC6BmWBFwZfZU4a

  1. For Quick start about go to https://developers.google.com/admob/flutter/quick-start
  2. Now search plugin in pub.dev google_mobile_ads
  3. Copy plugin with latest version go to your project => pubspec.yaml paste the plugin name with latest version and update run command flutter pub get
  4. Start using Admob by following link and fill data in this https://platform.openai.com/
  5. After Process complete go to admob dashboard
  6. On left hand menu panel select Apps and click onADD YOUR FIRST APP
  7. Now select option as per your app requirement if you want to show for ANDROID select or want for IOS select IOS
  8. If your App is live then select Yes, the app is listed on supported app store, if not then select no
  9. If you select Yes, the app is listed on supported app store, it will go to another page for search your app on play store, search by name or package name and select
  10. If you select no then it will take to page where you provide app name
  11. After complete process, on left hand panel click Add Unit, In that click Add an Unit
  12. Now create Banner, Interstitial and Rewarded Add
  13. Now got to App Setting copy AppId and paste in AndroidManifest.xml

  14. Now copy BannerId according android or ios and paste in firebase config as mention above in config-> if android copy in bannerAddId in value or if ios paste in bannerIOSId
  15. Above 14. number point for BannerId Process do same process as Banner for Interstitial and Rewarded key and paste in firebase config.