Skip to content

Commit a528078

Browse files
enricoluciagrabbou
authored andcommitted
Update instructions RN < 0.40 (#42)
Since RN starting from 0.40 has introduced a different way to declare imports, only 3.1.1 version and older will work.
1 parent 8584d3e commit a528078

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

Readme.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,18 @@ react-native-fbads [![npm version](https://badge.fury.io/js/react-native-fbads.s
4444
## Installation
4545

4646
### 1. Install Javascript packages
47-
47+
##### RN >= 0.40
4848
Install JavaScript packages:
4949

5050
```bash
5151
$ react-native install react-native-fbads
5252
```
53+
##### RN < 0.40
54+
Install JavaScript packages:
55+
56+
```bash
57+
$ react-native install react-native-fbads@3.1.1
58+
```
5359

5460
### 2. Configure native projects
5561

0 commit comments

Comments
 (0)