-
Notifications
You must be signed in to change notification settings - Fork 25k
Fix: loading bundle using debug_http_host preferences
#54687
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
Closed
Closed
Conversation
This file contains hidden or 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
Summary: In facebook#54139 I have removed checking shared preferences for `debug_http_host`. The diff reverts this removal because it is used for changing the bundle source before the app starts. ## Changelog: [ANDROID][FIXED] - revert removal of checking shared preferences for `debug_http_host`. Test Plan: I have run the `rn-tester` app and swapped a default prefs file on Android emulator located in: `/data/data/com.facebook.react.uiapp/shared_prefs/com.facebook.react.uiapp_preferences.xml` with one that had updated port in `debug_http_host` setting to `8082`: ```xml <?xml version='1.0' encoding='utf-8' standalone='yes' ?> <map> <boolean name="fps_debug" value="true" /> <string name="debug_http_host">10.0.2.2:8082</string> <boolean name="inspector_debug" value="true" /> </map> ``` Then, I have run the app and checked if the bundle is loaded from the Metro instance invoked using `yarn start --port 8082`. Differential Revision: D87869540 Pulled By: coado
62eed74 to
056d01b
Compare
Contributor
cortinico
approved these changes
Nov 26, 2025
Contributor
cortinico
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review automatically exported from Phabricator review in Meta.
filip131311
added a commit
to software-mansion/radon-ide
that referenced
this pull request
Nov 28, 2025
This PR updates the internal imports to support react native 83. For radon to work with rn 83 this [PR](facebook/react-native#54687) needs to be cherry-picked, thats because of changes mage in: facebook/react-native@005d705 to implement proposal: https://github.com/j-piasecki/discussions-and-proposals/blob/set-bundle-url/proposals/0933-bundle-source-customization.md For now to test android we need to copy in the changes from [here](facebook/react-native#54687) and build from sources. ### How Has This Been Tested: - run `react-native-83` test app - build android from source with the above modifications ### How Has This Change Been Documented: #1765
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
CLA Signed
This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
fb-exported
Merged
This PR has been merged.
meta-exported
p: Facebook
Partner: Facebook
p: Software Mansion
Partner: Software Mansion
Partner
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Summary:
In #54139 I have removed checking shared preferences for
debug_http_host. The diff reverts this removal because it is used for changing the bundle source before the app starts.Changelog:
[ANDROID][FIXED] - revert removal of checking shared preferences for
debug_http_host.Test Plan:
I have run the
rn-testerapp and swapped a default prefs file on Android emulator located in:/data/data/com.facebook.react.uiapp/shared_prefs/com.facebook.react.uiapp_preferences.xmlwith one that had updated port indebug_http_hostsetting to8082:Then, I have run the app and checked if the bundle is loaded from the Metro instance invoked using
yarn start --port 8082.