Skip to content

Commit

Permalink
[firebase_admob] Remove duplicate example from documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
collinjackson authored Aug 26, 2019
2 parents 4157ee3 + a1a5653 commit cdbcf01
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 16 deletions.
4 changes: 4 additions & 0 deletions packages/firebase_admob/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.9.0+6

* Remove duplicate example from documentation.

## 0.9.0+5

* Update documentation to reflect new repository location.
Expand Down
15 changes: 0 additions & 15 deletions packages/firebase_admob/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,21 +129,6 @@ myBanner
);
```

Ads must be loaded before they're shown.
```dart
myBanner
// typically this happens well before the ad is shown
..load()
..show(
// Positions the banner ad 60 pixels from the bottom of the screen
anchorOffset: 60.0,
// Positions the banner ad 10 pixels from the center of the screen to the left
horizontalCenterOffset: -10.0,
// Banner Position
anchorType: AnchorType.bottom,
);
```

```dart
myInterstitial
..load()
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase_admob/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Flutter plugin for Firebase AdMob, supporting
banner, interstitial (full-screen), and rewarded video ads
author: Flutter Team <flutter-dev@googlegroups.com>
homepage: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_admob
version: 0.9.0+5
version: 0.9.0+6

flutter:
plugin:
Expand Down

0 comments on commit cdbcf01

Please sign in to comment.