Commit 8cac3eb
committed
Persist debug server host changes
Change Bundle Location updates PackagerConnectionSettings.debugServerHost, but the setter only updated the in-memory cached host. After the app process restarted, PackagerConnectionSettings read debug_http_host from default SharedPreferences and fell back to the previous value.
Persist the selected host to the same debug_http_host preference used by DevSettingsActivity so both entry points share the same storage path.1 parent 803456d commit 8cac3eb
1 file changed
Lines changed: 1 addition & 0 deletions
File tree
- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/packagerconnection
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
0 commit comments