Detach RN Bridge and CS
Reviewed By: danzimm Differential Revision: D7833851 fbshipit-source-id: 14533c519f08bd39d69f5203040ad54415228f9f
This commit is contained in:
parent
d01ab66b47
commit
a93e281428
|
@ -151,7 +151,7 @@ function createErrorFromErrorData(errorData: {message: string}): ExtendedError {
|
||||||
let NativeModules: {[moduleName: string]: Object} = {};
|
let NativeModules: {[moduleName: string]: Object} = {};
|
||||||
if (global.nativeModuleProxy) {
|
if (global.nativeModuleProxy) {
|
||||||
NativeModules = global.nativeModuleProxy;
|
NativeModules = global.nativeModuleProxy;
|
||||||
} else {
|
} else if (!global.nativeExtensions) {
|
||||||
const bridgeConfig = global.__fbBatchedBridgeConfig;
|
const bridgeConfig = global.__fbBatchedBridgeConfig;
|
||||||
invariant(
|
invariant(
|
||||||
bridgeConfig,
|
bridgeConfig,
|
||||||
|
|
Loading…
Reference in New Issue