mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-05 09:29:19 +08:00
918 B
918 B
title, description
| title | description |
|---|---|
| Quick Start | Getting started with AdMob in React Native Firebase |
AdMob Quick Start
This module has not yet been migrated as part of the on-going v6 work.
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';