Bytecode client for Android (#30595)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/30595

Changelog: [Internal]

Add support for loading HBC bundles from Metro in Twilight.
* adds `runtimeBytecodeVersion` to the bundleURL
* adds logic to check chunk hermes bytecode bundles
* adds support for running the bytecode bundles

Reviewed By: cpojer

Differential Revision: D24966992

fbshipit-source-id: acdd03a2e9e2b3e4c29c99c35a7c9136a3a7ef01
This commit is contained in:
Keion Anvaripour
2020-12-16 16:03:57 -08:00
committed by Facebook GitHub Bot
parent 98f1825f56
commit 4537131878
10 changed files with 55 additions and 3 deletions
+1
View File
@@ -177,6 +177,7 @@ RCT_NOT_IMPLEMENTED(-(instancetype)init)
facebook::react::ScriptTag tag = facebook::react::parseTypeFromHeader(header);
switch (tag) {
case facebook::react::ScriptTag::HBCBundle:
case facebook::react::ScriptTag::RAMBundle:
break;