Files
react-native-firebase/docs/admob/quick-start.md
2019-07-12 15:20:14 +01:00

929 B

title, description
title description
Quick Start Get to grips with the basics of 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';

TODO