mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-06 22:38:47 +08:00
856 B
856 B
title, description
| title | description |
|---|---|
| Quick Start | Get to grips with the basics of AdMob in React Native Firebase |
AdMob Quick Start
Installation
Install this module with Yarn:
yarn add @react-native-firebase/admob
Integrating manually and not via React Native auto-linking? Check the setup instructions for Android & iOS.
Module usage
The AdMob package provides a JavaScript API for integrating event based adverts such as Interstitial Ads and React component view adverts such as Banner Ads.
Import the Cloud Functions package into your project:
import admob from '@react-native-firebase/admob';
The package also provides access to the firebase instance:
import { firebase } from '@react-native-firebase/admob';