-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated 'Plugin installation(iOS - CocoaPods)' section in documentati…
…on. (#1301)
- Loading branch information
1 parent
9662c85
commit 899f05f
Showing
1 changed file
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,9 +32,27 @@ And that's it! Isn't RNPM awesome? :) | |
|
||
#### Plugin Installation (iOS - CocoaPods) | ||
|
||
1. Add the CodePush plugin dependency to your `Podfile`, pointing at the path where NPM installed it | ||
1. Add the ReactNative and CodePush plugin dependencies to your `Podfile`, pointing at the path where NPM installed it | ||
|
||
```ruby | ||
``` | ||
# React Native requirements | ||
pod 'React', :path => '../node_modules/react-native', :subspecs => [ | ||
'Core', | ||
'CxxBridge', # Include this for RN >= 0.47 | ||
'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43 | ||
'RCTText', | ||
'RCTNetwork', | ||
'RCTWebSocket', # Needed for debugging | ||
'RCTAnimation', # Needed for FlatList and animations running on native UI thread | ||
# Add any other subspecs you want to use in your project | ||
] | ||
# Explicitly include Yoga if you are using RN >= 0.42.0 | ||
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga' | ||
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec' | ||
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec' | ||
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec' | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
NickToropov
Author
Contributor
|
||
# CodePush plugin dependency | ||
pod 'CodePush', :path => '../node_modules/react-native-code-push' | ||
``` | ||
|
||
|
My Podfile for relevant lines that's been working. Extra modules listed here would be redundant?