From 6251bb4c4b095e45094c37e65c6ba660fd4b6bb8 Mon Sep 17 00:00:00 2001 From: Bruno Barbieri Date: Mon, 3 May 2021 21:19:12 -0400 Subject: [PATCH] update rn patch (#1982) --- patches/react-native+0.63.3.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/patches/react-native+0.63.3.patch b/patches/react-native+0.63.3.patch index f595946a3bf..87fb4155bc3 100644 --- a/patches/react-native+0.63.3.patch +++ b/patches/react-native+0.63.3.patch @@ -1,3 +1,15 @@ +diff --git a/node_modules/react-native/Libraries/BatchedBridge/NativeModules.js b/node_modules/react-native/Libraries/BatchedBridge/NativeModules.js +index 5410125..82b99df 100644 +--- a/node_modules/react-native/Libraries/BatchedBridge/NativeModules.js ++++ b/node_modules/react-native/Libraries/BatchedBridge/NativeModules.js +@@ -164,6 +164,7 @@ function updateErrorWithErrorData( + let NativeModules: {[moduleName: string]: Object, ...} = {}; + if (global.nativeModuleProxy) { + NativeModules = global.nativeModuleProxy; ++ global.nativeModuleProxy = null; + } else if (!global.nativeExtensions) { + const bridgeConfig = global.__fbBatchedBridgeConfig; + invariant( diff --git a/node_modules/react-native/Libraries/Core/Timers/JSTimers.js b/node_modules/react-native/Libraries/Core/Timers/JSTimers.js index 4c154db..89051c8 100644 --- a/node_modules/react-native/Libraries/Core/Timers/JSTimers.js