Skip to content

Commit ae5526e

Browse files
authored
doc: update iOS docs to account for autolinking
1 parent e683f5d commit ae5526e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Documentation/iOSInstallation.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,3 +125,12 @@ The script and example are here: https://github.com/react-native-webrtc/react-na
125125
3. re-package device related archs only: `node ios_arch.js --device`
126126
4. delete files generated from `step 2` under `node_modules/react-native-webrtc/ios WebRTC.framework/` (e.g. with a command `rm node_modules/react-native-webrtc/ios/WebRTC.framework/WebRTC-*` from application root)
127127
5. you can check current arch use this command: `file node_modules/react-native-webrtc/ios/WebRTC.framework/WebRTC`
128+
129+
## Appendix D - Autolinking
130+
131+
(For React >= 0.60)
132+
133+
Newer versions of React will auto-link modules, but installing via the podfile or following steps 2-4 will manually link the module as well. This will lead to an error.
134+
135+
1. go to your root app folder
136+
2. unlink the module: 'npx react-native unlink react-native-webrtc'

0 commit comments

Comments
 (0)