diff --git a/patches/react-native+0.71.14.patch b/patches/react-native+0.71.14.patch index 727ee1bcdc1..8ccd7074422 100644 --- a/patches/react-native+0.71.14.patch +++ b/patches/react-native+0.71.14.patch @@ -1,5 +1,5 @@ diff --git a/node_modules/react-native/Libraries/Core/InitializeCore.js b/node_modules/react-native/Libraries/Core/InitializeCore.js -index 1379ffd..340f48d 100644 +index 1379ffd..d1a2b3f 100644 --- a/node_modules/react-native/Libraries/Core/InitializeCore.js +++ b/node_modules/react-native/Libraries/Core/InitializeCore.js @@ -24,26 +24,51 @@ @@ -8,7 +8,7 @@ index 1379ffd..340f48d 100644 +const Platform = require('../Utilities/Platform'); + -+if (Platform.OS === 'ios' && !global?.HermesInternal) { ++if (Platform.OS === 'ios' && !global?.HermesInternal && !__DEV__) { + require('../../../../ses.cjs'); // ses@0.18.8 + /** + * Without consoleTaming: 'unsafe' causes: