mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
63fdc048880ccb4e6d88825e7081772efcb44dc6
35409
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
63fdc04888 |
RNGP - Better compatibility with Kotlin 2.1.x (#49977)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49977 See: https://github.com/facebook/react-native/issues/48274 This makes our integration with Kotlin 2.1.x easier. Changelog: [Android] [Changed] - Better compatibility with Kotlin 2.1.x Reviewed By: cipolleschi Differential Revision: D71034044 fbshipit-source-id: 9a26ed28ae4770a5c05a4113f4d86c1b97063db3 |
||
|
|
9805a4f89a |
Convert to JSException only NSException from sync methods (#50193)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50193 This fix makes sure that we convert to JSException only NSException thrwn by sync methods. Currently, nothing in the stack will be capable of understanding that js error if it is triggered by an exception raised by an asyc method. See https://github.com/reactwg/react-native-new-architecture/discussions/276 for further details We need to cherry pick this in 0.78 and 0.79 ## Changelog: [iOS][Fixed] - Make sure the TM infra does not crash on NSException when triggered by async method Reviewed By: fabriziocucci Differential Revision: D71619229 fbshipit-source-id: b87aef5dd2720a2641c8da0904da651866370dc6 |
||
|
|
5d26c5132c |
Add React-renderercss dependency for 3p libs (#50192)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50192 Third party libraries depend transitively agains the React-renderercss modules because it is imported by Fabric. Without this change, the use_frameworks on iOS does not works when a 3P library is imported. This changes fix the behavior and we need to cherry pick them in 0.79. ## Changelog: [iOS][Fixed] - Make sure 3p libraries depends on React-renderercss to work with use_frameworks Reviewed By: fabriziocucci Differential Revision: D71618395 fbshipit-source-id: 70c12dcbeb2dfa5fd7513c27d5c069a1f3c95966 |
||
|
|
63149256c0 |
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 [
|
||
|
|
9498b71438 | [RN][iOS] Fix codegen to avoid the creation of <appName>, folders | ||
|
|
669956369a |
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 |
||
|
|
fb7ca6a688 |
Update Podfile.lock
Changelog: [Internal] |
||
|
|
60c2fe0ef7 |
Release 0.79.0-rc.2
#publish-packages-to-npm&nextv0.79.0-rc.2 |
||
|
|
8b0c333a99 |
fix(ios): enable use of multiple RCTAppDependencyProvider instances (#49889)
Summary: instantiating multiple `RCTAppDependencyProvider` instances creates problems with their internal state, because the internal fields such as [`_thirdPartyFabricComponents` are populated once](https://github.com/facebook/react-native/blob/f5feb73022f9340583ebcf576eaedd3ca5677e1a/packages/react-native/scripts/codegen/templates/RCTAppDependencyProviderMM.template#L60) for the entire app (see [`dispatch_once`](https://developer.apple.com/documentation/dispatch/1447169-dispatch_once)). That means when you create 2 instances, and call `thirdPartyFabricComponents` on them, the first instance will respond with a dictionary and the second with `nil`. This is unexpected. ## Changelog: [IOS] [FIXED] - enable use of multiple `RCTAppDependencyProvider` instances Pull Request resolved: https://github.com/facebook/react-native/pull/49889 Test Plan: `rnTester` - the templates are used by codegen. Running `pod install`, the files were generated correctly from the `.template` files. I was able to verify that accessing `thirdPartyFabricComponents` on multiple instances of `RCTAppDependencyProvider` returns valid result. <details> <summary>screenshot</summary> <img width="789" alt="Screenshot 2025-03-07 at 15 11 22" src="https://github.com/user-attachments/assets/9270ba90-ae7f-491a-a53a-f7e1f4606438" /> </details> Reviewed By: javache Differential Revision: D70892779 Pulled By: cipolleschi fbshipit-source-id: 27c7c8fd9982b6427daec02e0de59b08ad20bfad |
||
|
|
b63040fcce |
[0.79] refactor(react-native-codegen): Replace jscodeshift with @babel/core (#50031)
* Replace jscodeshift with @babel/core
* Rewrite GenerateViewConfigJs with @babel/core
* Update yarn.lock
* Update snapshots
* Remove unused devDependencies
* Remove jscodeshift from root
* Format with prettier
* Import changes (literal -> stringLiteral rather than identifier in some cases)
* Update snapshots
* Update snapshots for babel-plugin-codegen
* Disable babelrc since we're only stringifying
* Revert "Remove unused devDependencies"
This reverts commit
|
||
|
|
15451690c0 |
Fixes TextInput crashes when any text is entered while running as iOS app on apple silicon mac (#49320)
Summary: Fixes https://github.com/facebook/react-native/issues/48544. We can make `RCTWeakEventEmitterWrapper` to subclass `NSDictionary` that Textinput supports encode it. System allowed classes are: ``` Allowed classes are: {( "'NSMorphology' (0x20088b6d8) [/System/Library/Frameworks/Foundation.framework]", "'NSString' (0x2003f4738) [/System/Library/Frameworks/Foundation.framework]", "'NSInflectionRule' (0x20088d348) [/System/Library/Frameworks/Foundation.framework]", "'UIColor' (0x2006c0520) [/System/iOSSupport/System/Library/PrivateFrameworks/UIKitCore.framework]", "'NSTextAttachment' (0x20042af98) [/System/Library/PrivateFrameworks/UIFoundation.framework]", "'NSShadow' (0x20042ae30) [/System/Library/PrivateFrameworks/UIFoundation.framework]", "'NSTextEncapsulation' (0x200897e50) [/System/Library/Frameworks/CoreText.framework]", "'NSTextAlternatives' (0x20042af70) [/System/Library/PrivateFrameworks/UIFoundation.framework]", "'NSFont' (0x20042a9f8) [/System/Library/PrivateFrameworks/UIFoundation.framework]", "'NSAttributedString' (0x2003f3838) [/System/Library/Frameworks/Foundation.framework]", "'NSData' (0x2003ed528) [/System/Library/Frameworks/CoreFoundation.framework]", "'NSURL' (0x2003ed938) [/System/Library/Frameworks/CoreFoundation.framework]", "'NSAdaptiveImageGlyph' (0x2008ae538) [/System/Library/PrivateFrameworks/UIFoundation.framework]", "'NSNumber' (0x2003f4238) [/System/Library/Frameworks/Foundation.framework]", "'NSParagraphStyle' (0x20042ad40) [/System/Library/PrivateFrameworks/UIFoundation.framework]", "'NSDictionary' (0x2003ed5a0) [/System/Library/Frameworks/CoreFoundation.framework]", "'UIFont' (0x20042c668) [/System/Library/PrivateFrameworks/UIFoundation.framework]", "'NSColor' (0x200412350) [/System/Library/Frameworks/AppKit.framework]", "'NSGlyphInfo' (0x20042aa98) [/System/Library/PrivateFrameworks/UIFoundation.framework]", "'NSArray' (0x2003ed460) [/System/Library/Frameworks/CoreFoundation.framework]", "'NSPresentationIntent' (0x20088da28) [/System/Library/Frameworks/Foundation.framework]" )} ``` ## Changelog: [IOS] [FIXED] - Fixes TextInput crashes when any text is entered while running as iOS app on apple silicon mac Pull Request resolved: https://github.com/facebook/react-native/pull/49320 Test Plan: Run RNTester on apple silicon mac, and entered some text in textinput, no crash occured. Also, verified that the caret was not jumping around, thus preserving the original fix. https://github.com/user-attachments/assets/6304f6e7-c663-4351-ace8-ab1842ee545f Reviewed By: javache Differential Revision: D69981500 Pulled By: cipolleschi fbshipit-source-id: 2af9b280e42f621446efda9b101af50525e8fef7 |
||
|
|
203f886228 |
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 |
||
|
|
9548609c15 |
Fix verifyReleaseOnNPM by dropping the v in the version (#49944)
Summary: GHA passes the version to the script with a `v` prefix. However, when we receive the version from NPM, the `v` prefix is not here. We can fix the script by dropping the `v` when it is passed to the function. bypass-github-export-checks ## Changelog: [Internal] - Fix verifyPackageOnNPM Pull Request resolved: https://github.com/facebook/react-native/pull/49944 Test Plan: GHA Reviewed By: cortinico, fabriziocucci Differential Revision: D70960414 Pulled By: cipolleschi fbshipit-source-id: 4234103ebe49cf715aea4a1473a8a60978f07a9f |
||
|
|
29caa0725d |
Update Podfile.lock
Changelog: [Internal] |
||
|
|
d74bb8e748 |
Release 0.79.0-rc.1
#publish-packages-to-npm&nextv0.79.0-rc.1 |
||
|
|
7739615e0d | [LOCAL][RN][iOS][OldArch] Add missing loadFromSource method in the DefaultRNFactoryDelegate (#49930) | ||
|
|
bcc8b27d87 |
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 |
||
|
|
2f4dbc64b7 |
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 |
||
|
|
8421b8a872 | [0.79] Update Metro to ^0.82.0 (#49892) | ||
|
|
2b0e406fef |
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 |
||
|
|
eb02343f95 |
Fix destructuring error in Verify Release is on NPM step
Summary: Found this issue while releasing 0.79.0-rc.0 (see [job](https://github.com/facebook/react-native/actions/runs/13649159968/job/38156418752)). bypass-github-export-checks ``` SyntaxError: Invalid destructuring assignment target at new AsyncFunction (<anonymous>) at callAsyncFunction (/__w/_actions/actions/github-script/v6/dist/index.js:15143:16) at main (/__w/_actions/actions/github-script/v6/dist/index.js:15236:26) at /__w/_actions/actions/github-script/v6/dist/index.js:15217:1 at /__w/_actions/actions/github-script/v6/dist/index.js:15268:3 at Object.<anonymous> (/__w/_actions/actions/github-script/v6/dist/index.js:15271:12) at Module._compile (node:internal/modules/cjs/loader:1469:14) at Module._extensions..js (node:internal/modules/cjs/loader:1548:10) at Module.load (node:internal/modules/cjs/loader:1288:32) at Module._load (node:internal/modules/cjs/loader:1104:12) ``` ## Changelog: [Internal] - Reviewed By: cipolleschi Differential Revision: D70552301 fbshipit-source-id: b50e3d76c7497cc218e379400d5870531669abe1 |
||
|
|
f238aecca1 |
Update Podfile.lock
Changelog: [Internal] |
||
|
|
e6a3390fb5 |
Release 0.79.0-rc.0
#publish-packages-to-npm&nextv0.79.0-rc.0 |
||
|
|
1961e58b13 |
Fix release scripts to check npm packages (#49788)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49788 Release of 0.78 was successful but it failed to verify the package of NPM because of some error in the JS files. Preparing for 0.79, I discovered some other issues in the NPM checking scripts. This change should fix them. ## Changelog: [Internal] - Fix publishing scripts Reviewed By: fabriziocucci Differential Revision: D70489717 fbshipit-source-id: 02a37d9a86fe108c7f7d2d634b8c0727dabb153d |
||
|
|
c593bf833b | Bump hermes | ||
|
|
81e490164f |
Update debugger-frontend from 3adf51a...97e9912 (#49784)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49784 Changelog: [Internal] - Update `react-native/debugger-frontend` from 3adf51a...97e9912 Resyncs `react-native/debugger-frontend` from GitHub - see `rn-chrome-devtools-frontend` [changelog](https://github.com/facebookexperimental/rn-chrome-devtools-frontend/compare/3adf51aa915c2deb26f5d373751a15b4d0c8f259...97e9912605ce73b06f67fc607c1a5c434a67d6de). Reviewed By: huntie Differential Revision: D70487787 fbshipit-source-id: 6f3b47a254f45b770798ff3af8ade1c9a6d7fc64 |
||
|
|
515ff1e626 |
fix: return nullptr when USE_THIRD_PARTY_JSC is set to true (#49781)
Summary: When setting `USE_THIRD_PARTY_JSC=1`, we don't return anything from createJSRuntimeFactory function:  It's meant to be overwritten, but we must satisfy the compiler. ## Changelog: [IOS] [FIXED] - return nullptr when USE_THIRD_PARTY_JSC is set to true Pull Request resolved: https://github.com/facebook/react-native/pull/49781 Test Plan: CI Green Reviewed By: cortinico Differential Revision: D70486837 Pulled By: cipolleschi fbshipit-source-id: c09622f75608dc203d41167fc375a000a2f12e37 |
||
|
|
6bc5ddea3e |
fix: avoid race condition crash in [RCTDataRequestHandler invalidate] (#49705)
Summary: Upstreaming a fix by ntre that fixes a crash we saw internally related to `[_queue cancelAllOperations]`. >Calling [_queue cancelAllOperations] will release all references to any active operations. >If the blocks of those operations have a reference to itself, it will result in dangling pointers, which could conceptually trigger a later crash if there's a race between the operation completing and it being pulled out of the queue. > >Add explicit strong reference while block is running. >For good measure, fix same pattern also in RCTFileRequestHandler. > >Note: separately, that this code is passing the op itself as a requestToken to [delegate URLRequest:] methods is suspect. That delegate can retain said token. ## Changelog: [IOS] [FIXED] - avoid race condition crash in [RCTDataRequestHandler invalidate] Pull Request resolved: https://github.com/facebook/react-native/pull/49705 Test Plan: Tested internally, we no longer saw the crash after this fix. Reviewed By: javache Differential Revision: D70314889 Pulled By: cipolleschi fbshipit-source-id: ebcecb4675bd1dda3d9ee60d69967feb4e05e11b |
||
|
|
13ac1a9a88 |
Align FlatList types with OSS (#49713)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49713 Changelog: [Internal] Reviewed By: huntie Differential Revision: D70317013 fbshipit-source-id: f131cb204135a2a41aa7d3bafe13fc7b44446036 |
||
|
|
569c01e141 |
Add Text to buildTypes and align Flow with TS (#49774)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49774 Changelog: [Internal] - Added Text to buildTypes and aligned Flow with TS Reviewed By: huntie Differential Revision: D70324061 fbshipit-source-id: 2a032317acdc0a119f5d33da86a40461f8c60ab1 |
||
|
|
2acb407562 |
Update references to relocated react-native-devtools-frontend repo (#49777)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49777 Changelog: [Internal] Reviewed By: robhogan Differential Revision: D70485084 fbshipit-source-id: d6243b3bc607af39c67c3f1cebdf0b53a3502538 |
||
|
|
ae7bbe06c9 |
fix: make React Native work without AppDelegate window property (#49748)
Summary: This PR makes React Native not relying on the `window` property in AppDelegate. When running in SwiftUI lifecycle mode / SceneDelegate mode there is window property on AppDelegate. This PR fixes crashes that happen because RN asserts window property is there. ## Changelog: [IOS] [FIXED] - make React Native work without AppDelegate window property Pull Request resolved: https://github.com/facebook/react-native/pull/49748 Test Plan: CI Green Reviewed By: javache Differential Revision: D70389691 Pulled By: cipolleschi fbshipit-source-id: fe39f123b47014ba91a080239ccd298192c92a6a |
||
|
|
7ccb1e1fb0 |
Avoid the creation of separate folders for separate artifacts (#49760)
Summary: When downloading artifacts using a pattern, GHA, by default, creates a folder for each artifacts and copies the artifacts in that folder. This breaks the maven publishing which expects the artifacts in the `artifact` folder and not i a subfolder. The `merge-multiple` option allow for the artifacts to be downloaded in the specified folder, without the extra folder in the path ## Changelog: [Internal] - Avoid the creation of intermediate folder when downloading the artifacts Pull Request resolved: https://github.com/facebook/react-native/pull/49760 Test Plan: GHA <img width="791" alt="Screenshot 2025-03-02 at 11 08 33" src="https://github.com/user-attachments/assets/cfc85b27-117f-4d21-97ef-67493615a5a1" /> Reviewed By: fabriziocucci Differential Revision: D70462254 Pulled By: cipolleschi fbshipit-source-id: ed310a90bcdea55e466d4d71942a25abc6e6986a |
||
|
|
21c85ef52d |
batch debug logging for cdp messages (#49726)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49726 The `InspectorProxy` debug logging became incredibly spammy making it almost unuseful unless the output is manipulated so this commit batches all these cdp messages and only desplays how many were received in the span of 5s. If no messages are received, the throttle is not triggered. To get the actual CDP messages logged, we still log these to `Metro:InspectorProxyCDPMessages`. Changelog: [General][Internal] batch debug logging for cdp messages Reviewed By: robhogan Differential Revision: D70324724 fbshipit-source-id: a269302f52e18af6c4be651758c042596abdbad8 |
||
|
|
42a7c62a6a |
Ensure that the artifacts have the right extension (#49755)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49755 The artifacts are uploaded without the .tar.gz extension and the gradle script fails to upload them to sonatype. This change adds the extensions. ## Changelog: [Internal] - Reviewed By: sammy-SC Differential Revision: D70443149 fbshipit-source-id: c16d1842688b82ac216ffb90ecf2b75f562cca64 |
||
|
|
0bb6243550 |
Compress xcframework to let sonatype sign it (#49753)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49753 Sonatype cannot sign folders. It needs a file to be signed. To make it happen, we are compressing the xcframeworks and the dSYM with tar, and we are uploading those files instead of the folders I also observed that the cache keys were not computed correctly, so I'm fixing them. ## Changelog: [Internal] - use tar.gz instad of folders for dSYM and xcframeworks Reviewed By: bvanderhoof, mofeiZ Differential Revision: D70409314 fbshipit-source-id: 20a5ee4f24b644f4f087974ad6b0831d5769b1d9 |
||
|
|
33c0112b63 |
Configure gradle to publish RNDependencies to Maven (#49749)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49749 This change configures gradle and CI to properly publish the RNDependencies artifacts to Maven Central ## Changelog [Internal] - Configure gradle to publish on Maven Central Reviewed By: cortinico Differential Revision: D70390191 fbshipit-source-id: fc1e1070325240584cb07fb17e58118c4c583fa9 |
||
|
|
c99b2a4854 |
Connect the prebuild-ios workflow with other workflows (#49731)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49731 This change runs the prebuilds in all the workflows we need: - test-all - nightlies - create-release ## Changelog: [Internal] - connect the rebuild-ios workflow with the other workflows Reviewed By: cortinico Differential Revision: D70331579 fbshipit-source-id: 6505a32672d43d06e29e68d37bd0ceff21bd7386 |
||
|
|
2ff0220c8e |
Add job to build the XCFramework for ios prebuilds (#49563)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49563 This change introduces a job to prebuild iOS XCFrameworks. ## Changelog: [Internal] - Create prepare artifacts workflows Reviewed By: cortinico Differential Revision: D69924325 fbshipit-source-id: f2241b1db715ae7c42ce32eda55a54efa6985a9d |
||
|
|
da88bf0030 |
Add job to build the slices for ios prebuilds (#49528)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49528 This change introduces a job to prebuild iOS slices. ## Changelog: [Internal] - Create prepare artifacts workflows Reviewed By: cortinico Differential Revision: D69855542 fbshipit-source-id: 54d5b24b55f9e7bebdbb201073524dc4f3748e07 |
||
|
|
3c03e2b9f5 |
Add prepare prebuild reusable workflow (#49530)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49530 This change introduces the workflow to prebuild iOS artifacts. This will be a reusable workflow, so we can then call it as it is from test-all, nightlies and publish-release ## Changelog: [Internal] - Create prepare artifacts workflows Reviewed By: cortinico Differential Revision: D69854568 fbshipit-source-id: 5dc532fa564fe7e0987ba5d133da42e04237c3cc |
||
|
|
167a1a30da |
Improve text measurement for multiline TextInput on iOS (#49711)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49711 Changelog: [IOS][CHANGED] - Moved workaround for multiline text measurement with `maximumNumberOfLines` earlier in the pipeline Reviewed By: huntie Differential Revision: D70314397 fbshipit-source-id: ef7dbf0c4bb3d5053328d81b7d5b8208e92ee7f5 |
||
|
|
2b93377a9c |
add e2e test for AppState module (#49680)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49680 changelog: [internal] add an end to end test for AppState module. Reviewed By: rshest Differential Revision: D70184850 fbshipit-source-id: ead1388ceb1018e7615e50f846f3c95224be97d0 |
||
|
|
5fc2484440 |
Align useAnimatedValue with OSS types (#49643)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49643 ## Motivation Modernising the RN codebase to allow for modern Flow tooling to process it. ## This diff Aligns `useAnimatedValue.js` with its manual .d.ts types. Changelog: [Internal] Reviewed By: huntie Differential Revision: D70096210 fbshipit-source-id: c3cd517eccf1cb68400772ddde6e5891861c927d |
||
|
|
0289e4061e |
fix race condition in getPages test for device disconnection (#49741)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49741 While the test delay `PAGES_POLLING_DELAY` is usually enough to be equal to `PAGES_POLLING_INTERVAL`, in some cases we need extra time to sync that with the polling in `Devices.js`. Changelog: [General][Internal] - fix test Reviewed By: huntie Differential Revision: D70384823 fbshipit-source-id: ccb18884d32dc27636dbbb3a9786412056f90830 |
||
|
|
84a1211773 |
Strip all "bom" types that are actually not defined in RN (#49730)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49730 Changelog: [internal] This removes all the types from "bom" that are actually not implemented in RN. For now, we're just stripping whole interfaces and not looking into specific methods/properties in interfaces that we do implement but not 100%. `Performance`, `PerformanceObserver`, `MutationObserver` and `IntersectionObserver` are implemented but not stable yet, so they aren't exposed as globals in the types. Reviewed By: huntie Differential Revision: D70329185 fbshipit-source-id: 63bac619e100ca66b41df071df80dfa73d0f9651 |
||
|
|
52713eeff3 |
Refactor IntersectionObserver, MutationObserver and PerformanceObserver options as interfaces (#49737)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49737 Changelog: [internal] Just a minor change to align with similar other option bags and TypeScript definitions. Reviewed By: huntie Differential Revision: D70355669 fbshipit-source-id: 37c44338c7b358eb2d25e8a14c75a78545b34bf1 |
||
|
|
eb877cba39 |
Remove references to service workers in RN globals (#49727)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49727 Changelog: [internal] React Native doesn't define or use Service Workers, so this entire section for types is unnecessary. Reviewed By: cortinico Differential Revision: D70327703 fbshipit-source-id: b998eade21d19ed124824cb255a37cb9e805d151 |
||
|
|
e808011b26 |
Move environment types (globals) from flow-typed/environment to src/types (#49724)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49724 Changelog: [internal] This moves the type definitions for the globals defined by React Native from the repository root to the `react-native` package, in the same directory as the existing TypeScript definitions. This will make it easier for end users to configure the globals from RN using the right source of truth. Reviewed By: huntie Differential Revision: D70322032 fbshipit-source-id: 932df75ded0c254f2acb32e865cbbb9474c94159 |
||
|
|
be59427448 |
Align ProgressBarAndroid types with OSS (#49663)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49663 Changelog: [Internal] Reviewed By: huntie Differential Revision: D70176068 fbshipit-source-id: 0a1febb390affc2a3123e49e88b039b390a34387 |