Cirilla Documentations

  1. Home
  2. Docs
  3. Cirilla Documentations
  4. AdMob
  5. Set up Banner Ads

Set up Banner Ads

The Banner Ads show in bottom or above bottom app bar

Update Banner Ads unit ID

open file cirilla/lib/constants/ads.dart and update unit for Android and iOS

Config Hide/Show on screens

Default we already config for home tab, post, post list, post category, post author. You can use this options to hide/show on there screens.

Show banner ads in other screens

You can use this code to add Scaffold widget.

persistentFooterButtons(Provider.of<AuthStore>(context))

Add the code to persistentFooterButtons prop

Import missing library

import 'package:cirilla/themes/default/widgets/admod/banner_ads.dart';
Was this article helpful to you? Yes No

How can we help?