Skip to content

Commit 1448419

Browse files
authored
Merge pull request #259 from James-E-Adams/source
docs(getting-started): Add explanation for hybrid iOS apps
2 parents 5f336c1 + d9f87e7 commit 1448419

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/getting-started.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,16 @@ yarn add react-navigation
2424
# npm install --save react-navigation
2525
```
2626

27+
## Hybrid iOS Applications (Skip for RN only projects)
28+
29+
If you're using React Navigation within a hybrid app - an iOS app that has both Swift/ObjC and React Native parts - you may be missing the `RCTLinkingIOS` subspec in your Podfile, which is installed by default in new RN projects. To add this, ensure your Podfile looks like the following:
30+
31+
```
32+
pod 'React', :path => '../node_modules/react-native', :subspecs => [
33+
. . . // other subspecs
34+
'RCTLinkingIOS',
35+
. . .
36+
]
37+
```
38+
2739
You're good to go! Continue to ["Hello React Navigation"](hello-react-navigation.html) to start writing some code.

0 commit comments

Comments
 (0)