From ecf5f98f1e5fbcc5ef0d75cf3591374692916e68 Mon Sep 17 00:00:00 2001 From: Roman Ruiz-Esparza Date: Mon, 26 Aug 2019 23:09:34 -0500 Subject: [PATCH] add `pod install` to readme (#306) * Update README.md * Update README.md * Update README.md --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c51efaa..a6153d4 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,14 @@ npm install --save @react-native-community/blur react-native link @react-native-community/blur ``` -3. (Android only) Add the following to `android/app/build.gradle` +3. (iOS only) Install to Xcode: + +``` +cd ios +pod install +``` + +4. (Android only) Add the following to `android/app/build.gradle` ``` android { @@ -50,7 +57,7 @@ android { } ``` -4. (Android only, optional) +5. (Android only, optional) 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: ```groovy @@ -67,13 +74,13 @@ ext { } ``` -5. Include the library in your code: +6. Include the library in your code: ```javascript import { BlurView, VibrancyView } from "@react-native-community/blur"; ``` -6. Compile and have fun! +7. Compile and have fun! ### BlurView