You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You will also need to update your applications to load the JavaScript bundle from the new port. If running on device from Xcode, you can do this by updating occurrences of 8081 to your chosen port in the ios/App_Name.xcodeproj/project.pbxproj file.
This is no longer true in the latest versions of react native. (At least 0.73-0.74) There are no instances of the port 8081 in the ios/__App_Name__.xcodeproj/project.pbxproj file.
(Checked on a fresh template from npx @react-native-community/cli@latest init)
(As a side note, it would be appreciated if anyone does know how to reconfigure this with the newer versions, trying to run two apps in dev at once. I'd be happy to raise a PR to update the section with the info too.)
Documentation version
Next, 0.74, 0.73
The text was updated successfully, but these errors were encountered:
NathanP-7West
changed the title
Outdated documentation on using a port other than 8081
Outdated documentation on running dev on a port other than 8081
Jul 16, 2024
👋 Hey there, it looks like there has been no activity on this issue in the last 90 days. Has the issue been fixed, or does it still require the community attention? This issue will be closed in the next 7 days if no further activity occurs. Thank you for your contributions.
Description
https://reactnative.dev/docs/troubleshooting#using-a-port-other-than-8081
While it does mention the folllowing:
This is no longer true in the latest versions of react native. (At least 0.73-0.74) There are no instances of the port
8081
in theios/__App_Name__.xcodeproj/project.pbxproj
file.(Checked on a fresh template from
npx @react-native-community/cli@latest init
)(As a side note, it would be appreciated if anyone does know how to reconfigure this with the newer versions, trying to run two apps in dev at once. I'd be happy to raise a PR to update the section with the info too.)
Documentation version
Next, 0.74, 0.73
The text was updated successfully, but these errors were encountered: