react-native
react-native copied to clipboard
Do not crash on onJSBundleLoadedFromServer when fast-refreshing on bridgeless mode
Summary:
RN-Tester is currently instacrashing on fast-refresh (pressing r on Metro) as it ends up on onJSBundleLoadedFromServer
which throws an exception on Bridgeless mode. I'm fixing it by following the same logic as onReloadWithJSDebugger.
Changelog: [Android] [Fixed] - Do not crash on onJSBundleLoadedFromServer when fast-refreshing on bridgeless mode
Differential Revision: D54121838
This pull request was exported from Phabricator. Differential Revision: D54121838
This pull request was exported from Phabricator. Differential Revision: D54121838
| Platform | Engine | Arch | Size (bytes) | Diff |
|---|---|---|---|---|
| android | hermes | arm64-v8a | 18,000,690 | +7 |
| android | hermes | armeabi-v7a | n/a | -- |
| android | hermes | x86 | n/a | -- |
| android | hermes | x86_64 | n/a | -- |
| android | jsc | arm64-v8a | 21,359,066 | +2 |
| android | jsc | armeabi-v7a | n/a | -- |
| android | jsc | x86 | n/a | -- |
| android | jsc | x86_64 | n/a | -- |
Base commit: 2647dc8c3976e2e8763faa3f4a23b59e9a0ad218 Branch: main
Closed by 44e5bc9e2c73235ba5d8bf0f5323181948e74197