mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
@simek/fix-cpp-docs-comments
38536 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
7cff19b55d |
Migrate all imports from react-native to package imports instead of relative in Fantom tests (#49912)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49912 Changelog: [internal] This migrates all Fantom tests to use package-relative imports from `react-native` instead of relative paths. Note that a lot of the current deep imports (e.g.: `import ReactNativeElement from 'react-native/src/private/webapis/dom/nodes/ReactNativeElement'`) will not be necessary when we release those APIs as public. Reviewed By: sammy-SC Differential Revision: D70779722 fbshipit-source-id: f0d28e00ca9881dc2a3cd151b75327b26711277e |
||
|
|
bc808a5a35 |
Disable no-react-native-imports rule in Fantom tests (#49911)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49911 Changelog: [internal] The approach in Fantom tests is to use the public API as much as we can, but forcing us to use relative imports in tests makes it harder to see what's the public API and what's not. This disables the lint rule so we can use package imports in Fantom tests without warnings/errors. Reviewed By: sammy-SC Differential Revision: D70779721 fbshipit-source-id: b244e6a36060e6bc60318fe285ffcf3a81a78acd |
||
|
|
b52f0d8391 |
chore(react-native-codegen): Remove fixtures and outdated transforms from build output (#49916)
Summary: - Update ignore micromatch pattern to filter out `__test_fixtures__` from build output - Remove `babel/plugin-transform-object-rest-spread` - Remove `babel/plugin-transform-async-to-generator` - Remove `babel/plugin-transform-destructuring` The `package.json:engines:node` field is already set to `>=18` which makes the three Babel transforms that were removed redundant. ## Changelog: [INTERNAL] [CHANGED] - Remove fixtures files and outdated Babel transforms from `react-native/codegen` build output Pull Request resolved: https://github.com/facebook/react-native/pull/49916 Test Plan: - Ran against Node 18 Reviewed By: robhogan Differential Revision: D70885090 Pulled By: cortinico fbshipit-source-id: 328b75a6031a7ca6a9b3ed170061ffb0a47d6d93 |
||
|
|
41181bb434 |
Simplify Fantom test (#49899)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49899 Changelog: [internal] Just a minor refactor. Reviewed By: sammy-SC Differential Revision: D70792753 fbshipit-source-id: 09ec415df376600bb5e9f913d7df8881b2b0755e |
||
|
|
ddbebacea7 |
Fix documentElement methods for element not working correctly (#49898)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49898 Changelog: [internal] In the method to access the native node reference from elements, we weren't considering the case where the element is the `documentElement`, which is a special case we were handling correctly in the case of native node references from nodes (where we also handle it possibly being a document node). Because of this, methods in `Element` and `ReactNativeElement` weren't working correctly on the `documentElement`. We didn't catch this initially because we only tested the traversal methods defined in node in the test for `ReactNativeDocument`. This fixes the issue. Reviewed By: javache Differential Revision: D70792748 fbshipit-source-id: c42d05a066efaffccade94e9d3835fb7172e2335 |
||
|
|
4046441997 |
Make WritableMapBuffer internal (#49914)
Summary: This class can be internalized as part of the initiative to reduce the public API surface. I've checked there are [no relevant OSS usages](https://github.com/search?type=code&q=NOT+is%3Afork+NOT+org%3Afacebook+NOT+repo%3Areact-native-tvos%2Freact-native-tvos+NOT+repo%3Anuagoz%2Freact-native+NOT+repo%3A2lambda123%2Freact-native+NOT+repo%3Abeanchips%2Ffacebookreactnative+NOT+repo%3AfabOnReact%2Freact-native-notes+NOT+user%3Ahuntie+NOT+user%3Acortinico+NOT+repo%3AMaxdev18%2Fpowersync_app+NOT+repo%3Acarter-0%2Finstagram-decompiled+NOT+repo%3Am0mosenpai%2Finstadamn+NOT+repo%3AA-Star100%2FA-Star100-AUG2-2024+NOT+repo%3Alclnrd%2Fdetox-scrollview-reproductible+NOT+repo%3ADionisisChytiris%2FWorldWiseTrivia_Main+NOT+repo%3Apast3l%2Fhi2+NOT+repo%3AoneDotpy%2FCaribouQuest+NOT+repo%3Abejayoharen%2Fdailytodo+NOT+repo%3Amolangning%2Freversing-discord+NOT+repo%3AScottPrzy%2Freact-native+NOT+repo%3Agabrieldonadel%2Freact-native-visionos+NOT+repo%3AGabriel2308%2FTestes-Soft+NOT+repo%3Adawnzs03%2FflakyBuild+NOT+repo%3Acga2351%2Fcode+NOT+repo%3Astreeg%2Ftcc+NOT+repo%3Asoftware-mansion-labs%2Freact-native-swiftui+NOT+repo%3Apkcsecurity%2Fdecompiled-lightbulb+com.facebook.react.common.mapbuffer.WritableMapBuffer). ## Changelog: [INTERNAL] - Make com.facebook.react.common.mapbuffer.WritableMapBuffer internal Pull Request resolved: https://github.com/facebook/react-native/pull/49914 Test Plan: ```bash yarn test-android yarn android ``` Reviewed By: javache Differential Revision: D70884414 Pulled By: cortinico fbshipit-source-id: de1a298f7c7d5da8edf029e8d4dd31a9b334b853 |
||
|
|
ddb8c27ab3 |
Add TS definition for inputAccessoryViewButtonLabel (#49754)
Summary: Add TS definition for inputAccessoryViewButtonLabel. `inputAccessoryViewButtonLabel` was implemented in https://github.com/facebook/react-native/pull/47441 ## Changelog: [INTERNAL] [CHANGED] - Add TS definition for inputAccessoryViewButtonLabel Pull Request resolved: https://github.com/facebook/react-native/pull/49754 Test Plan: - Reviewed By: cortinico Differential Revision: D70797497 Pulled By: alanleedev fbshipit-source-id: c1d9b7d11c31e556289a0ebadd386566b9af7856 |
||
|
|
9abdd619da |
Fix bug that prevents the Old Arch from being enabled (#49896)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49896 This change makes possible to opt-out from the New Architecture. Env variables are always `string`s in ruby and the check was always failing because it was comparing it with a number (always false) ## Changelog: [iOS][Fixed] - enable back the opt-out from the New Architecture Reviewed By: cortinico Differential Revision: D70789827 fbshipit-source-id: 7d3f96c3db22f2715dec2b649534b20e3273ea3e |
||
|
|
eeef060762 |
add fantom test for view culling inside <Modal /> (#49860)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49860 changelog: [internal] now that Fantom supports tests with <Modal />, add a test to cover scenario where <ScrollView /> is inside of <Modal />. Reviewed By: rubennorte, rshest Differential Revision: D70696834 fbshipit-source-id: 5f51917ac5c6a2cf451906e302ee2b62c15449ea |
||
|
|
faafd8c2a8 |
add enqueueModalSizeUpdate to Fantom (#49862)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49862 changelog: [internal] add method enqueueModalSizeUpdate to allow for setting size of Modal. Reviewed By: rshest Differential Revision: D70696524 fbshipit-source-id: 9e22d95e62ee52a66f888503d070fcbff1307d21 |
||
|
|
9f7b8457ec |
expose ref to <Modal />'s native component (#49859)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49859 changelog: [internal] this will be used for testing purposes in Fantom. This diff also cleans up `ModalInjection.js` which is unused. Reviewed By: rubennorte Differential Revision: D69883384 fbshipit-source-id: 4ff278ef174c95fd5a93f70519f14c5190a5ada5 |
||
|
|
486d38c024 |
Remove (more) unused variables from AtWork (#49904)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49904 X-link: https://github.com/facebookincubator/SocketRocket/pull/702 Remove or suppress unused variables. Changelog: Remove an unused variable Reviewed By: r-barnes Differential Revision: D70801115 fbshipit-source-id: 5d0cffeee5e2b2a3729c34dcc19f81d582154d65 |
||
|
|
a0c2474e11 |
Move explicit type argument into function parameter (#49901)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49901 Changelog: [Internal] Reviewed By: gkz Differential Revision: D70802763 fbshipit-source-id: 1a31d2bb99a21bb56352156da6bf52fb0a624c00 |
||
|
|
aa92fa9dff |
Update lockfile @babel/ dependencies, regenerate Flow types, unbreak Meta-internal test (#49894)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49894 Update `babel` entries in `yarn.lock` and run: `yarn update-babel-flow-lib-defs` ...from Metro, to regenerate our Flow definitions from Babel source, then sync to RN. Changelog: [Internal] Facebook D70778791 updated some `xplat/js/yarn.lock` Babel entries, which caused `xplat/js/tools/metro/scripts/__tests__/babel-lib-defs-test.js` to start failing only when Yarn had *not* been run in `xplat/js/tools/metro`, because the hoisted `xplat/js` Babel deps were a greater version than the locked `xplat/js/tools/metro` Babel deps. This realigns them and updates the types to unbreak the test both internally an in OSS. Reviewed By: vzaidman Differential Revision: D70785807 fbshipit-source-id: 59ee8adc296f9ca155dde04c1429273656a26244 |
||
|
|
0967a821b1 |
Test fixtures - don't reference Metro versions (#49895)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49895 Minor thing, but the fact that these fixture `package.json`s for testing a release script reference real Metro packages and versions always trips me up when I'm updating Metro (grepping, etc). There's no need for them to mention Metro - any non-RN package is sufficient to test that the script preserves other dependencies. This swaps them for dummy packages. Changelog: [Internal] Reviewed By: vzaidman Differential Revision: D70789598 fbshipit-source-id: 32f394bf1f783534b76d260908538d7b5716ef1f |
||
|
|
0ad192003e |
Update Metro dependencies to 0.82.0 (#49885)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49885 Updates all `metro*` dependencies to the latest `^0.82.0`. The breaking changes in this release apply only to frameworks and integrators. This update brings `package.json#exports` resolution enabled by default, and lazy hashing for much faster Metro startup. Release notes: https://github.com/facebook/metro/releases/tag/v0.82.0 Changelog: [General][Changed] Update Metro to ^0.82.0 Reviewed By: vzaidman Differential Revision: D70778791 fbshipit-source-id: ffb55ed384d721205aa4d7f528c63c0b0a38abc5 |
||
|
|
d3a27f27a0 |
Refactor AppRegistry to generate a TS namespace (#49882)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49882 Changelog: [Internal] Reviewed By: huntie Differential Revision: D70627137 fbshipit-source-id: a68524bdd6481f1df2a3529c72f0b5e5b17c521b |
||
|
|
fef7933f63 |
Align Animated/Easing with OSS types (#49842)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49842 Changelog: [Internal] Reviewed By: huntie Differential Revision: D70623703 fbshipit-source-id: c02a0b17d257fa4eb0dbb38db8842c1755384239 |
||
|
|
c131c91eaf |
Move private property initialization to constructors (#49880)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49880 Changelog: [Internal] Reviewed By: huntie Differential Revision: D70772773 fbshipit-source-id: 6abb4f4f2dba2b9685a0e376581bf9dd4b4ed9e6 |
||
|
|
2a58201322 |
marked acquireWakeLockNow as static as it was static before (#49875)
Summary: acquireWakeLockNow was static before but wasn't marked as static in https://github.com/facebook/react-native/commit/9afad527b831ec0c5d50e88daacbaacbc476d478 when changing code to Kotlin. This breaks react-native-firebase but I've submitted the bug report there as I guess it might be fixed there too. ## Changelog: [ANDROID] [FIXED] - Marked acquireWakeLockNow as static Pull Request resolved: https://github.com/facebook/react-native/pull/49875 Test Plan: No tests as it reverts the broken change Reviewed By: rshest Differential Revision: D70773675 Pulled By: javache fbshipit-source-id: d7363702dfec078b7e6d2693d05b8ab87e818522 |
||
|
|
b33bc012dc |
Add step to sign the XCFramework in CI (#49871)
Summary: This PR adds a step in CI to sign the xcframework if we have a certificate available bypass-github-export-checks ## Changelog: [Internal] - Sign XCFrameworks in CI Pull Request resolved: https://github.com/facebook/react-native/pull/49871 Test Plan: GHA Reviewed By: cortinico Differential Revision: D70734340 Pulled By: cipolleschi fbshipit-source-id: 244422bdf9a8e0a2075a727a91805f762d4f95c9 |
||
|
|
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 |
||
|
|
e23d7106d5 |
Add function to sign XCFramework (#49863)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49863 After the creation of the XCFramework, that needs to be signed. After the XCFramework is signed, no further modification can happen or they would break the signature. ## Changelog: [Internal] - Add function to sign the XCFramework Reviewed By: cortinico Differential Revision: D70697279 fbshipit-source-id: c2411ca7d12d4679ba55f124cbb445367b15945a |
||
|
|
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 |
||
|
|
ab9f501c24 |
Update Community CLI Flow types (#49866)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49866 Scope down type definitions to the subset of CLI we are currently explicitly referencing. Rename/bump to `19.x`. Related to: - https://github.com/facebook/react-native/pull/45380 - https://github.com/react-native-community/cli/pull/2584 - (others) Changelog: [Internal] Reviewed By: rshest Differential Revision: D70699083 fbshipit-source-id: 43af1b529d9b95f3d8ba955588af6a09367cdcea |
||
|
|
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 |