fix(entry): load @metro/internals/modules before main init
potentially fix the RNG duplicate native component crash?
This commit is contained in:
parent
fc1ca2086d
commit
87913cecfc
1 changed files with 1 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ async function initializeBunny() {
|
||||||
Object.freeze = Object.seal = Object;
|
Object.freeze = Object.seal = Object;
|
||||||
|
|
||||||
await require("@metro/internals/caches").initMetroCache();
|
await require("@metro/internals/caches").initMetroCache();
|
||||||
|
require("@metro/internals/modules");
|
||||||
await require(".").default();
|
await require(".").default();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
const { ClientInfoManager } = require("@lib/api/native/modules");
|
const { ClientInfoManager } = require("@lib/api/native/modules");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue