Skip to content

Commit 54af8d3

Browse files
committed
Fix broken TOC links
1 parent f449b4a commit 54af8d3

1 file changed

Lines changed: 7 additions & 32 deletions

File tree

README.md

Lines changed: 7 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -9,50 +9,27 @@
99
## Table of Contents
1010

1111
- [Installation](#installation)
12-
- [Install Javascript packages](#1-install-javascript-packages)
13-
- [Configure native projects](#2-configure-native-projects)
14-
- [iOS](#21-ios)
15-
- [Android](#22-android)
1612
- [Usage](#usage)
1713
- [Interstitial Ads](#interstitial-ads)
18-
- [1. Showing ad](#1-showing-ad)
1914
- [Native Ads](#native-ads)
20-
- [1. Creating AdsManager](#1-creating-adsmanager)
21-
- [2. Making ad component](#2-making-ad-component)
22-
- [3. Rendering an ad](#3-rendering-an-ad)
2315
- [Banner View](#bannerview)
24-
- [1. Showing ad](#1-showing-ad-1)
2516
- [API](#api)
2617
- [NativeAdsManager](#nativeadsmanager)
27-
- [disableAutoRefresh](#disableautorefresh)
28-
- [setMediaCachePolicy](#setmediacachepolicy)
29-
- [InterstitialAdManager](#interstitialadmanager)
30-
- [showAd](#showad)
31-
- [RewardedVideoAdManager](#rewardedvideoadmanager)
32-
- [loadAd](#loadAd)
33-
- [showAd](#showAd)
3418
- [AdSettings](#adsettings)
35-
- [currentDeviceHash](#currentdevicehash)
36-
- [addTestDevice](#addtestdevice)
37-
- [clearTestDevices](#cleartestdevices)
38-
- [setLogLevel](#setloglevel)
39-
- [setIsChildDirected](#setischilddirected)
40-
- [setMediationService](#setmediationservice)
41-
- [setUrlPrefix](#seturlprefix)
42-
- [Running example](#running-example)
19+
- [Running the example](#running-the-example)
4320
- [Install dependencies](#1-install-dependencies)
4421
- [Start packager](#2-start-packager)
4522
- [Run it on iOS / Android](#3-run-it-on-ios--android)
4623
- [Credits](#credits)
4724

4825
## Installation
4926

50-
### Integrate the base Facebook SDK
27+
### 1. Integrate the base Facebook SDK
5128

5229
Follow the instructions on [react-native-fbsdk](https://github.com/facebook/react-native-fbsdk) to integrate the Facebook SDK into your project.
5330
Note that for iOS, it's [recommended you use Cocoapods](https://developers.facebook.com/docs/ios/getting-started/advanced) rather than the manual installation.
5431

55-
### (iOS only) Integrate Facebook Audience Network
32+
### 2. (iOS only) Integrate Facebook Audience Network
5633

5734
1. Add the following Pod to your Podfile:
5835

@@ -64,30 +41,28 @@ pod 'FBAudienceNetwork'
6441

6542
If you didn't use Cocoapods to integrate the Facebook SDK, you'll need to manually add the audience network framework file to your project.
6643

67-
### Install The Javascript Package
44+
### 3. Install The Javascript Package
6845

69-
1. Add the package to your project using your favorite pacakge manager
46+
Add the package to your project using your favorite package manager
7047

7148
```bash
7249
$ yarn install react-native-fbads
7350
```
7451

75-
2. Link the native projects
52+
Link the native dependencies
7653

7754
```bash
7855
$ react-native link react-native-fbads
7956
```
8057

81-
### Get a Placement ID
58+
### 4. Get a Placement ID
8259

8360
Follow [Facebook's instructions](https://www.facebook.com/help/publisher/1195459597167215) to create placement IDs for your ads.
8461

8562
You can skip the _Integrate the SDK_ step of that guide, as you've already integrated the Facebook SDK in previous steps.
8663

8764
## Usage
8865

89-
For detailed usage please check `examples` folder.
90-
9166
### Interstitial Ads
9267

9368
An Interstitial Ad is a an ad that covers the whole screen with media content. It has a dismiss button as well as the clickable area that takes user outside of your app.

0 commit comments

Comments
 (0)