mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 21:53:30 +00:00
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} = {};
|
||||
if (global.nativeModuleProxy) {
|
||||
NativeModules = global.nativeModuleProxy;
|
||||
} else {
|
||||
} else if (!global.nativeExtensions) {
|
||||
const bridgeConfig = global.__fbBatchedBridgeConfig;
|
||||
invariant(
|
||||
bridgeConfig,
|
||||
|
Loading…
x
Reference in New Issue
Block a user