mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
@simek/fix-cpp-docs-comments
12270 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
1174cff2c2 |
Update createAnimatedComponent type to be correctly translatable to TypeScript (#49881)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49881 Changelog: [Internal] Reviewed By: huntie Differential Revision: D70707147 fbshipit-source-id: 84c4f866646ba30cdea43f3d6c2e9d8836d41738 |
||
|
|
01881017d3 |
fix: typo in React-cxxreact.podspec (#49879)
Summary: This pull request includes a minor change to the `React-cxxreact.podspec` file in the `ReactCommon/cxxreact` package. The change corrects a typo in the `HEADER_SEARCH_PATHS` configuration. ## Changelog: [IOS] [FIXED] - Corrected the path from `"$(PODS_ROOT)/fas_float/include"` to `"$(PODS_ROOT)/fast_float/include"` in the `HEADER_SEARCH_PATHS` configuration. Pull Request resolved: https://github.com/facebook/react-native/pull/49879 Reviewed By: rshest Differential Revision: D70773742 Pulled By: javache fbshipit-source-id: 0823732bf45c8c17ee7d4c0c3542be5c286445ba |
||
|
|
619d5dfbb2 |
Handle null params in the Interop TM layer (#49873)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/49873
In the old architecture, when we were passing a `null` value as a parameter in a function that accepted nullable parameter, the null value was mapped to `nil` on iOS.
After my changes in [
|
||
|
|
d4c326411c |
Scope Network Inspection to the New Architecture (#49874)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49874 Changelog: [Internal] Reviewed By: vzaidman Differential Revision: D70723808 fbshipit-source-id: dddc75f6329a2e7062a7d0f15dcfcf299e77f037 |
||
|
|
c0a5c2c3cb |
Fix issue with extraModulesForBridge callback (#49849)
Summary: Fixes https://github.com/facebook/react-native/issues/49819 . Details about how the issue was introduced in the issue description. bypass-github-export-checks ## Changelog: [IOS] [FIXED] - Fixed: extraModulesForBridge callback not called when New Architecture enabled <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: [ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests Pull Request resolved: https://github.com/facebook/react-native/pull/49849 Test Plan: Without the change: 1. Open `packages/rn-tester` project 2. In `AppDelegate.mm`, implement `extraModulesForBridge` and add a breakpoint / output something 3. Run the app in iOS <-- Verify that the method is not executed With the change: 1-3. Same as above <-- verify that the method is called correctly > [!NOTE] > As far as I could tell, there is no test suite for this specific codepath, so I didn't write a test for this change. Happy to write one if someone can guide me a little bit. Reviewed By: rshest Differential Revision: D70724196 Pulled By: cipolleschi fbshipit-source-id: cc08798d08cdbd6883347810c7d2697c358770fb |
||
|
|
edf95eb6fa |
minor log rewording from "received" to "sent" (#49870)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49870 Changelog: [General][Internal] minor log rewording from "received" to "sent" Reviewed By: huntie Differential Revision: D70707308 fbshipit-source-id: 8a28b093ebc3dd374e98cfad23996982a48bab8d |
||
|
|
1a9adfba16 |
Fix Recycling of Animated Images (#49850)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49850 `RCTUIImageViewAnimated` has some bugs around reuse. 1. Recycling will set `image` to null, which will no-op on comparison to `self.image`, but `self.image` is always null when the image is animated, because `RCTUIImageViewAnimated` handles rendering the frames itself. This means we don't properly do things like invalidating the DisplayLink when the image is first recycled. 2. If we ever set superclass image to nil, we make some change to the underlying CALayer, which causes the content to remain black, even though we customize our own `displayLayer`. Diffing layer descriptions, we seem to afterward have a `contentsMultiplyColor` and `contentsSwizzle` on the layer that aren't public. The solution I have in this diff is to, instead of drawing layers ourselves, update backing UIImage image to the frame. I think this would fix some other bugs as well, like tintColor not applying to animated images. My guess is that this shouldn't add too much extra work, since `UIImageView` should just be propagating the `UIImage` to the layer in a same way that we were before. This same bug may have also been possible before when switching between animated and non-animated image sources I think. Changelog: [iOS][Fixed] - Fix Recycling of Animated Images Reviewed By: cipolleschi, joevilches Differential Revision: D70668516 fbshipit-source-id: f1127da3e03ebab2b6f7584ba492b3e13448c13b |
||
|
|
c08e16afee |
Correctly propagate prepareToRecycleView return value (#49858)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49858 `prepareToRecycleView` returns nullable, since we may decide a view is not recyclable. We should respect that and return the view returned by super. Changelog: [Internal] bypass-github-export-checks Reviewed By: fabriziocucci Differential Revision: D70696246 fbshipit-source-id: a8e12320611a3b6a3d05353e4b7556c4da416aea |
||
|
|
2cbb54e956 |
Add TextInput to buildTypes and align Flow with TS types (#49720)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49720 Changelog: [Internal] - Added TextInput to buildTypes and aligned Flow with TS types Reviewed By: huntie Differential Revision: D70180918 fbshipit-source-id: 2ea815153cbff47af534d80faec5db98e4a4a0e8 |
||
|
|
1114f4c35a |
Remove views from their parent on recycle (#49851)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49851 Android doesn't allow to mount a view that already has a parent. View recycling removes all children from a view. But if some views don't support recycling, they'll keep a reference to their children. Children being recycled will cause an exception when being mounted. This diff removes the view from its parent when it is being recycled. This guarantees that whatever the parent, the view can be mounted after being recycled. bypass-github-export-checks Changelog: [Internal] Reviewed By: sammy-SC Differential Revision: D70672120 fbshipit-source-id: 023d8fb48982d6d9ae7f9c537f7f2bb21cf15066 |
||
|
|
a51fa6c002 |
Call RCTInitializeUIKitProxies before bridge create (#49776)
Summary: In bridge mode, we missed the call of `RCTInitializeUIKitProxies`, leading to UI API called on a background thread. bridgeless is ok because we call it when create host https://github.com/facebook/react-native/pull/49600 . ``` ================================================================= Main Thread Checker: UI API called on a background thread: -[UIApplication connectedScenes] PID: 91600, TID: 2326173, Thread name: com.facebook.react.JavaScript, Queue name: com.apple.root.default-qos.overcommit, QoS: 0 Backtrace: 4 React 0x000000010695c700 RCTKeyWindow + 84 5 React 0x0000000106942a44 -[RCTTraitCollectionProxy init] + 120 6 React 0x00000001069429ac __41+[RCTTraitCollectionProxy sharedInstance]_block_invoke + 36 7 libdispatch.dylib 0x0000000107bd65d0 _dispatch_client_callout + 16 8 libdispatch.dylib 0x0000000107bd8088 _dispatch_once_callout + 84 9 React 0x0000000106942960 +[RCTTraitCollectionProxy sharedInstance] + 88 10 CoreModules 0x000000010538c488 -[RCTPlatform getConstants] + 80 11 CoreModules 0x000000010538c42c -[RCTPlatform constantsToExport] + 32 12 React 0x00000001068f2440 -[RCTModuleData gatherConstantsAndSignalJSRequireEnding:] + 752 13 React 0x00000001068f26c4 -[RCTModuleData exportedConstants] + 40 14 React 0x00000001068fd6e8 _ZN8facebook5react15RCTNativeModule12getConstantsEv + 200 15 cxxreact 0x00000001090e55d0 _ZN8facebook5react14ModuleRegistry9getConfigERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 1280 16 jsireact 0x0000000108fb742c _ZN8facebook5react16JSINativeModules12createModuleERNS_3jsi7RuntimeERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE + 188 17 jsireact 0x0000000108fb7120 _ZN8facebook5react16JSINativeModules9getModuleERNS_3jsi7RuntimeERKNS2_10PropNameIDE + 332 18 jsireact 0x0000000108f9ff88 _ZN8facebook5react11JSIExecutor17NativeModuleProxy3getERNS_3jsi7RuntimeERKNS3_10PropNameIDE + 292 19 reacthermes 0x0000000109478644 _ZN8facebook3jsi19DecoratedHostObject3getERNS0_7RuntimeERKNS0_10PropNameIDE + 92 20 hermes 0x0000000109edb344 _ZN8facebook6hermes17HermesRuntimeImpl8JsiProxy3getEN6hermes2vm8SymbolIDE + 88 21 hermes 0x0000000109fc5590 _ZN6hermes2vm8JSObject27getComputedWithReceiver_RJSENS0_6HandleIS1_EERNS0_7RuntimeENS2_INS0_11HermesValueEEES7_ + 712 22 hermes 0x0000000109fb0e90 _ZN6hermes2vm11Interpreter17interpretFunctionILb0ELb0EEENS0_10CallResultINS0_11HermesValueELNS0_6detail20CallResultSpecializeE2EEERNS0_7RuntimeERNS0_16InterpreterStateE + 10024 23 hermes 0x0000000109fae734 _ZN6hermes2vm7Runtime21interpretFunctionImplEPNS0_9CodeBlockE + 132 24 hermes 0x0000000109fe92d8 _ZN6hermes2vm7Runtime11runBytecodeEONSt3__110shared_ptrINS_3hbc14BCProviderBaseEEENS0_18RuntimeModuleFlagsEN4llvh9StringRefENS0_6HandleINS0_11EnvironmentEEENSB_INS0_11HermesValueEEE + 1420 25 hermes 0x0000000109ecde7c _ZN8facebook6hermes17HermesRuntimeImpl26evaluatePreparedJavaScriptERKNSt3__110shared_ptrIKNS_3jsi18PreparedJavaScriptEEE + 220 26 hermes 0x0000000109ecdd04 _ZN8facebook6hermes17HermesRuntimeImpl31evaluateJavaScriptWithSourceMapERKNSt3__110shared_ptrIKNS_3jsi6BufferEEES9_RKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 116 27 hermes 0x0000000109ecec9c _ZN8facebook6hermes17HermesRuntimeImpl18evaluateJavaScriptERKNSt3__110shared_ptrIKNS_3jsi6BufferEEERKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 32 28 reacthermes 0x0000000109476514 _ZN8facebook3jsi16RuntimeDecoratorINS0_7RuntimeES2_E18evaluateJavaScriptERKNSt3__110shared_ptrIKNS0_6BufferEEERKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE + 64 29 reacthermes 0x00000001094736f4 _ZN8facebook3jsi20WithRuntimeDecoratorINS_5react12_G Main Thread Checker: UI API called on a background thread: -[UIApplication connectedScenes] PID: 91600, TID: 2326173, Thread name: com.facebook.react.JavaScript, Queue name: com.apple.root.default-qos.overcommit, QoS: 0 Backtrace: 4 React 0x000000010695c700 RCTKeyWindow + 84 5 React 0x0000000106942a44 -[RCTTraitCollectionProxy init] + 120 6 React 0x00000001069429ac __41+[RCTTraitCollectionProxy sharedInstance]_block_invoke + 36 7 libdispatch.dylib 0x0000000107bd65d0 _dispatch_client_callout + 16 8 libdispatch.dylib 0x0000000107bd8088 _dispatch_once_callout + 84 9 React 0x0000000106942960 +[RCTTraitCollectionProxy sharedInstance] + 88 10 CoreModules 0x000000010538c488 -[RCTPlatform getConstants] + 80 11 CoreModules 0x000000010538c42c -[RCTPlatform constantsToExport] + 32 12 React 0x00000001068f2440 -[RCTModuleData gatherConstantsAndSignalJSRequireEnding:] + 752 13 React 0x00000001068f26c4 -[RCTModuleData exportedConstants] + 40 14 React 0x00000001068fd6e8 _ZN8facebook5react15RCTNativeModule12getConstantsEv + 200 15 cxxreact 0x00000001090e55d0 _ZN8facebook5react14ModuleRegistry9getConfigERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 1280 16 jsireact 0x0000000108fb742c _ZN8facebook5react16JSINativeModules12createModuleERNS_3jsi7RuntimeERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE + 188 17 jsireact 0x0000000108fb7120 _ZN8facebook5react16JSINativeModules9getModuleERNS_3jsi7RuntimeERKNS2_10PropNameIDE + 332 18 jsireact 0x0000000108f9ff88 _ZN8facebook5react11JSIExecutor17NativeModuleProxy3getERNS_3jsi7RuntimeERKNS3_10PropNameIDE + 292 19 reacthermes 0x0000000109478644 _ZN8facebook3jsi19DecoratedHostObject3getERNS0_7RuntimeERKNS0_10PropNameIDE + 92 20 hermes 0x0000000109edb344 _ZN8facebook6hermes17HermesRuntimeImpl8JsiProxy3getEN6hermes2vm8SymbolIDE + 88 21 hermes 0x0000000109fc5590 _ZN6hermes2vm8JSObject27getComputedWithReceiver_RJSENS0_6HandleIS1_EERNS0_7RuntimeENS2_INS0_11HermesValueEEES7_ + 712 22 hermes 0x0000000109fb0e90 _ZN6hermes2vm11Interpreter17interpretFunctionILb0ELb0EEENS0_10CallResultINS0_11HermesValueELNS0_6detail20CallResultSpecializeE2EEERNS0_7RuntimeERNS0_16InterpreterStateE + 10024 23 hermes 0x0000000109fae734 _ZN6hermes2vm7Runtime21interpretFunctionImplEPNS0_9CodeBlockE + 132 24 hermes 0x0000000109fe92d8 _ZN6hermes2vm7Runtime11runBytecodeEONSt3__110shared_ptrINS_3hbc14BCProviderBaseEEENS0_18RuntimeModuleFlagsEN4llvh9StringRefENS0_6HandleINS0_11EnvironmentEEENSB_INS0_11HermesValueEEE + 1420 25 hermes 0x0000000109ecde7c _ZN8facebook6hermes17HermesRuntimeImpl26evaluatePreparedJavaScriptERKNSt3__110shared_ptrIKNS_3jsi18PreparedJavaScriptEEE + 220 26 hermes 0x0000000109ecdd04 _ZN8facebook6hermes17HermesRuntimeImpl31evaluateJavaScriptWithSourceMapERKNSt3__110shared_ptrIKNS_3jsi6BufferEEES9_RKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 116 27 hermes 0x0000000109ecec9c _ZN8facebook6hermes17HermesRuntimeImpl18evaluateJavaScriptERKNSt3__110shared_ptrIKNS_3jsi6BufferEEERKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 32 28 reacthermes 0x0000000109476514 _ZN8facebook3jsi16RuntimeDecoratorINS0_7RuntimeES2_E18evaluateJavaScriptERKNSt3__110shared_ptrIKNS0_6BufferEEERKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE + 64 29 reacthermes 0x00000001094736f4 _ZN8facebook3jsi20WithRuntimeDecoratorINS_5react12_G ================================================================= Main Thread Checker: UI API called on a background thread: -[UIScene activationState] PID: 91600, TID: 2326173, Thread name: com.facebook.react.JavaScript, Queue name: com.apple.root.default-qos.overcommit, QoS: 0 Backtrace: 4 React 0x000000010695c808 RCTKeyWindow + 348 5 React 0x0000000106942a44 -[RCTTraitCollectionProxy init] + 120 6 React 0x00000001069429ac __41+[RCTTraitCollectionProxy sharedInstance]_block_invoke + 36 7 libdispatch.dylib 0x0000000107bd65d0 _dispatch_client_callout + 16 8 libdispatch.dylib 0x0000000107bd8088 _dispatch_once_callout + 84 9 React 0x0000000106942960 +[RCTTraitCollectionProxy sharedInstance] + 88 10 CoreModules 0x000000010538c488 -[RCTPlatform getConstants] + 80 11 CoreModules 0x000000010538c42c -[RCTPlatform constantsToExport] + 32 12 React 0x00000001068f2440 -[RCTModuleData gatherConstantsAndSignalJSRequireEnding:] + 752 13 React 0x00000001068f26c4 -[RCTModuleData exportedConstants] + 40 14 React 0x00000001068fd6e8 _ZN8facebook5react15RCTNativeModule12getConstantsEv + 200 15 cxxreact 0x00000001090e55d0 _ZN8facebook5react14ModuleRegistry9getConfigERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 1280 16 jsireact 0x0000000108fb742c _ZN8facebook5react16JSINativeModules12createModuleERNS_3jsi7RuntimeERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE + 188 17 jsireact 0x0000000108fb7120 _ZN8facebook5react16JSINativeModules9getModuleERNS_3jsi7RuntimeERKNS2_10PropNameIDE + 332 18 jsireact 0x0000000108f9ff88 _ZN8facebook5react11JSIExecutor17NativeModuleProxy3getERNS_3jsi7RuntimeERKNS3_10PropNameIDE + 292 19 reacthermes 0x0000000109478644 _ZN8facebook3jsi19DecoratedHostObject3getERNS0_7RuntimeERKNS0_10PropNameIDE + 92 20 hermes 0x0000000109edb344 _ZN8facebook6hermes17HermesRuntimeImpl8JsiProxy3getEN6hermes2vm8SymbolIDE + 88 21 hermes 0x0000000109fc5590 _ZN6hermes2vm8JSObject27getComputedWithReceiver_RJSENS0_6HandleIS1_EERNS0_7RuntimeENS2_INS0_11HermesValueEEES7_ + 712 22 hermes 0x0000000109fb0e90 _ZN6hermes2vm11Interpreter17interpretFunctionILb0ELb0EEENS0_10CallResultINS0_11HermesValueELNS0_6detail20CallResultSpecializeE2EEERNS0_7RuntimeERNS0_16InterpreterStateE + 10024 23 hermes 0x0000000109fae734 _ZN6hermes2vm7Runtime21interpretFunctionImplEPNS0_9CodeBlockE + 132 24 hermes 0x0000000109fe92d8 _ZN6hermes2vm7Runtime11runBytecodeEONSt3__110shared_ptrINS_3hbc14BCProviderBaseEEENS0_18RuntimeModuleFlagsEN4llvh9StringRefENS0_6HandleINS0_11EnvironmentEEENSB_INS0_11HermesValueEEE + 1420 25 hermes 0x0000000109ecde7c _ZN8facebook6hermes17HermesRuntimeImpl26evaluatePreparedJavaScriptERKNSt3__110shared_ptrIKNS_3jsi18PreparedJavaScriptEEE + 220 26 hermes 0x0000000109ecdd04 _ZN8facebook6hermes17HermesRuntimeImpl31evaluateJavaScriptWithSourceMapERKNSt3__110shared_ptrIKNS_3jsi6BufferEEES9_RKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 116 27 hermes 0x0000000109ecec9c _ZN8facebook6hermes17HermesRuntimeImpl18evaluateJavaScriptERKNSt3__110shared_ptrIKNS_3jsi6BufferEEERKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 32 28 reacthermes 0x0000000109476514 _ZN8facebook3jsi16RuntimeDecoratorINS0_7RuntimeES2_E18evaluateJavaScriptERKNSt3__110shared_ptrIKNS0_6BufferEEERKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE + 64 29 reacthermes 0x00000001094736f4 _ZN8facebook3jsi20WithRuntimeDecoratorINS_5react12_GLOBAL Main Thread Checker: UI API called on a background thread: -[UIScene activationState] PID: 91600, TID: 2326173, Thread name: com.facebook.react.JavaScript, Queue name: com.apple.root.default-qos.overcommit, QoS: 0 Backtrace: 4 React 0x000000010695c808 RCTKeyWindow + 348 5 React 0x0000000106942a44 -[RCTTraitCollectionProxy init] + 120 6 React 0x00000001069429ac __41+[RCTTraitCollectionProxy sharedInstance]_block_invoke + 36 7 libdispatch.dylib 0x0000000107bd65d0 _dispatch_client_callout + 16 8 libdispatch.dylib 0x0000000107bd8088 _dispatch_once_callout + 84 9 React 0x0000000106942960 +[RCTTraitCollectionProxy sharedInstance] + 88 10 CoreModules 0x000000010538c488 -[RCTPlatform getConstants] + 80 11 CoreModules 0x000000010538c42c -[RCTPlatform constantsToExport] + 32 12 React 0x00000001068f2440 -[RCTModuleData gatherConstantsAndSignalJSRequireEnding:] + 752 13 React 0x00000001068f26c4 -[RCTModuleData exportedConstants] + 40 14 React 0x00000001068fd6e8 _ZN8facebook5react15RCTNativeModule12getConstantsEv + 200 15 cxxreact 0x00000001090e55d0 _ZN8facebook5react14ModuleRegistry9getConfigERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 1280 16 jsireact 0x0000000108fb742c _ZN8facebook5react16JSINativeModules12createModuleERNS_3jsi7RuntimeERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE + 188 17 jsireact 0x0000000108fb7120 _ZN8facebook5react16JSINativeModules9getModuleERNS_3jsi7RuntimeERKNS2_10PropNameIDE + 332 18 jsireact 0x0000000108f9ff88 _ZN8facebook5react11JSIExecutor17NativeModuleProxy3getERNS_3jsi7RuntimeERKNS3_10PropNameIDE + 292 19 reacthermes 0x0000000109478644 _ZN8facebook3jsi19DecoratedHostObject3getERNS0_7RuntimeERKNS0_10PropNameIDE + 92 20 hermes 0x0000000109edb344 _ZN8facebook6hermes17HermesRuntimeImpl8JsiProxy3getEN6hermes2vm8SymbolIDE + 88 21 hermes 0x0000000109fc5590 _ZN6hermes2vm8JSObject27getComputedWithReceiver_RJSENS0_6HandleIS1_EERNS0_7RuntimeENS2_INS0_11HermesValueEEES7_ + 712 22 hermes 0x0000000109fb0e90 _ZN6hermes2vm11Interpreter17interpretFunctionILb0ELb0EEENS0_10CallResultINS0_11HermesValueELNS0_6detail20CallResultSpecializeE2EEERNS0_7RuntimeERNS0_16InterpreterStateE + 10024 23 hermes 0x0000000109fae734 _ZN6hermes2vm7Runtime21interpretFunctionImplEPNS0_9CodeBlockE + 132 24 hermes 0x0000000109fe92d8 _ZN6hermes2vm7Runtime11runBytecodeEONSt3__110shared_ptrINS_3hbc14BCProviderBaseEEENS0_18RuntimeModuleFlagsEN4llvh9StringRefENS0_6HandleINS0_11EnvironmentEEENSB_INS0_11HermesValueEEE + 1420 25 hermes 0x0000000109ecde7c _ZN8facebook6hermes17HermesRuntimeImpl26evaluatePreparedJavaScriptERKNSt3__110shared_ptrIKNS_3jsi18PreparedJavaScriptEEE + 220 26 hermes 0x0000000109ecdd04 _ZN8facebook6hermes17HermesRuntimeImpl31evaluateJavaScriptWithSourceMapERKNSt3__110shared_ptrIKNS_3jsi6BufferEEES9_RKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 116 27 hermes 0x0000000109ecec9c _ZN8facebook6hermes17HermesRuntimeImpl18evaluateJavaScriptERKNSt3__110shared_ptrIKNS_3jsi6BufferEEERKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 32 28 reacthermes 0x0000000109476514 _ZN8facebook3jsi16RuntimeDecoratorINS0_7RuntimeES2_E18evaluateJavaScriptERKNSt3__110shared_ptrIKNS0_6BufferEEERKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE + 64 29 reacthermes 0x00000001094736f4 _ZN8facebook3jsi20WithRuntimeDecoratorINS_5react12_GLOBAL ================================================================= Main Thread Checker: UI API called on a background thread: -[UIWindowScene keyWindow] PID: 91600, TID: 2326173, Thread name: com.facebook.react.JavaScript, Queue name: com.apple.root.default-qos.overcommit, QoS: 0 Backtrace: 4 React 0x000000010695c968 RCTKeyWindow + 700 5 React 0x0000000106942a44 -[RCTTraitCollectionProxy init] + 120 6 React 0x00000001069429ac __41+[RCTTraitCollectionProxy sharedInstance]_block_invoke + 36 7 libdispatch.dylib 0x0000000107bd65d0 _dispatch_client_callout + 16 8 libdispatch.dylib 0x0000000107bd8088 _dispatch_once_callout + 84 9 React 0x0000000106942960 +[RCTTraitCollectionProxy sharedInstance] + 88 10 CoreModules 0x000000010538c488 -[RCTPlatform getConstants] + 80 11 CoreModules 0x000000010538c42c -[RCTPlatform constantsToExport] + 32 12 React 0x00000001068f2440 -[RCTModuleData gatherConstantsAndSignalJSRequireEnding:] + 752 13 React 0x00000001068f26c4 -[RCTModuleData exportedConstants] + 40 14 React 0x00000001068fd6e8 _ZN8facebook5react15RCTNativeModule12getConstantsEv + 200 15 cxxreact 0x00000001090e55d0 _ZN8facebook5react14ModuleRegistry9getConfigERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 1280 16 jsireact 0x0000000108fb742c _ZN8facebook5react16JSINativeModules12createModuleERNS_3jsi7RuntimeERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE + 188 17 jsireact 0x0000000108fb7120 _ZN8facebook5react16JSINativeModules9getModuleERNS_3jsi7RuntimeERKNS2_10PropNameIDE + 332 18 jsireact 0x0000000108f9ff88 _ZN8facebook5react11JSIExecutor17NativeModuleProxy3getERNS_3jsi7RuntimeERKNS3_10PropNameIDE + 292 19 reacthermes 0x0000000109478644 _ZN8facebook3jsi19DecoratedHostObject3getERNS0_7RuntimeERKNS0_10PropNameIDE + 92 20 hermes 0x0000000109edb344 _ZN8facebook6hermes17HermesRuntimeImpl8JsiProxy3getEN6hermes2vm8SymbolIDE + 88 21 hermes 0x0000000109fc5590 _ZN6hermes2vm8JSObject27getComputedWithReceiver_RJSENS0_6HandleIS1_EERNS0_7RuntimeENS2_INS0_11HermesValueEEES7_ + 712 22 hermes 0x0000000109fb0e90 _ZN6hermes2vm11Interpreter17interpretFunctionILb0ELb0EEENS0_10CallResultINS0_11HermesValueELNS0_6detail20CallResultSpecializeE2EEERNS0_7RuntimeERNS0_16InterpreterStateE + 10024 23 hermes 0x0000000109fae734 _ZN6hermes2vm7Runtime21interpretFunctionImplEPNS0_9CodeBlockE + 132 24 hermes 0x0000000109fe92d8 _ZN6hermes2vm7Runtime11runBytecodeEONSt3__110shared_ptrINS_3hbc14BCProviderBaseEEENS0_18RuntimeModuleFlagsEN4llvh9StringRefENS0_6HandleINS0_11EnvironmentEEENSB_INS0_11HermesValueEEE + 1420 25 hermes 0x0000000109ecde7c _ZN8facebook6hermes17HermesRuntimeImpl26evaluatePreparedJavaScriptERKNSt3__110shared_ptrIKNS_3jsi18PreparedJavaScriptEEE + 220 26 hermes 0x0000000109ecdd04 _ZN8facebook6hermes17HermesRuntimeImpl31evaluateJavaScriptWithSourceMapERKNSt3__110shared_ptrIKNS_3jsi6BufferEEES9_RKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 116 27 hermes 0x0000000109ecec9c _ZN8facebook6hermes17HermesRuntimeImpl18evaluateJavaScriptERKNSt3__110shared_ptrIKNS_3jsi6BufferEEERKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 32 28 reacthermes 0x0000000109476514 _ZN8facebook3jsi16RuntimeDecoratorINS0_7RuntimeES2_E18evaluateJavaScriptERKNSt3__110shared_ptrIKNS0_6BufferEEERKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE + 64 29 reacthermes 0x00000001094736f4 _ZN8facebook3jsi20WithRuntimeDecoratorINS_5react12_GLOBAL Main Thread Checker: UI API called on a background thread: -[UIWindowScene keyWindow] PID: 91600, TID: 2326173, Thread name: com.facebook.react.JavaScript, Queue name: com.apple.root.default-qos.overcommit, QoS: 0 Backtrace: 4 React 0x000000010695c968 RCTKeyWindow + 700 5 React 0x0000000106942a44 -[RCTTraitCollectionProxy init] + 120 6 React 0x00000001069429ac __41+[RCTTraitCollectionProxy sharedInstance]_block_invoke + 36 7 libdispatch.dylib 0x0000000107bd65d0 _dispatch_client_callout + 16 8 libdispatch.dylib 0x0000000107bd8088 _dispatch_once_callout + 84 9 React 0x0000000106942960 +[RCTTraitCollectionProxy sharedInstance] + 88 10 CoreModules 0x000000010538c488 -[RCTPlatform getConstants] + 80 11 CoreModules 0x000000010538c42c -[RCTPlatform constantsToExport] + 32 12 React 0x00000001068f2440 -[RCTModuleData gatherConstantsAndSignalJSRequireEnding:] + 752 13 React 0x00000001068f26c4 -[RCTModuleData exportedConstants] + 40 14 React 0x00000001068fd6e8 _ZN8facebook5react15RCTNativeModule12getConstantsEv + 200 15 cxxreact 0x00000001090e55d0 _ZN8facebook5react14ModuleRegistry9getConfigERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 1280 16 jsireact 0x0000000108fb742c _ZN8facebook5react16JSINativeModules12createModuleERNS_3jsi7RuntimeERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE + 188 17 jsireact 0x0000000108fb7120 _ZN8facebook5react16JSINativeModules9getModuleERNS_3jsi7RuntimeERKNS2_10PropNameIDE + 332 18 jsireact 0x0000000108f9ff88 _ZN8facebook5react11JSIExecutor17NativeModuleProxy3getERNS_3jsi7RuntimeERKNS3_10PropNameIDE + 292 19 reacthermes 0x0000000109478644 _ZN8facebook3jsi19DecoratedHostObject3getERNS0_7RuntimeERKNS0_10PropNameIDE + 92 20 hermes 0x0000000109edb344 _ZN8facebook6hermes17HermesRuntimeImpl8JsiProxy3getEN6hermes2vm8SymbolIDE + 88 21 hermes 0x0000000109fc5590 _ZN6hermes2vm8JSObject27getComputedWithReceiver_RJSENS0_6HandleIS1_EERNS0_7RuntimeENS2_INS0_11HermesValueEEES7_ + 712 22 hermes 0x0000000109fb0e90 _ZN6hermes2vm11Interpreter17interpretFunctionILb0ELb0EEENS0_10CallResultINS0_11HermesValueELNS0_6detail20CallResultSpecializeE2EEERNS0_7RuntimeERNS0_16InterpreterStateE + 10024 23 hermes 0x0000000109fae734 _ZN6hermes2vm7Runtime21interpretFunctionImplEPNS0_9CodeBlockE + 132 24 hermes 0x0000000109fe92d8 _ZN6hermes2vm7Runtime11runBytecodeEONSt3__110shared_ptrINS_3hbc14BCProviderBaseEEENS0_18RuntimeModuleFlagsEN4llvh9StringRefENS0_6HandleINS0_11EnvironmentEEENSB_INS0_11HermesValueEEE + 1420 25 hermes 0x0000000109ecde7c _ZN8facebook6hermes17HermesRuntimeImpl26evaluatePreparedJavaScriptERKNSt3__110shared_ptrIKNS_3jsi18PreparedJavaScriptEEE + 220 26 hermes 0x0000000109ecdd04 _ZN8facebook6hermes17HermesRuntimeImpl31evaluateJavaScriptWithSourceMapERKNSt3__110shared_ptrIKNS_3jsi6BufferEEES9_RKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 116 27 hermes 0x0000000109ecec9c _ZN8facebook6hermes17HermesRuntimeImpl18evaluateJavaScriptERKNSt3__110shared_ptrIKNS_3jsi6BufferEEERKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 32 28 reacthermes 0x0000000109476514 _ZN8facebook3jsi16RuntimeDecoratorINS0_7RuntimeES2_E18evaluateJavaScriptERKNSt3__110shared_ptrIKNS0_6BufferEEERKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE + 64 29 reacthermes 0x00000001094736f4 _ZN8facebook3jsi20WithRuntimeDecoratorINS_5react12_GLOBAL ================================================================= Main Thread Checker: UI API called on a background thread: -[UIWindow traitCollection] PID: 91600, TID: 2326173, Thread name: com.facebook.react.JavaScript, Queue name: com.apple.root.default-qos.overcommit, QoS: 0 Backtrace: 4 React 0x0000000106942a64 -[RCTTraitCollectionProxy init] + 152 5 React 0x00000001069429ac __41+[RCTTraitCollectionProxy sharedInstance]_block_invoke + 36 6 libdispatch.dylib 0x0000000107bd65d0 _dispatch_client_callout + 16 7 libdispatch.dylib 0x0000000107bd8088 _dispatch_once_callout + 84 8 React 0x0000000106942960 +[RCTTraitCollectionProxy sharedInstance] + 88 9 CoreModules 0x000000010538c488 -[RCTPlatform getConstants] + 80 10 CoreModules 0x000000010538c42c -[RCTPlatform constantsToExport] + 32 11 React 0x00000001068f2440 -[RCTModuleData gatherConstantsAndSignalJSRequireEnding:] + 752 12 React 0x00000001068f26c4 -[RCTModuleData exportedConstants] + 40 13 React 0x00000001068fd6e8 _ZN8facebook5react15RCTNativeModule12getConstantsEv + 200 14 cxxreact 0x00000001090e55d0 _ZN8facebook5react14ModuleRegistry9getConfigERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 1280 15 jsireact 0x0000000108fb742c _ZN8facebook5react16JSINativeModules12createModuleERNS_3jsi7RuntimeERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE + 188 16 jsireact 0x0000000108fb7120 _ZN8facebook5react16JSINativeModules9getModuleERNS_3jsi7RuntimeERKNS2_10PropNameIDE + 332 17 jsireact 0x0000000108f9ff88 _ZN8facebook5react11JSIExecutor17NativeModuleProxy3getERNS_3jsi7RuntimeERKNS3_10PropNameIDE + 292 18 reacthermes 0x0000000109478644 _ZN8facebook3jsi19DecoratedHostObject3getERNS0_7RuntimeERKNS0_10PropNameIDE + 92 19 hermes 0x0000000109edb344 _ZN8facebook6hermes17HermesRuntimeImpl8JsiProxy3getEN6hermes2vm8SymbolIDE + 88 20 hermes 0x0000000109fc5590 _ZN6hermes2vm8JSObject27getComputedWithReceiver_RJSENS0_6HandleIS1_EERNS0_7RuntimeENS2_INS0_11HermesValueEEES7_ + 712 21 hermes 0x0000000109fb0e90 _ZN6hermes2vm11Interpreter17interpretFunctionILb0ELb0EEENS0_10CallResultINS0_11HermesValueELNS0_6detail20CallResultSpecializeE2EEERNS0_7RuntimeERNS0_16InterpreterStateE + 10024 22 hermes 0x0000000109fae734 _ZN6hermes2vm7Runtime21interpretFunctionImplEPNS0_9CodeBlockE + 132 23 hermes 0x0000000109fe92d8 _ZN6hermes2vm7Runtime11runBytecodeEONSt3__110shared_ptrINS_3hbc14BCProviderBaseEEENS0_18RuntimeModuleFlagsEN4llvh9StringRefENS0_6HandleINS0_11EnvironmentEEENSB_INS0_11HermesValueEEE + 1420 24 hermes 0x0000000109ecde7c _ZN8facebook6hermes17HermesRuntimeImpl26evaluatePreparedJavaScriptERKNSt3__110shared_ptrIKNS_3jsi18PreparedJavaScriptEEE + 220 25 hermes 0x0000000109ecdd04 _ZN8facebook6hermes17HermesRuntimeImpl31evaluateJavaScriptWithSourceMapERKNSt3__110shared_ptrIKNS_3jsi6BufferEEES9_RKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 116 26 hermes 0x0000000109ecec9c _ZN8facebook6hermes17HermesRuntimeImpl18evaluateJavaScriptERKNSt3__110shared_ptrIKNS_3jsi6BufferEEERKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 32 27 reacthermes 0x0000000109476514 _ZN8facebook3jsi16RuntimeDecoratorINS0_7RuntimeES2_E18evaluateJavaScriptERKNSt3__110shared_ptrIKNS0_6BufferEEERKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE + 64 28 reacthermes 0x00000001094736f4 _ZN8facebook3jsi20WithRuntimeDecoratorINS_5react12_GLOBAL__N_115ReentrancyCheckENS0_7RuntimeES5_E18evaluateJavaScriptERKNSt3__110share Main Thread Checker: UI API called on a background thread: -[UIWindow traitCollection] PID: 91600, TID: 2326173, Thread name: com.facebook.react.JavaScript, Queue name: com.apple.root.default-qos.overcommit, QoS: 0 Backtrace: 4 React 0x0000000106942a64 -[RCTTraitCollectionProxy init] + 152 5 React 0x00000001069429ac __41+[RCTTraitCollectionProxy sharedInstance]_block_invoke + 36 6 libdispatch.dylib 0x0000000107bd65d0 _dispatch_client_callout + 16 7 libdispatch.dylib 0x0000000107bd8088 _dispatch_once_callout + 84 8 React 0x0000000106942960 +[RCTTraitCollectionProxy sharedInstance] + 88 9 CoreModules 0x000000010538c488 -[RCTPlatform getConstants] + 80 10 CoreModules 0x000000010538c42c -[RCTPlatform constantsToExport] + 32 11 React 0x00000001068f2440 -[RCTModuleData gatherConstantsAndSignalJSRequireEnding:] + 752 12 React 0x00000001068f26c4 -[RCTModuleData exportedConstants] + 40 13 React 0x00000001068fd6e8 _ZN8facebook5react15RCTNativeModule12getConstantsEv + 200 14 cxxreact 0x00000001090e55d0 _ZN8facebook5react14ModuleRegistry9getConfigERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 1280 15 jsireact 0x0000000108fb742c _ZN8facebook5react16JSINativeModules12createModuleERNS_3jsi7RuntimeERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE + 188 16 jsireact 0x0000000108fb7120 _ZN8facebook5react16JSINativeModules9getModuleERNS_3jsi7RuntimeERKNS2_10PropNameIDE + 332 17 jsireact 0x0000000108f9ff88 _ZN8facebook5react11JSIExecutor17NativeModuleProxy3getERNS_3jsi7RuntimeERKNS3_10PropNameIDE + 292 18 reacthermes 0x0000000109478644 _ZN8facebook3jsi19DecoratedHostObject3getERNS0_7RuntimeERKNS0_10PropNameIDE + 92 19 hermes 0x0000000109edb344 _ZN8facebook6hermes17HermesRuntimeImpl8JsiProxy3getEN6hermes2vm8SymbolIDE + 88 20 hermes 0x0000000109fc5590 _ZN6hermes2vm8JSObject27getComputedWithReceiver_RJSENS0_6HandleIS1_EERNS0_7RuntimeENS2_INS0_11HermesValueEEES7_ + 712 21 hermes 0x0000000109fb0e90 _ZN6hermes2vm11Interpreter17interpretFunctionILb0ELb0EEENS0_10CallResultINS0_11HermesValueELNS0_6detail20CallResultSpecializeE2EEERNS0_7RuntimeERNS0_16InterpreterStateE + 10024 22 hermes 0x0000000109fae734 _ZN6hermes2vm7Runtime21interpretFunctionImplEPNS0_9CodeBlockE + 132 23 hermes 0x0000000109fe92d8 _ZN6hermes2vm7Runtime11runBytecodeEONSt3__110shared_ptrINS_3hbc14BCProviderBaseEEENS0_18RuntimeModuleFlagsEN4llvh9StringRefENS0_6HandleINS0_11EnvironmentEEENSB_INS0_11HermesValueEEE + 1420 24 hermes 0x0000000109ecde7c _ZN8facebook6hermes17HermesRuntimeImpl26evaluatePreparedJavaScriptERKNSt3__110shared_ptrIKNS_3jsi18PreparedJavaScriptEEE + 220 25 hermes 0x0000000109ecdd04 _ZN8facebook6hermes17HermesRuntimeImpl31evaluateJavaScriptWithSourceMapERKNSt3__110shared_ptrIKNS_3jsi6BufferEEES9_RKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 116 26 hermes 0x0000000109ecec9c _ZN8facebook6hermes17HermesRuntimeImpl18evaluateJavaScriptERKNSt3__110shared_ptrIKNS_3jsi6BufferEEERKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 32 27 reacthermes 0x0000000109476514 _ZN8facebook3jsi16RuntimeDecoratorINS0_7RuntimeES2_E18evaluateJavaScriptERKNSt3__110shared_ptrIKNS0_6BufferEEERKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE + 64 28 reacthermes 0x00000001094736f4 _ZN8facebook3jsi20WithRuntimeDecoratorINS_5react12_GLOBAL__N_115ReentrancyCheckENS0_7RuntimeES5_E18evaluateJavaScriptERKNSt3__110share ================================================================= Main Thread Checker: UI API called on a background thread: -[UIView bounds] PID: 91600, TID: 2326173, Thread name: com.facebook.react.JavaScript, Queue name: com.apple.root.default-qos.overcommit, QoS: 0 Backtrace: 4 React 0x00000001068dc7bc -[RCTKeyWindowValuesProxy init] + 196 5 React 0x00000001068dc6d8 __41+[RCTKeyWindowValuesProxy sharedInstance]_block_invoke + 36 6 libdispatch.dylib 0x0000000107bd65d0 _dispatch_client_callout + 16 7 libdispatch.dylib 0x0000000107bd8088 _dispatch_once_callout + 84 8 React 0x00000001068dc68c +[RCTKeyWindowValuesProxy sharedInstance] + 88 9 CoreModules 0x0000000105369ce8 -[RCTDeviceInfo init] + 124 10 React 0x00000001068ef440 __115-[RCTModuleData initWithModuleClass:bridge:moduleRegistry:viewRegistry_DEPRECATED:bundleManager:callableJSModules:]_block_invoke + 36 11 React 0x00000001068efca4 -[RCTModuleData setUpInstanceAndBridge:] + 1440 12 React 0x00000001068f1e40 -[RCTModuleData instance] + 1168 13 React 0x00000001068f2300 -[RCTModuleData gatherConstantsAndSignalJSRequireEnding:] + 432 14 React 0x00000001068f26c4 -[RCTModuleData exportedConstants] + 40 15 React 0x00000001068fd6e8 _ZN8facebook5react15RCTNativeModule12getConstantsEv + 200 16 cxxreact 0x00000001090e55d0 _ZN8facebook5react14ModuleRegistry9getConfigERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 1280 17 jsireact 0x0000000108fb742c _ZN8facebook5react16JSINativeModules12createModuleERNS_3jsi7RuntimeERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE + 188 18 jsireact 0x0000000108fb7120 _ZN8facebook5react16JSINativeModules9getModuleERNS_3jsi7RuntimeERKNS2_10PropNameIDE + 332 19 jsireact 0x0000000108f9ff88 _ZN8facebook5react11JSIExecutor17NativeModuleProxy3getERNS_3jsi7RuntimeERKNS3_10PropNameIDE + 292 20 reacthermes 0x0000000109478644 _ZN8facebook3jsi19DecoratedHostObject3getERNS0_7RuntimeERKNS0_10PropNameIDE + 92 21 hermes 0x0000000109edb344 _ZN8facebook6hermes17HermesRuntimeImpl8JsiProxy3getEN6hermes2vm8SymbolIDE + 88 22 hermes 0x0000000109fc5590 _ZN6hermes2vm8JSObject27getComputedWithReceiver_RJSENS0_6HandleIS1_EERNS0_7RuntimeENS2_INS0_11HermesValueEEES7_ + 712 23 hermes 0x0000000109fb0e90 _ZN6hermes2vm11Interpreter17interpretFunctionILb0ELb0EEENS0_10CallResultINS0_11HermesValueELNS0_6detail20CallResultSpecializeE2EEERNS0_7RuntimeERNS0_16InterpreterStateE + 10024 24 hermes 0x0000000109fae734 _ZN6hermes2vm7Runtime21interpretFunctionImplEPNS0_9CodeBlockE + 132 25 hermes 0x0000000109fe92d8 _ZN6hermes2vm7Runtime11runBytecodeEONSt3__110shared_ptrINS_3hbc14BCProviderBaseEEENS0_18RuntimeModuleFlagsEN4llvh9StringRefENS0_6HandleINS0_11EnvironmentEEENSB_INS0_11HermesValueEEE + 1420 26 hermes 0x0000000109ecde7c _ZN8facebook6hermes17HermesRuntimeImpl26evaluatePreparedJavaScriptERKNSt3__110shared_ptrIKNS_3jsi18PreparedJavaScriptEEE + 220 27 hermes 0x0000000109ecdd04 _ZN8facebook6hermes17HermesRuntimeImpl31evaluateJavaScriptWithSourceMapERKNSt3__110shared_ptrIKNS_3jsi6BufferEEES9_RKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 116 28 hermes 0x0000000109ecec9c _ZN8facebook6hermes17HermesRuntimeImpl18evaluateJavaScriptERKNSt3__110shared_ptrIKNS_3jsi6BufferEEERKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 32 29 reacthermes 0x0000000109476514 _ZN8facebook3jsi16RuntimeDecoratorINS0_7RuntimeES2_E18evaluateJavaScriptERKNSt3__110shar Main Thread Checker: UI API called on a background thread: -[UIView bounds] PID: 91600, TID: 2326173, Thread name: com.facebook.react.JavaScript, Queue name: com.apple.root.default-qos.overcommit, QoS: 0 Backtrace: 4 React 0x00000001068dc7bc -[RCTKeyWindowValuesProxy init] + 196 5 React 0x00000001068dc6d8 __41+[RCTKeyWindowValuesProxy sharedInstance]_block_invoke + 36 6 libdispatch.dylib 0x0000000107bd65d0 _dispatch_client_callout + 16 7 libdispatch.dylib 0x0000000107bd8088 _dispatch_once_callout + 84 8 React 0x00000001068dc68c +[RCTKeyWindowValuesProxy sharedInstance] + 88 9 CoreModules 0x0000000105369ce8 -[RCTDeviceInfo init] + 124 10 React 0x00000001068ef440 __115-[RCTModuleData initWithModuleClass:bridge:moduleRegistry:viewRegistry_DEPRECATED:bundleManager:callableJSModules:]_block_invoke + 36 11 React 0x00000001068efca4 -[RCTModuleData setUpInstanceAndBridge:] + 1440 12 React 0x00000001068f1e40 -[RCTModuleData instance] + 1168 13 React 0x00000001068f2300 -[RCTModuleData gatherConstantsAndSignalJSRequireEnding:] + 432 14 React 0x00000001068f26c4 -[RCTModuleData exportedConstants] + 40 15 React 0x00000001068fd6e8 _ZN8facebook5react15RCTNativeModule12getConstantsEv + 200 16 cxxreact 0x00000001090e55d0 _ZN8facebook5react14ModuleRegistry9getConfigERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 1280 17 jsireact 0x0000000108fb742c _ZN8facebook5react16JSINativeModules12createModuleERNS_3jsi7RuntimeERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEE + 188 18 jsireact 0x0000000108fb7120 _ZN8facebook5react16JSINativeModules9getModuleERNS_3jsi7RuntimeERKNS2_10PropNameIDE + 332 19 jsireact 0x0000000108f9ff88 _ZN8facebook5react11JSIExecutor17NativeModuleProxy3getERNS_3jsi7RuntimeERKNS3_10PropNameIDE + 292 20 reacthermes 0x0000000109478644 _ZN8facebook3jsi19DecoratedHostObject3getERNS0_7RuntimeERKNS0_10PropNameIDE + 92 21 hermes 0x0000000109edb344 _ZN8facebook6hermes17HermesRuntimeImpl8JsiProxy3getEN6hermes2vm8SymbolIDE + 88 22 hermes 0x0000000109fc5590 _ZN6hermes2vm8JSObject27getComputedWithReceiver_RJSENS0_6HandleIS1_EERNS0_7RuntimeENS2_INS0_11HermesValueEEES7_ + 712 23 hermes 0x0000000109fb0e90 _ZN6hermes2vm11Interpreter17interpretFunctionILb0ELb0EEENS0_10CallResultINS0_11HermesValueELNS0_6detail20CallResultSpecializeE2EEERNS0_7RuntimeERNS0_16InterpreterStateE + 10024 24 hermes 0x0000000109fae734 _ZN6hermes2vm7Runtime21interpretFunctionImplEPNS0_9CodeBlockE + 132 25 hermes 0x0000000109fe92d8 _ZN6hermes2vm7Runtime11runBytecodeEONSt3__110shared_ptrINS_3hbc14BCProviderBaseEEENS0_18RuntimeModuleFlagsEN4llvh9StringRefENS0_6HandleINS0_11EnvironmentEEENSB_INS0_11HermesValueEEE + 1420 26 hermes 0x0000000109ecde7c _ZN8facebook6hermes17HermesRuntimeImpl26evaluatePreparedJavaScriptERKNSt3__110shared_ptrIKNS_3jsi18PreparedJavaScriptEEE + 220 27 hermes 0x0000000109ecdd04 _ZN8facebook6hermes17HermesRuntimeImpl31evaluateJavaScriptWithSourceMapERKNSt3__110shared_ptrIKNS_3jsi6BufferEEES9_RKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 116 28 hermes 0x0000000109ecec9c _ZN8facebook6hermes17HermesRuntimeImpl18evaluateJavaScriptERKNSt3__110shared_ptrIKNS_3jsi6BufferEEERKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 32 29 reacthermes 0x0000000109476514 ``` ## Changelog: [IOS] [FIXED] - Call RCTInitializeUIKitProxies before bridge create Pull Request resolved: https://github.com/facebook/react-native/pull/49776 Test Plan: Run RNTester in bridge mode. no UI main thread checker issue. 1. Test Headset pairing through Twilight app. 2. Test going to Horizon Worlds |pictures of successful pairing| going into Horizon world| |{F1975774792}{F1975774799}|{F1975774801} Reviewed By: cipolleschi Differential Revision: D70557608 Pulled By: sammy-SC fbshipit-source-id: 2cbc09e126dc6f942a63b966ff32ff5801a24ec3 |
||
|
|
900b625ee9 |
Bootstrap Fusebox NetworkReporter API (#49837)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49837 Bootstraps the `NetworkReporter` API and `jsinspector_network` library. This will form the common C++ logic for Network Inspection in React Native DevTools. Changelog: [Internal] Reviewed By: hoxyq Differential Revision: D70554862 fbshipit-source-id: 862e255f61e21871c35b1a848caec3f34e843823 |
||
|
|
b987101fdd |
Log class loading for subset of classes annotated with @LegacyArchitecture (#49831)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49831 Log class loading for classes annotated with LegacyArchitecture changelog: [internal] internal Reviewed By: cortinico Differential Revision: D70608476 fbshipit-source-id: 1efd37ec824c9d48b2e85439b23ca2caf62d0b20 |
||
|
|
3f1f5b08c8 |
Log class loading for bridge classes annotated with @LegacyArchitecture (#49830)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49830 Log class loading for classes annotated with LegacyArchitecture changelog: [internal] internal Reviewed By: rshest Differential Revision: D70608265 fbshipit-source-id: dec93b9b40fa46b3157af9275081e58d6ff53e8d |
||
|
|
932fd86b74 |
Log class loading for subset of bridge and uimanager classes annotated with @LegacyArchitecture (#49829)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49829 Log class loading for bridge and uimanager classes annotated with LegacyArchitecture changelog: [internal] internal Reviewed By: cortinico Differential Revision: D70607960 fbshipit-source-id: e35666b48e63c784217c0b35ad1b5d4328944527 |
||
|
|
7596173c13 |
Log class loading for subset of classes annotated with @LegacyArchitecture (#49828)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49828 Log class loading for subset of classes annotated with LegacyArchitecture changelog: [internal] internal Reviewed By: cortinico Differential Revision: D70593617 fbshipit-source-id: e95155e19118ae9b2a9fabd96ef245cbf4ff954c |
||
|
|
85cd552fb1 |
Log class loading for uimanager and layoutaninations classes annotated with @LegacyArchitecture (#49827)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49827 Log class loading for uimanager and layoutaninations classes annotated with LegacyArchitecture changelog: [internal] internal Reviewed By: cortinico Differential Revision: D70607606 fbshipit-source-id: 5e0dd9059a77bc4cc6a61ec68bb7b9f539a22b81 |
||
|
|
b30538d804 |
update and dedupe the npm package "debug" (#49816)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49816 Previously, we had different versions of "debug" installed in different packages, mostly because of messed up `yarn.lock` entries. Also, updated the package, receiving some performance improvements (no relevant breaking changes). Changelog: [General][Internal] update and dedupe the npm package "debug" Reviewed By: huntie Differential Revision: D70402368 fbshipit-source-id: 5e21bc6d92e0cb45ac1d862f100ef6dc0f21dbc1 |
||
|
|
f8f95b9612 |
Back out "Fix app lagging while attempting a connection to Metro" (#49820)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49820 Changelog: [Internal] Reviewed By: vzaidman Differential Revision: D70561362 fbshipit-source-id: 3e46d33641b121c1bff33f44cfbb6d1f46009e35 |
||
|
|
6b38c53d6d |
Back out "Update tests to support new didOpen delegate fn" (#49821)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49821 Changelog: [Internal] Reviewed By: vzaidman Differential Revision: D70561364 fbshipit-source-id: ca70b8bfcdefefff91d02c6e470610a2e0045cec |
||
|
|
8f19201c5e |
refactor(react-native-codegen): Replace jscodeshift with @babel/core (#49641)
Summary: `jscodeshift` is only used in one module (`src/generators/components/GenerateViewConfigJs.js`, but depends on a rather complex dependency chain and has a rather large maintenance burden relative to what it's used for and the value it adds in the codebase. Since the `GenerateViewConfigJs` module creates simple templates, using `babel/core` (and implicitly `babel/template` and `babel/types`) is a lot simpler and changes little code. The only change this introduces to the output are formatting changes (`singleQuote` and `trailingCommas` options are discarded). The code is otherwise functionally identical. ## Changelog: [INTERNAL] [CHANGED] - Drop jscodeshift dependency from react-native/codegen Pull Request resolved: https://github.com/facebook/react-native/pull/49641 Test Plan: This was tested against a React Native build with the `react-native/babel-plugin-codegen` plugina active and using the snapshots in the repo itself. While the snapshots have changed in formatting, none of the outputs change the code's AST. <details> <summary> Example output from <code>react-native/babel-plugin-codegen</code> to supplement the snapshot tests </summary> This is the example bundling output of `AndroidSwipeRefreshLayout`. This demonstrates that both the view config output and the `Commands` export continue to be generated correctly. ```js var _interopRequireDefault = require(_dependencyMap[0]); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exports.__INTERNAL_VIEW_CONFIG = exports.Commands = undefined; var _codegenNativeCommands = _interopRequireDefault(require(_dependencyMap[1])); var _codegenNativeComponent = _interopRequireDefault(require(_dependencyMap[2])); var React = _interopRequireWildcard(require(_dependencyMap[3])); function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); } function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } var NativeComponentRegistry = require(_dependencyMap[4]); var _require = require(_dependencyMap[5]), ConditionallyIgnoredEventHandlers = _require.ConditionallyIgnoredEventHandlers; var _require2 = require(_dependencyMap[6]), dispatchCommand = _require2.dispatchCommand; var nativeComponentName = 'AndroidSwipeRefreshLayout'; var __INTERNAL_VIEW_CONFIG = exports.__INTERNAL_VIEW_CONFIG = { uiViewClassName: "AndroidSwipeRefreshLayout", directEventTypes: { topRefresh: { registrationName: "onRefresh" } }, validAttributes: { enabled: true, colors: { process: (req => 'default' in req ? req.default : req)(require(_dependencyMap[7])) }, progressBackgroundColor: { process: require(_dependencyMap[8]).default }, size: true, progressViewOffset: true, refreshing: true, ...ConditionallyIgnoredEventHandlers({ onRefresh: true }) } }; var _default = exports.default = NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG); var Commands = exports.Commands = { setNativeRefreshing(ref, value) { dispatchCommand(ref, "setNativeRefreshing", [value]); } }; ``` </details> Reviewed By: yungsters Differential Revision: D70580474 Pulled By: elicwhite fbshipit-source-id: 85bc6578b685f19a1565ded8d7e56dc2a1ff1999 |
||
|
|
db8afb0f96 |
Annotate NullSafe(LOCAL) for classes in java/com/facebook/react/text (#49772)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49772 Nullsafety scripts and analysis determine it's safe to annotate these classes as NullSafe(LOCAL) changelog: [internal] internal Reviewed By: javache Differential Revision: D70464133 fbshipit-source-id: d3734957dde5b097980fb2c5feb00aa248566bda |
||
|
|
4e35676149 |
Annotate NullSafe(LOCAL) for classes in java/com/facebook/react/modules (#49769)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49769 Nullsafety scripts and analysis determine it's safe to annotate these classes as NullSafe(LOCAL) changelog: [internal] internal Reviewed By: rshest Differential Revision: D70464130 fbshipit-source-id: b6819efc06e0a25a5de32842536175177c42c7b6 |
||
|
|
8f209acb3f |
Fix out of sync state in ScrollView after animation
Summary: It seems that if we update the scroll state when the state wrapper is null we can get into an out of sync state. I've replicated the issue in HelpCenter and confirmed with a video this seems to be the case (i.e. when gazing on some cards, their corresponding frame is incorrect) https://www.internalfb.com/intern/px/p/6xWgl NOTE: I have accidentally stumbled upon this fix but I could really use a review from someone who has more context around the `ReactScrollViewHelper` because this change might have bigger implications I'm not aware of! Changelog: [Android][Fixed] - Fix occasional syncronization issue in ScrollView when rendering dynamic content with content offset Commits affecting the React Native open source repository must have a changelog entry in the commit summary. Every React Native release has almost 1000 commits, and manually categorizing these commits is very time consuming. In your diff summary, please add a `Changelog:` entry using the format: The "Category" field may be one of: - **Android**, for changes that affect Android. - **iOS**, for changes that affect iOS. - **General**, for changes that do not fit any of the other categories. - **Internal**, for changes that would not be relevant to developers consuming the release notes. The "Type" field may be one of: - **Breaking**, for breaking changes. - **Added**, for new features. - **Changed**, for changes in existing functionality. - **Deprecated**, for soon-to-be removed features. - **Removed**, for now removed features. - **Fixed**, for any bug fixes. - **Security**, in case of vulnerabilities. If your change does not modify React Native's public interface, you can use: Changelog: [Internal] For more details, please read the wiki: https://fburl.com/react-native/changelog Reviewed By: javache Differential Revision: D70484547 fbshipit-source-id: c314b958eeed4dd96755539f5bbfb8f03e17a525 |
||
|
|
f5682d64eb |
fix a crash in Fabric View Culling when wrapping view is unflattened (#49845)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49845 changelog: [internal] Fixes a crash that occurs when culled view's ancestor is flattened/unflattened. Reviewed By: lenaic Differential Revision: D70620103 fbshipit-source-id: 20b7f9acd59c5e74e768d31ff1f96bdd06747389 |
||
|
|
cc761e42c8 |
Clean up "enablePreciseSchedulingForPremountItemsOnAndroid" feature flag (#49841)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49841 Changelog: [internal] This effectively reverts D62962341 / https://github.com/facebook/react-native/pull/46563 as the experiments didn't provide the expected wins and we don't have bandwidth to iterate on this. Reviewed By: rshest Differential Revision: D70622429 fbshipit-source-id: c53c9437448c0a7be8f5b4f04d6369efbd99105a |
||
|
|
ed81081a77 |
Align StyleSheet Flow with TS types (#49809)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49809 Changelog: [Internal] - Aligned StyleSheet Flow with TS types Reviewed By: huntie Differential Revision: D70489975 fbshipit-source-id: fe7748aa9759bb8417c13fc11aa6118915a041c3 |
||
|
|
f63bd3a8e4 |
Create implicit StyleSheet namespace to better align Flow and TS types (#49810)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49810 Changelog: [Internal] Migrated StyleSheet namespace content to StyleSheetExport.js to recreate it by importing * as StyleSheet, which aligns with TS namespace definition. Added .flow files that specify base type declarations and will be digested by the flow tooling. Reviewed By: huntie Differential Revision: D70391322 fbshipit-source-id: dd974ef282cb984a1e57d5732e3b5bdab6db4564 |
||
|
|
f5feb73022 |
Move PlatformColorValueTypesIOS comments from .d.ts to .js (#49834)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49834 Changelog: [Internal] Reviewed By: huntie Differential Revision: D70615477 fbshipit-source-id: 4f042d05a1c487ace87af07809c70e6a2582d652 |
||
|
|
290257e76d |
Fix Sonatype publishing (#49836)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49836 We were passing the path to the `RegularFile` instead of the `PublishingArtifacts` to the gradle script. cortinico why this is not checked at build time? This should be a typing issue that should be caught at build time, also during the test-all jobs, not just when the nightly run... ## Changelog: [Internal] Reviewed By: cortinico Differential Revision: D70617638 fbshipit-source-id: 67ff1aea2bd827fb110db7a0d2f3651b88a1e8cc |
||
|
|
908146caa5 |
Fix TMManager moduleProviderForName (#49835)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49835 The implementation of moduleProviderForName is slightly off. This method was supposed to replace the previous ternary expression and to enhance with the module provider call. The ternary expression used to be ``` !RCTTurboModuleInteropEnabled() || [self _isTurboModule:moduleName] ? [self _provideObjCModule:moduleName] : nil ``` However, as you can see from the current implementation, instead of calling `RCTTurboModuleInteropEnabled()` we are calling `RCTTurboModuleEnabled()` which is clearly a mistake. On top of that, I'm also updating the guard around the `getModuleProvider` selector as it was bypassing the other checks, and that's wrong. ## Changelog: [Internal] - Fix moduleProviderForName method Reviewed By: RSNara Differential Revision: D70569552 fbshipit-source-id: ed4055da9ea385ed10323ed8d7a8772010b3a105 |
||
|
|
a1ed5f9014 |
Add type tests for process color (#49832)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49832 Changelog: [Internal] - Added type tests for process color Reviewed By: huntie Differential Revision: D70561282 fbshipit-source-id: b410459233348fe584bee29b74b72804013f170f |
||
|
|
12ac3e7273 |
Deploy 0.263.0 to xplat
Summary: Changelog: [Internal] Reviewed By: panagosg7 Differential Revision: D70606997 fbshipit-source-id: bd89ea370fbc408fbc22a4ac2f7463a09bdb1ffd |
||
|
|
7c5995df4a |
Deploy 0.263.0 to xplat (#49825)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49825 Changelog: [Internal] Reviewed By: pieterv Differential Revision: D70595199 fbshipit-source-id: a3be1b74cca99f0ff79aca4dd51059b3b09facb2 |
||
|
|
bf72322912 |
Annotate NullSafe(LOCAL) for classes in java/com/facebook/react (#49768)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49768 Nullsafety scripts and analysis determine it's safe to annotate these classes as NullSafe(LOCAL) changelog: [internal] internal Reviewed By: javache, rshest Differential Revision: D70464135 fbshipit-source-id: a430a6a04bbb49b3f830dbe68a46d3268afe628b |
||
|
|
835d2079fd |
Introduce LegacyArchitectureLogger class (#49823)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49823 Introduce LegacyArchitectureLogger class, which provides logging functionality to help track and debug usage of legacy architecture components when an app is running on the new architecture. The data provided by this class will help identify classes and methods that are still being used in the new architecture when they shouldn't. changelog: [Internal] Internal Reviewed By: rshest Differential Revision: D70543605 fbshipit-source-id: 56262170c03bb0fd375b8dc3cb34a7c15a69a810 |
||
|
|
f60a48c9f3 |
Migrate PositionAndSizeAnimation to Kotlin (#49756)
Summary: Migrate com.facebook.react.uimanager.layoutanimation.PositionAndSizeAnimation to Kotlin. ## Changelog: [INTERNAL] - Migrate com.facebook.react.uimanager.layoutanimation.PositionAndSizeAnimation to Kotlin Pull Request resolved: https://github.com/facebook/react-native/pull/49756 Test Plan: ```bash yarn test-android yarn android ``` Reviewed By: rshest Differential Revision: D70493553 Pulled By: Abbondanzo fbshipit-source-id: 48b57901e93c32a8bc1ba40988eeae12bfc4aea1 |
||
|
|
b614c966ab |
Setup a Macrobenchmark for RNTester (#49486)
Summary: Benchmark to test changes from https://github.com/facebook/react-native/issues/49449 Might be nice to have some version of this in the repo. ## Changelog: [INTERNAL] [ADDED] - Setup a Macrobenchmark for RNTester Pull Request resolved: https://github.com/facebook/react-native/pull/49486 Test Plan: ### Methodology Picked various JS file from websites (facebook, instagram) to artificially grow RN tester bundle somewhat realistically. The files are required lazily from a button press callback to simulate the code being included, but not executed, as it would be in a large app that uses lazy requires for the different screens. I've also made the RN tester screens lazy so all their code is not loaded initially. This is more representative of real apps. Note this is implemented in a hacky way just for the purpose of this test. It would actually be nice to implement this properly. The tests were made using low end device Samsung Galaxy A03s. ### Compression ON with 10.5 mb bundle #### Peak allocated memory 60.9 mb #### ReactInstance.loadJSBundler 148.64 ms #### Benchmark timeToFullDisplayMs min 1,825.0, median 1,911.1, max 1,994.8 timeToInitialDisplayMs min 834.9, median 860.9, max 903.9 #### APK Size: 22.9 mb Download size: 14.5 mb ### Compression OFF with 10.5 mb bundle #### Peak allocated memory 51.5 mb #### ReactInstance.loadJSBundler 946 us #### Benchmark timeToFullDisplayMs min 1,752.8, median 1,827.2, max 1,977.5 timeToInitialDisplayMs min 837.7, median 881.3, max 937.2 #### APK Size: 28 mb Download size: 14.5 mb Reviewed By: rshest Differential Revision: D70002286 Pulled By: cortinico fbshipit-source-id: 436597f439ba244649373870c1facefdb12297d9 |
||
|
|
f94dbb30ee |
Exclude HostAgent implementation in release builds (#49813)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49813 Making use of the recently standardised `REACT_NATIVE_DEBUGGER_ENABLED` preprocessor flag, conditionally swap out `HostAgent` for a stub in production (non dev, non profiling) builds. This uses the same private implementation idiom as `HermesRuntimeTargetDelegate`. This results in a **42.2kiB** size reduction (uncompressed) in production builds, due to excluding the CDP agent components of `jsinspector-modern`. - Intentionally, we're gating just this logic, rather than several outer integration points/native bindings for `jsinspector-modern`. This is for predictability and maintenance — the Fusebox subsystem is always loaded/bound, but can fork to an empty implementation. {F1975625351} Changelog: [Internal] Reviewed By: hoxyq Differential Revision: D70495853 fbshipit-source-id: 00253ac71444819a917a3781efe38365acb91e85 |
||
|
|
6bf6cebcf0 |
Remove usage of folly::to (#49786)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49786 Most of these call-sites are only used for exceptional scenarios, so we can just rely on std::to_string and do string concatenation. For a few others that may be more perf-sensitive, I switched over to `snprintf`. Changelog: [Internal] Reviewed By: sammy-SC Differential Revision: D70402439 fbshipit-source-id: 3b90ebb13a7bf1c6cf30722ef636e5e8498a5b26 |
||
|
|
fc264400ec |
Fix PullToRefresh props casting (#49815)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49815 The pull to refresh component props's casting is imprecise. This change uses the more precise type for the props. ## Changelog: [Internal] - cast props to `PullToRefreshViewProps` Reviewed By: sammy-SC Differential Revision: D70559080 fbshipit-source-id: c42d3d41a22683a3392813c2af25828781a68401 |
||
|
|
ed7dbce799 |
Increase Hermes Sampling rate to 10kHz (#49795)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49795 # Changelog: [Internal] I've been able to reliably and consistently record samples with an interval between 2 consecutive ones to be ~0.1-0.2ms, lets bump the sampling frequency to have more frames. On Windows, Hermes Sampler peaks at ~500Hz, so this won't have much effect. Reviewed By: huntie Differential Revision: D70395983 fbshipit-source-id: 9a9e619d75096a3ee75e0e1a2f8b8fff33130268 |
||
|
|
df4433c40e |
Serialize and send Profile trace events after emitting the buffer (#49794)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49794 # Changelog: [Internal] Before, we would store all User Timings and Timeline Events in the PerformanceTracer's buffer, and then add Profile event to it as well. On larger apps, the amount of events buffered could reach ~100k, which inevitably would cause OOM. With this approach, we will flush out buffered events from PerformanceTracer first, then do JavaScript Profile serialization, then send it over CDP straight away. Reviewed By: huntie Differential Revision: D70395982 fbshipit-source-id: 2c17abba421fa9c4afc4d4ca36afd98b1db50905 |
||
|
|
71fbf51979 |
Migrate ReactNativeVersion Android template to Kotlin (#49758)
Summary: Added a new template `ReactNativeVersion.kt-template.js` to be used to generate the Kotlin template for Android. Updating also the set-rn-artifacts-version script to use this template instead of the Java one. ## Changelog: [INTERNAL] - Migrate ReactNativeVersion Android template to Kotlin Pull Request resolved: https://github.com/facebook/react-native/pull/49758 Test Plan: ```bash yarn test-android yarn android node ./scripts/releases/set-version.js 1000.0.0 ``` Reviewed By: huntie, rshest Differential Revision: D70486775 Pulled By: cortinico fbshipit-source-id: 5dd1e0e2ecf4d848dc24e6c47df243a1259ab559 |
||
|
|
5411b143ef |
Use fast_float in CSS parser (#49751)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49751 fast_float promises significant improvements in float parsing performance and is already what's being used in folly internally. Unifying all percentage parsing on the new css parser logic, which can use fast_float internally. Changelog: [Internal] Reviewed By: rshest Differential Revision: D70392268 fbshipit-source-id: 56147e5478d008bc2c34579df035ec7acf8744bb |
||
|
|
3dc78f804a |
Update fast_float dependency to 8.0.0 (#49775)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49775 Upgrading this dependency to match folly and to enable using this for number parsing across Fabric. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D70482373 fbshipit-source-id: 64429595c1126e6a06436701a7562bdf6dd962d5 |
||
|
|
a8e25733dd |
Use the right file for dSYM (#49807)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49807 This change fixes a copy-and-paste mistake in passing the right parameter for publishing the ReactNativeDependencies dSYMs. ## Changelog: [Internal] - Reviewed By: cortinico Differential Revision: D70552858 fbshipit-source-id: fc103814420d94180d26c89ba9b405693864a64b |
||
|
|
49af871af4 |
reduce the space occupied by initial metro logs (#49805)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49805 Changelog: [General][Internal] reduce the space occupied by initial metro logs Reviewed By: huntie Differential Revision: D70488459 fbshipit-source-id: 23865e117c372a8c4a25ec89fbd5c4daacb6a596 |
||
|
|
3132cc88dd |
Enable RTTI to fix exception pointer issue on React Native
Summary: X-link: https://github.com/facebook/yoga/pull/1791 Disabling RTTI for Yoga is causing std::exception to don't work properly in OSS. Fixes: https://github.com/facebook/react-native/issues/48027 Not sure why we originally disabled RTTI for Yoga, but we have it enable for the whole React Native build so it probably makes sense to have it enabled for Yoga as well. Changelog: [Internal] [Changed] - Enable RTTI to fix exception pointer issue on React Native bypass-github-export-checks Reviewed By: javache, NickGerleman Differential Revision: D70386744 fbshipit-source-id: 36e3a1ddb38346d31979d5c1b77d6e9796d6a855 |
||
|
|
25949b361c |
Refactor ReactCommon to use target_compile_reactnative_options (#49803)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49803 This refactors the whole ReactCommon to use the `target_compile_reactnative_options` macro we just introduced. Changelog: [Internal] [Changed] - Reviewed By: javache Differential Revision: D70386740 fbshipit-source-id: 1f15ea7e182d79bbb0bedce653284808e3309e4f |