admob 0.1.23 copy "admob: ^0.1.23" to clipboard
admob: ^0.1.23 copied to clipboard

outdatedDart 1 only

A flutter plugin for admob.

Admob for Flutter #

A GoogleAdmob plugin for Flutter. Currently supports interstitial ads in both iOS and Android.

Getting Started #

Contains two methods for loading and showing interstitial ads.

The plugin's loadInterstitial method accepts an APP_ID, AD_UNIT_ID, DEVICE_ID, and TESTING. The loadInterstitial method should be called in an init method to load an ad as the app starts. After that the ads will reload themselves whenever you close the previous one..

APP_ID = The app id given to you by admob
AD_UNIT_ID = The ad unit id given to you by admob when you create an interstitial ad
DEVICE_ID: Include the device id for testing purposes if you plan to test ads on a specific device
TESTING: A Boolean value indicating whether the ad units should be live or used for testing

The plugin's showInterstitial method accepts no variables, and as the name implies shows the ad you loaded with loadInterstitial.

View the example code included with the plugin in the example folder to see usage. The main.dart file included in the example folder shows an implementation of the plugin.

SUPPORT THE DEVELOPER #

BTC Address:13JN3yubwaPzyuBpj4MtKqirVfweq1b6Sc

2
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A flutter plugin for admob.

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on admob