Skip to content

Commit ecf5f98

Browse files
rjruizescesargdm
authored andcommitted
add pod install to readme (#306)
* Update README.md * Update README.md * Update README.md
1 parent 7d22e48 commit ecf5f98

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,14 @@ npm install --save @react-native-community/blur
3434
react-native link @react-native-community/blur
3535
```
3636

37-
3. (Android only) Add the following to `android/app/build.gradle`
37+
3. (iOS only) Install to Xcode:
38+
39+
```
40+
cd ios
41+
pod install
42+
```
43+
44+
4. (Android only) Add the following to `android/app/build.gradle`
3845

3946
```
4047
android {
@@ -50,7 +57,7 @@ android {
5057
}
5158
```
5259

53-
4. (Android only, optional)
60+
5. (Android only, optional)
5461
If you've defined _[project-wide properties](https://developer.android.com/studio/build/gradle-tips.html)_ (**recommended**) in your root `build.gradle`, this library will detect the presence of the following properties:
5562

5663
```groovy
@@ -67,13 +74,13 @@ ext {
6774
}
6875
```
6976

70-
5. Include the library in your code:
77+
6. Include the library in your code:
7178

7279
```javascript
7380
import { BlurView, VibrancyView } from "@react-native-community/blur";
7481
```
7582

76-
6. Compile and have fun!
83+
7. Compile and have fun!
7784

7885
### BlurView
7986

0 commit comments

Comments
 (0)