Skip to content

Commit

Permalink
[Firebase-Admob]Added note about GoogleService-list.plist (#2125)
Browse files Browse the repository at this point in the history
  • Loading branch information
rubberbird authored Mar 11, 2020
1 parent 5508d7d commit 046c4d1
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
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.2+1

* Added note about required Google Service config files.

## 0.9.2

* Add basic Native Ads support for Android.
Expand Down
16 changes: 16 additions & 0 deletions packages/firebase_admob/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,22 @@ Starting in version 7.42.0, you are required to add your AdMob app ID in your **

Failure to add this tag will result in the app crashing at app launch with a message including *"GADVerifyApplicationID."*

## Firebase related changes

You are also required to ensure that you have Google Service file from Firebase inside your project.

### iOS

Create an "App" in firebase and generate a GoogleService-info.plist file. This file needs to be embedded in the projects "Runner/Runner" folder using Xcode.

https://firebase.google.com/docs/ios/setup#create-firebase-project -> Steps 1-3

### Android

Create an "App" in firebase and generate a google-service.json file. This file needs to be embedded in you projects "android/app" folder.

https://firebase.google.com/docs/android/setup#create-firebase-project -> Steps 1-3.1

## Using banners and interstitials
Banner and interstitial ads can be configured with target information.
And in the example below, the ads are given test ad unit IDs for a quick start.
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 @@ -2,7 +2,7 @@ name: firebase_admob
description: Flutter plugin for Firebase AdMob, supporting
banner, interstitial (full-screen), and rewarded video ads
homepage: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_admob
version: 0.9.2
version: 0.9.2+1

flutter:
plugin:
Expand Down

0 comments on commit 046c4d1

Please sign in to comment.