Commit Graph
1565 Commits
Author SHA1 Message Date
Fabrizio Cucci 9d51bfdc14 Kotlinify AndroidChoreographerProvider (#43839)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43839

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: cortinico

Differential Revision: D55731620

fbshipit-source-id: c75eca4d324fb6761b681f28a9fe65fb2659aa3e
2024-04-04 03:43:38 -07:00
Fabrizio Cucci f937f55ec4 Kotlinify DrawerStateChangedEvent (#43835)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43835

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: alanleedev

Differential Revision: D55709997

fbshipit-source-id: 43c89680ca373c6f68119f63107c616568df0cbc
2024-04-04 02:00:36 -07:00
Fabrizio Cucci 4b580c0060 Kotlinify DrawerSlideEvent (#43836)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43836

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: alanleedev

Differential Revision: D55709887

fbshipit-source-id: ce15c18dcfdcf68eba0973ac2277a377435149fb
2024-04-04 02:00:36 -07:00
Fabrizio Cucci c34dfb036b Kotlinify DrawerClosedEvent (#43833)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43833

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: alanleedev

Differential Revision: D55709690

fbshipit-source-id: fdfe8fbc8f8faffc3dcde27e03a5f6667f621e46
2024-04-04 02:00:36 -07:00
Fabrizio Cucci bd385f831f Kotlinify DrawerOpenedEvent (#43830)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43830

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: alanleedev

Differential Revision: D55709628

fbshipit-source-id: f87483381e948333fc6a437e3c2b42ec927cffda
2024-04-04 02:00:36 -07:00
Fabrizio Cucci 49589fe92e Kotlinify RefreshEvent (#43829)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43829

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: alanleedev

Differential Revision: D55708970

fbshipit-source-id: 7a19f509ce97a9159b85c4e0a7540c0ae7cff3f1
2024-04-04 02:00:36 -07:00
Fabrizio Cucci 1cbe5376ba Kotlinify ScrollEventType (#43827)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43827

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: arushikesarwani94

Differential Revision: D55708353

fbshipit-source-id: 30a31e7eb9e6ad59b7c90468f9e6f55c91c579a8
2024-04-04 02:00:36 -07:00
Fabrizio Cucci a97109ef2e Kotlinify ContextUtils (#43832)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43832

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: arushikesarwani94

Differential Revision: D55708157

fbshipit-source-id: 8c89a569f5ace30c480dc562c2d8e4e5cab208dc
2024-04-04 02:00:36 -07:00
Fabrizio Cucci ce811a009d Kotlinify CoreComponentsRegistry (#43798)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43798

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: alanleedev

Differential Revision: D55656496

fbshipit-source-id: 5ef9161dd2f3834f71cb0ac634b60bf146eb41ad
2024-04-04 00:24:45 -07:00
Fabrizio Cucci 1aabaecde0 Kotlinify ReactHorizontalScrollContainerViewManager (#43795)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43795

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: alanleedev

Differential Revision: D55654460

fbshipit-source-id: 9a498619d6a7e6c3691dcddf1ec455974b8d8e1f
2024-04-04 00:23:49 -07:00
Fabrizio Cucci d7d6a8fbe8 Kotlinify RootViewManager (#43791)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43791

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: cortinico

Differential Revision: D55641381

fbshipit-source-id: 6f36ccbd5143c5c344d2f795e45e85660534c7c3
2024-04-04 00:22:22 -07:00
Fabrizio Cucci 722eb286fb Kotlinify DevSupportSoLoader (#43774)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43774

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: cortinico

Differential Revision: D55637189

fbshipit-source-id: 88ebab2cfc7169f73b650c8a93e981231a9bc695
2024-04-04 00:17:57 -07:00
Alan Lee 76a29fc8e7 convert DebuggingOverlayManager to Kotlin (#43818)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43818

convert Java to Kotlin: `react/views/debuggingoverlay/DebuggingOverlayManager.java`

Changelog:
[Internal] internal

Reviewed By: makovkastar

Differential Revision: D55662140

fbshipit-source-id: 6ebb5806be153a6427b9d1f35bbdda5e4cf98d11
2024-04-03 23:42:44 -07:00
Alan Lee 49c40812ca convert DebuggingOverlay to Kotlin (#43819)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43819

convert Java to Kotlin: `react/views/debuggingoverlay/DebuggingOverlay.java`

Changelog:
[Internal] internal

Reviewed By: makovkastar

Differential Revision: D55662115

fbshipit-source-id: 45fd36efdb93a598224af0fb6c9d33ac5e5cad27
2024-04-03 23:42:44 -07:00
Alan Lee 9876adba4a convert TraceUpdate to Kotlin (#43805)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43805

convert Java to Kotlin: `react/views/debuggingoverlay/TraceUpdate.java`

Changelog:
[Internal] internal

Reviewed By: cortinico

Differential Revision: D55658446

fbshipit-source-id: d5c8d714f759b78138ea9069dc179c13ff10adeb
2024-04-03 23:42:44 -07:00
Nicola Corti 26cc8cddf9 Do not attempt to call Class.forName in OSS (#43816)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43816

We should not attempt to load generated classes by the Annotation processor in OSS because we simply don't run it, so those classes will fail to load. I'm short-circuiting the logic here.

This is sustainability work as we got a report for this in OSS a while ago and I never got the time to work on it.

Changelog:
[Internal] [Changed] - Do not attempt to call Class.forName in OSS

Reviewed By: rshest

Differential Revision: D55693479

fbshipit-source-id: 3ec84e2c7940011b48f354058b5099b46065166d
2024-04-03 23:00:03 -07:00
Alan Lee 8c62df6396 convert MeasureSpecAssertions to Kotlin (#43797)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43797

convert Java to Kotlin: `/react/uimanager/MeasureSpecAssertions.java`

Changelog:
[Internal] internal

Reviewed By: makovkastar

Differential Revision: D55606951

fbshipit-source-id: ca01a80f70583f39feb3e01c4bdb2367a3b770c0
2024-04-03 22:27:54 -07:00
Andrew Datsenko e9d9de1a1e Update useNativeViewConfigsInBridgelessMode (#43822)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43822

Changelog: [Internal]

# Feature flag cleanup/migration
This migration is part of the new Feature Flag system built by rubennorte. The goal of this migration is to clean up our Feature Flags and consolidate them into a single place, accessible by all platforms.

# In this diff
Replaced `ReactFeatureFlags.useNativeViewConfigsInBridgelessMode` with `ReactNativeFeatureFlags.useNativeViewConfigsInBridgelessMode()`

Reviewed By: cortinico

Differential Revision: D55695173

fbshipit-source-id: e5158a9d5606f16f8e333321bad472f7eb315d0b
2024-04-03 19:20:06 -07:00
Andrew Datsenko bd70d9c83c Add useNativeViewConfigsInBridgelessMode (#43817)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43817

Changelog: [Internal]

# Feature flag cleanup/migration
This migration is part of the new Feature Flag system built by rubennorte. The goal of this migration is to clean up our Feature Flags and consolidate them into a single place, accessible by all platforms.
# In this diff
Generate new flag useNativeViewConfigsInBridgelessMode that will be used in

https://www.internalfb.com/code/fbsource/[2b7df36a7830c2713219538f83683d6b675fc369]/xplat/js/react-native-github/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactInstance.java?lines=233

https://www.internalfb.com/code/fbsource/[2b7df36a7830c2713219538f83683d6b675fc369]/xplat/js/react-native-github/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/defaults/DefaultNewArchitectureEntryPoint.kt?lines=46

Reviewed By: cortinico

Differential Revision: D55693703

fbshipit-source-id: e42eedb34ab3db6f21ffd97332e89cb2546566c9
2024-04-03 19:20:06 -07:00
Arushi Kesarwani 99c80114e2 Migrate JSRuntimeFactory to Kotlin (#43748)
Summary:
JSRuntimeFactory.java -> JSRuntimeFactory.kt

Pull Request resolved: https://github.com/facebook/react-native/pull/43748

Changelog: [Internal]

Reviewed By: cortinico, rshest

Differential Revision: D55605824

fbshipit-source-id: 7361972b020fbf2cc655be35c10e70aef96c20d5
2024-04-03 16:58:00 -07:00
Thomas Nardone 7a458025ca Convert debug/holder module (#43747)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43747

Convert module to Kotlin.
changelog: [internal] internal

Reviewed By: cortinico

Differential Revision: D55598977

fbshipit-source-id: d289e230bae721de6d7d209663fcdc35ec37fbac
2024-04-03 16:15:45 -07:00
Thomas Nardone 1139700424 debug/holder (#43746)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43746

Mark relevant classes as nullsafe prior to Kotlin conversion.

changelog: [internal] internal

Reviewed By: rshest

Differential Revision: D55591487

fbshipit-source-id: dc3ee0070c7b14aaca4c13cfdcc2422ce8c1d5a5
2024-04-03 16:15:45 -07:00
Nicola Corti e1c1910c9c Mark ReactModalHostView as @NullSafe (#43811)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43811

This class was really old and had a lot of potential NPEs as it was accessing fields that could have been not initialized properly. I'm fixing it here ahead of a Kotlin migration.

Changelog:
[Internal] [Changed] -  Mark ReactModalHostView as NullSafe

Reviewed By: fkgozali

Differential Revision: D55690285

fbshipit-source-id: 3e910da6dc43a30f2f86d4f1e9d02ead006a31c1
2024-04-03 14:05:19 -07:00
Arushi Kesarwani 3559a6c58a Migrate JSTimerExecutor to Kotlin (#43804)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43804

JSTimerExecutor.java -> JSTimerExecutor.kt

Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D55671797

fbshipit-source-id: f65ef2bf5e674908e40e00512a8b7a8751d66d77
2024-04-03 11:32:20 -07:00
Arushi Kesarwani 531e94b8d7 Migrate BridgelessReactStateTracker to Kotlin (#43792)
Summary:
BridgelessReactStateTracker.java -> BridgelessReactStateTracker.kt

Pull Request resolved: https://github.com/facebook/react-native/pull/43792

Changelog: [Internal]

Reviewed By: cortinico, rshest

Differential Revision: D55628784

fbshipit-source-id: 5327a13957f2fcc839a0ab3f6ac2ea86801200ec
2024-04-03 11:15:53 -07:00
Nicola Corti d9895b4522 Annotate AndroidUnicodeUtils as NullSafe (#43814)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43814

This is just an example on how to use the NullSafe annotation

Changelog:
[Internal] [Changed] - Annotate AndroidUnicodeUtils as NullSafe

Reviewed By: alanleedev

Differential Revision: D55419929

fbshipit-source-id: 4eac059c5992661ada4ef8d35327dd9a4bc11d25
2024-04-03 10:29:32 -07:00
Ruslan Shestopalyuk 75776a25c9 Kotlinify ImageLoadEvent (#43778)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43778

## Changelog:
[Internal] -

As in the title.

Reviewed By: cortinico

Differential Revision: D55640524

fbshipit-source-id: 191324a7001497fb550472307f080a939abac8e7
2024-04-03 10:02:11 -07:00
Nicola Corti e0c90100b5 Convert several classes inside com.facebook.react.views.modal to Kotlin (#43815)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43815

This moves a lot of classes from Java to Kotlin from the `package com.facebook.react.views.modal`

Changelog:
[Internal] [Changed] - Convert several classes inside `com.facebook.react.views.modal` to Kotlin

Reviewed By: rshest

Differential Revision: D55692067

fbshipit-source-id: 67e93c9d5d5f58add31ca6726c9f1e4ac2e8ffc3
2024-04-03 09:53:17 -07:00
Ruslan Shestopalyuk 3ef1fac749 Kotlinify ScrollEvent (#43779)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43779

## Changelog:
[Internal] -

As in the title.

Reviewed By: cortinico

Differential Revision: D55641002

fbshipit-source-id: 093fa2f1efbdf2b66593a485cac7e62af7ac69ee
2024-04-03 09:05:32 -07:00
Nicola Corti 426aa0d504 Mark ReactModalHostManager as NullSafe (#43812)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43812

Mark ReactModalHostManager as NullSafe

Changelog:
[Internal] [Changed] - Mark ReactModalHostManager as NullSafe

Reviewed By: rshest

Differential Revision: D55690286

fbshipit-source-id: f347fc28dfccbca03d76c276c09e5c099397535c
2024-04-03 08:21:05 -07:00
Jane Li 79e5e64b9a RN changes to enable fragment-based navigation [1/3] (#43789)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43789

This diff introduces some changes to React Native needed to enable fragment-based navigation (see next diff for usage).

Fragment-based navigation will enable us to, instead of re-creating the entire main activity on navigation, create a fragment instead - allowing us to bypass a lot of unnecessary onCreate() logic in our main activity to improve user experience and performance.

Changelog:
[Internal] [Changed] - Add option to skip calling delegate on ReactFragment lifecycle events

Reviewed By: keoskate

Differential Revision: D55646221

fbshipit-source-id: 45b148cb9ecdb1484f1ac714ac2b93ce09c52237
2024-04-03 08:18:46 -07:00
Alex Hunt d855974dae Set prefersFuseboxFrontend capability flag in jsinspector-modern targets (#43689)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43689

Context: https://github.com/facebookexperimental/rn-chrome-devtools-frontend/pull/34.

Changelog: [Internal]

Reviewed By: motiz88

Differential Revision: D55474521

fbshipit-source-id: 9756fe29adcbdda686af24c1a65073720cba4b53
2024-04-03 08:07:39 -07:00
Ruslan Shestopalyuk 7a5bf02275 Migrate Spacing.java to Kotlin (#43733)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43733

## Changelog:
[Internal] -

As in the title.

Reviewed By: tdn120

Differential Revision: D55574525

fbshipit-source-id: a39b376026729c56d59e61db1a7d4a01711836be
2024-04-03 08:03:10 -07:00
Fabrizio Cucci ca5d940fe4 Kotlinify CallInvokerHolderImpl (#43796)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43796

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: cortinico

Differential Revision: D55655061

fbshipit-source-id: fd2c81ce91681f9f26e2b4a659b8fbae8a4b7d51
2024-04-03 06:26:29 -07:00
Ruslan Shestopalyuk e1800726af Migrate SystemClock and JavaScriptException to Kotlin (#43732)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43732

## Changelog:
[Internal] -

As in the title.

Reviewed By: cortinico

Differential Revision: D55574532

fbshipit-source-id: bffa17a4be0f881a574988c34d9446f6392c816c
2024-04-03 06:16:17 -07:00
Ruslan Shestopalyuk f2bdec2835 Migrate ResourceDrawableHelper.java (#43765)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43765

## Changelog:
[Internal] -

As in the title, migrates the corresponding file to Kotlin.

Reviewed By: cortinico

Differential Revision: D55636177

fbshipit-source-id: 9e7f94475185953f22fdcb0b4c94b84d4fc4e931
2024-04-03 06:00:05 -07:00
Ruslan Shestopalyuk 11108f3763 Migrate ProgressBarShadowNode.java to Kotlin (#43770)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43770

# Changelog:
[Internal] -

As in the title.

Reviewed By: cortinico

Differential Revision: D55636867

fbshipit-source-id: 2c88d8e2c39baead0094865af9dd7de5d6bc111a
2024-04-03 05:57:12 -07:00
Ruslan Shestopalyuk c01edf4115 Migrate ViewProps.java to Kotlin (#43734)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43734

## Changelog:
[Internal] -

As in the title.

Reviewed By: tdn120

Differential Revision: D55574527

fbshipit-source-id: 6d8951479104cf2366c443b3be4775624927ac95
2024-04-03 05:55:40 -07:00
Fabrizio Cucci 558f6ba9f7 Kotlinify TouchEventType (#43793)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43793

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: arushikesarwani94

Differential Revision: D55654220

fbshipit-source-id: 36ac09e69560001e373befe2646561de1a3d3d71
2024-04-03 02:43:36 -07:00
Fabrizio Cucci ed3c0a1423 Kotlinify IllegalViewOperationException (#43794)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43794

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: alanleedev

Differential Revision: D55653543

fbshipit-source-id: 71414e4b46aea7497bb64881cfb99d3b5c84c150
2024-04-03 02:43:36 -07:00
Fabrizio Cucci 669bcb8675 Kotlinify YogaNodePool (#43786)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43786

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: alanleedev

Differential Revision: D55643838

fbshipit-source-id: 0138a9a9c328bea4838ab4f4c5a0db8a7436ebbe
2024-04-03 02:43:36 -07:00
Fabrizio Cucci 08af9eaa29 Kotlinify ComponentFactory (#43783)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43783

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: alanleedev

Differential Revision: D55643354

fbshipit-source-id: de6b676ae138f823c0521f1dcc48f3bcb7fd4e04
2024-04-03 02:43:36 -07:00
Fabrizio Cucci 3856a46946 Kotlinify DispatchCommandMountItem (#43781)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43781

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: cortinico

Differential Revision: D55642568

fbshipit-source-id: e03a4cc5e2fac4b975d757944520d378f6ea368b
2024-04-03 02:43:36 -07:00
Fabrizio Cucci 0d04f5d147 Kotlinify LifecycleState (#43782)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43782

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: cortinico

Differential Revision: D55642371

fbshipit-source-id: d37fc2eb19635a70e60c57dc6c150aa7e713f778
2024-04-03 02:43:36 -07:00
Fabrizio Cucci 7df9dbbccf Kotlinify NativeKind (#43775)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43775

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: cortinico

Differential Revision: D55640039

fbshipit-source-id: 5e8f395db0b7010e9a8b225a472db3bb46459d00
2024-04-03 02:43:36 -07:00
Fabrizio Cucci de617d03e1 Kotlinify NotificationOnlyHandler (#43745)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43745

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: rshest

Differential Revision: D55601731

fbshipit-source-id: d5da4002ee12cea1b2e04df237cfd27a4727df05
2024-04-03 02:43:36 -07:00
Arushi Kesarwani b9dc0ae7de Reducing visibility of companion object in JSCInstance (#43800)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43800

Changelog: [Internal]

Facebook : D55610929 comments

Reviewed By: alanleedev

Differential Revision: D55657065

fbshipit-source-id: 3380dc13ee9cbc122a053a55363cc0842e01eded
2024-04-02 22:40:47 -07:00
Arushi Kesarwani e70caeec10 Unbreak build_android in OSS (#43803)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43803

The dependency resolution of java/com/facebook/soloader/annotation:annotation is missing in OSS and needs to be included in [build.gradle.kts](https://github.com/facebook/react-native/blob/main/packages/react-native/ReactAndroid/build.gradle.kts) instead

Changelog: [Internal]

Reviewed By: fkgozali

Differential Revision: D55664486

fbshipit-source-id: 3350241a7c90d075114e3f0c2776afc1ab209d5d
2024-04-02 17:42:02 -07:00
Fabrizio Cucci 7b302dc8bd Kotlinify RequestOnlyHandler (#43743)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43743

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: tdn120

Differential Revision: D55588782

fbshipit-source-id: 89f15fb55eaa338be97c938d6b23c3e77ce610f0
2024-04-02 16:17:39 -07:00
Fabrizio Cucci 7d60f403f9 Kotlinify SingleThreadAsserter (#43768)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43768

Changelog: [Internal]

As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)).

Reviewed By: cortinico

Differential Revision: D55636773

fbshipit-source-id: 2f3d1c73a5d3c7d229b854ab73dcf2902a639c3a
2024-04-02 16:17:39 -07:00