You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Run it on iOS / Android](#3-run-it-on-ios--android)
46
23
-[Credits](#credits)
47
24
48
25
## Installation
49
26
50
-
### Integrate the base Facebook SDK
27
+
### 1. Integrate the base Facebook SDK
51
28
52
29
Follow the instructions on [react-native-fbsdk](https://github.com/facebook/react-native-fbsdk) to integrate the Facebook SDK into your project.
53
30
Note that for iOS, it's [recommended you use Cocoapods](https://developers.facebook.com/docs/ios/getting-started/advanced) rather than the manual installation.
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.
66
43
67
-
### Install The Javascript Package
44
+
### 3. Install The Javascript Package
68
45
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
70
47
71
48
```bash
72
49
$ yarn install react-native-fbads
73
50
```
74
51
75
-
2.Link the native projects
52
+
Link the native dependencies
76
53
77
54
```bash
78
55
$ react-native link react-native-fbads
79
56
```
80
57
81
-
### Get a Placement ID
58
+
### 4. Get a Placement ID
82
59
83
60
Follow [Facebook's instructions](https://www.facebook.com/help/publisher/1195459597167215) to create placement IDs for your ads.
84
61
85
62
You can skip the _Integrate the SDK_ step of that guide, as you've already integrated the Facebook SDK in previous steps.
86
63
87
64
## Usage
88
65
89
-
For detailed usage please check `examples` folder.
90
-
91
66
### Interstitial Ads
92
67
93
68
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