Skip to content

Conversation

@coado
Copy link
Contributor

@coado coado commented Nov 25, 2025

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-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 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.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 25, 2025
@facebook-github-bot facebook-github-bot added p: Software Mansion Partner: Software Mansion Partner p: Facebook Partner: Facebook labels Nov 25, 2025
@meta-codesync
Copy link

meta-codesync bot commented Nov 25, 2025

@coado has imported this pull request. If you are a Meta employee, you can view this in D87869540.

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
@coado coado force-pushed the fix-bundle-preferences-loading branch from 62eed74 to 056d01b Compare November 25, 2025 16:41
@meta-codesync
Copy link

meta-codesync bot commented Nov 25, 2025

@coado has exported this pull request. If you are a Meta employee, you can view the originating Diff in D87869540.

@filip131311
Copy link
Contributor

Screenshot 2025-11-26 at 09 57 48

radon can support RN 83 now thank you!

@coado coado marked this pull request as ready for review November 26, 2025 09:56
Copy link
Contributor

@cortinico cortinico left a 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.

@meta-codesync meta-codesync bot closed this in 2ac5488 Nov 26, 2025
@meta-codesync
Copy link

meta-codesync bot commented Nov 26, 2025

@coado merged this pull request in 2ac5488.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Nov 26, 2025
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants