mirror of
https://github.com/status-im/react-native.git
synced 2025-02-14 18:36:35 +00:00
Summary: Currently a build warning is thrown by `if (header.BCVersion != runtimeBCVersion) ...` because `runtimeBCVersion` is signed, apparently because `-1` is used to mean that the runtime has no support for bytecode bundles. This PR splits out the error case of the runtime not supporting BC bundles from the case of a version mismatch. Tested as much as I could by building and running `UIExplorer` - I haven't attempted to use real bytecode bundles. Closes https://github.com/facebook/react-native/pull/11806 Differential Revision: D4408608 fbshipit-source-id: a1d868bb2064588e6a20827692629a46b6ba1e74