mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
Add ability to load “unbundles” to android
Summary: public This adds the ability to load “unbundles” in RN android apps. Unbundles are created by invoking the packager with the `unbundle` command rather than `bundle`. The code detects usage of an “unbundle” by checking for the existence of a specific asset. Reviewed By: astreet Differential Revision: D2739596 fb-gh-sync-id: d0813c003fe0fa7b47798b970f56707079bfa5d7
This commit is contained in:
committed by
facebook-github-bot-3
parent
0963192b18
commit
17e1ceb543
@@ -76,7 +76,7 @@ function uInt32Buffer(n) {
|
||||
|
||||
function buildModuleTable(buffers) {
|
||||
// table format:
|
||||
// - table_length: uint_32 length of all table entries in bytes
|
||||
// - table_length: uint_32 length of all table entries in bytes + the table length itself
|
||||
// - entries: entry...
|
||||
//
|
||||
// entry:
|
||||
|
||||
Reference in New Issue
Block a user