Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outdated documentation on running dev on a port other than 8081 #4162

Open
NathanP-7West opened this issue Jul 16, 2024 · 0 comments
Open

Outdated documentation on running dev on a port other than 8081 #4162

NathanP-7West opened this issue Jul 16, 2024 · 0 comments

Comments

@NathanP-7West
Copy link

NathanP-7West commented Jul 16, 2024

Description

https://reactnative.dev/docs/troubleshooting#using-a-port-other-than-8081

While it does mention the folllowing:

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

@NathanP-7West 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant