Commit Graph

12270 Commits

Author SHA1 Message Date
Intl Scheduler 92199a727c translation auto-update for Apps/Wilde/scripts/intl-config.json on master
Summary:
Chronos Job Instance ID: 1125907902463243
Sandcastle Job Instance ID: 36028797995197700
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46832154

fbshipit-source-id: 82223c908ab80deb521ee3d29c4081d56591c072
2023-06-18 21:27:06 -07:00
Intl Scheduler a2f69158b5 translation auto-update for i18n/barcelona.config.json on master
Summary:
Chronos Job Instance ID: 1125907902394694
Sandcastle Job Instance ID: 27021598738649603
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46831128

fbshipit-source-id: 3c9139c13c1ace5a5a353caf1d15cdc2c7d10fe8
2023-06-18 16:56:26 -07:00
Intl Scheduler b2264b98d9 translation auto-update for i18n/pages-manager.config.json on master
Summary:
Chronos Job Instance ID: 1125907902394694
Sandcastle Job Instance ID: 27021598738649603
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46831131

fbshipit-source-id: 64464af3f09569f990b30ed20248bcf08f27ac76
2023-06-18 16:56:26 -07:00
Intl Scheduler 7725ea60e3 translation auto-update for i18n/creatorstudio.config.json on master
Summary:
Chronos Job Instance ID: 1125907902394694
Sandcastle Job Instance ID: 27021598738649603
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46831130

fbshipit-source-id: 69d04cbb97d4df569b385ea988a6d11e4a59e8ae
2023-06-18 16:56:26 -07:00
Intl Scheduler 53b721e578 translation auto-update for i18n/fb4a.config.json on master
Summary:
Chronos Job Instance ID: 1125907902394694
Sandcastle Job Instance ID: 27021598738649603
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46831143

fbshipit-source-id: f9c0bf1b4d30a4165a72d877fdd4eb6ebe88a094
2023-06-18 16:56:26 -07:00
Intl Scheduler 19abfac7b2 translation auto-update for i18n/anna.config.json on master
Summary:
Chronos Job Instance ID: 1125907902394694
Sandcastle Job Instance ID: 27021598738649603
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46831139

fbshipit-source-id: 81a7d7b6ad5decfb951fb486b8af68c5d011bb86
2023-06-18 16:56:26 -07:00
Intl Scheduler 564a83681c translation auto-update for Apps/Wilde/scripts/intl-config.json on master
Summary:
Chronos Job Instance ID: 1125907902391870
Sandcastle Job Instance ID: 4503600603166431
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46830005

fbshipit-source-id: acd3c21501ec9a763c0ba0e3c0a185a25d9f3afd
2023-06-18 11:55:33 -07:00
Intl Scheduler d052d5f780 translation auto-update for i18n/talk.config.json on master
Summary:
Chronos Job Instance ID: 1125907902027871
Sandcastle Job Instance ID: 27021598738469361
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46828652

fbshipit-source-id: ec58fe8ebdad312609743f1674f308f18ce33891
2023-06-18 06:43:34 -07:00
Intl Scheduler 27fb8b2bca translation auto-update for i18n/barcelona.config.json on master
Summary:
Chronos Job Instance ID: 1125907902027871
Sandcastle Job Instance ID: 27021598738469361
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46828650

fbshipit-source-id: 70fd9f800fca23d727f6246d6ff659d2e8e0da51
2023-06-18 06:43:34 -07:00
Intl Scheduler 1231ab6472 translation auto-update for i18n/adsmanager.config.json on master
Summary:
Chronos Job Instance ID: 1125907902027871
Sandcastle Job Instance ID: 27021598738469361
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46828645

fbshipit-source-id: 1b21b2d39dd81e00b1f572732d4849e3333910fc
2023-06-18 06:43:34 -07:00
Intl Scheduler 692458c72c translation auto-update for i18n/pages-manager.config.json on master
Summary:
Chronos Job Instance ID: 1125907902027871
Sandcastle Job Instance ID: 27021598738469361
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46828649

fbshipit-source-id: 612bf012bea257dec10d7cca83069d7c267b420b
2023-06-18 06:43:34 -07:00
Intl Scheduler fed0be56c2 translation auto-update for Apps/Wilde/scripts/intl-config.json on master
Summary:
Chronos Job Instance ID: 1125907902062758
Sandcastle Job Instance ID: 18014399485519691
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46827865

fbshipit-source-id: 03cf98f93fc2fb1329079a76da30248ac8d131fd
2023-06-18 05:00:07 -07:00
Intl Scheduler 061e3245b5 translation auto-update for Apps/Wilde/scripts/intl-config.json on master
Summary:
Chronos Job Instance ID: 1125907901759875
Sandcastle Job Instance ID: 27021598738215434
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46823756

fbshipit-source-id: 0065c2c182c5cabf504097cc4d05fd56064663fc
2023-06-17 12:14:40 -07:00
Intl Scheduler 36b5fe0b1e translation auto-update for i18n/talk.config.json on master
Summary:
Chronos Job Instance ID: 1125907901618950
Sandcastle Job Instance ID: 13510799857052383
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46823029

fbshipit-source-id: f5e5c1480fd6b85b2b08c227b1d9913c010f1531
2023-06-17 09:29:58 -07:00
Intl Scheduler b5b2d8d076 translation auto-update for i18n/oculus-mirage.config.json on master
Summary:
Chronos Job Instance ID: 1125907901618950
Sandcastle Job Instance ID: 13510799857052383
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46823020

fbshipit-source-id: d4aa979a0e8c7090192f90ece1c6cbe738cdbbbc
2023-06-17 09:29:58 -07:00
Samuel Susla bb879d3ecb Move CoreFeatures to React-utils (#37599)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37599

changelog: [internal]

Moving CoreFeatures class to `utils` module from `core` module. There are other modules besides `core` that need to use CoreFeatures and moving it to `utils` will prevent circular dependency.

Reviewed By: javache, rshest

Differential Revision: D46218604

fbshipit-source-id: 6030f00ad37f55f0c95f4eafa61fb22808b880a4
2023-06-17 07:49:56 -07:00
Ruslan Shestopalyuk af57ce18d8 Hide unnecessarily exposed private methods in GlobalPerformanceLogger (#37947)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37947

# Changelog:
[Internal] -

This is a follow-up to an earlier change, that inadvertently added internal methods as public into the GlobalPerformance API.

Reviewed By: rubennorte

Differential Revision: D46820273

fbshipit-source-id: b960b436e3e5e8f81a76bd3ced7282f76906dfca
2023-06-17 06:05:33 -07:00
Intl Scheduler 53526e756f translation auto-update for Apps/Wilde/scripts/intl-config.json on master
Summary:
Chronos Job Instance ID: 1125907901446115
Sandcastle Job Instance ID: 18014399485170687
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46821576

fbshipit-source-id: b758826346428ca2b40d079b10de336c433e6755
2023-06-17 04:19:19 -07:00
Intl Scheduler c7d0a8823c translation auto-update for i18n/anna.config.json on master
Summary:
Chronos Job Instance ID: 1125907901184259
Sandcastle Job Instance ID: 27021598737781976
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46819604

fbshipit-source-id: 7ea92faedbf50ec760a975c46a7ae7773f91d7e7
2023-06-16 21:41:32 -07:00
Intl Scheduler 2f4182da06 translation auto-update for i18n/talk.config.json on master
Summary:
Chronos Job Instance ID: 1125907901184259
Sandcastle Job Instance ID: 27021598737781976
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46819606

fbshipit-source-id: 8cd775f6124e3ce996dc521efa2b9477eb0b6938
2023-06-16 21:41:32 -07:00
Intl Scheduler 17b714fd8a translation auto-update for i18n/portal_async.config.json on master
Summary:
Chronos Job Instance ID: 1125907901184259
Sandcastle Job Instance ID: 27021598737781976
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46819589

fbshipit-source-id: 7ab988d4a3bd446c65dad778e1da14f7dca27d97
2023-06-16 21:41:32 -07:00
Intl Scheduler 71e7bbbc2c translation auto-update for Apps/Wilde/scripts/intl-config.json on master
Summary:
Chronos Job Instance ID: 1125907901243147
Sandcastle Job Instance ID: 36028797994468775
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46819262

fbshipit-source-id: 85876f5642d606661725f2f9cf81b114d6b0bc06
2023-06-16 20:39:36 -07:00
Vincent Riemer 3aa42a2d3d Add plumbing/boilerplate for an iOS implementation of the gotpointercapture and lostpointercapture events (second try) (#37889)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37889

Changelog: [Internal] - Add plumbing/boilerplate for an iOS implementation of the gotpointercapture and lostpointercapture events

Lets try this again: The key difference between this and D44977499 (which I previously reverted) is that in propsConversions & primitives I've ommited the "capture" versions of those methods as it was causing issues. Since we're not doing any runtime checks of those raw props it isn't particularlly necessary (at least not yet) and if we ever want to we can address that when it comes up.

The original diff description follows:

This diff simply adds the boilerplate necessary to hook up the gotpointercapture and lostpointercapture events to the fabric iOS touch handler. This diff does not contain any actual implementation of their behavior as that will occur in future diffs.

Reviewed By: adanoff

Differential Revision: D46709127

fbshipit-source-id: 339dc99e14f2e72d9116bbe84edc67cb5bfaa73b
2023-06-16 15:09:13 -07:00
Intl Scheduler 9a8071e401 translation auto-update for i18n/oculus-mirage.config.json on master
Summary:
Chronos Job Instance ID: 1125907901104572
Sandcastle Job Instance ID: 22517999110029078
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46813068

fbshipit-source-id: 33a0e3f4d5884076c8f671ded84ba198113967f2
2023-06-16 14:55:08 -07:00
Intl Scheduler b687499801 translation auto-update for i18n/instagram.config.json on master
Summary:
Chronos Job Instance ID: 1125907901104572
Sandcastle Job Instance ID: 22517999110029078
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46813063

fbshipit-source-id: 971a766c6328770cb7e620bbf1d2a0592b825c1b
2023-06-16 14:55:08 -07:00
Intl Scheduler 8bb7f527df translation auto-update for i18n/messenger.config.json on master
Summary:
Chronos Job Instance ID: 1125907901104572
Sandcastle Job Instance ID: 22517999110029078
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46813060

fbshipit-source-id: 366a682d7f3a7f155eb173e257bea7d4e21c9bdc
2023-06-16 14:55:08 -07:00
Intl Scheduler 47d1e3b966 translation auto-update for i18n/talk.config.json on master
Summary:
Chronos Job Instance ID: 1125907901104572
Sandcastle Job Instance ID: 22517999110029078
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46813053

fbshipit-source-id: 08bd5a03dab002835af32575414cb48d880a2609
2023-06-16 14:55:08 -07:00
Intl Scheduler 25c9d0fdee translation auto-update for i18n/fb4a.config.json on master
Summary:
Chronos Job Instance ID: 1125907901104572
Sandcastle Job Instance ID: 22517999110029078
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46813062

fbshipit-source-id: fed7836f590cc9b2b3028ad268b0783da0498c5b
2023-06-16 14:55:08 -07:00
Intl Scheduler 56e402c22c translation auto-update for i18n/analyticsapp.config.json on master
Summary:
Chronos Job Instance ID: 1125907901104572
Sandcastle Job Instance ID: 22517999110029078
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46813056

fbshipit-source-id: becc2692aab72b681eae33f4ffedfbe74b6a39fe
2023-06-16 14:55:08 -07:00
Intl Scheduler 62ec7a3211 translation auto-update for i18n/portal_workplacelive_on_portal.config.json on master
Summary:
Chronos Job Instance ID: 1125907901104572
Sandcastle Job Instance ID: 22517999110029078
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46813059

fbshipit-source-id: 53157d153de606108ed936e3d5f7ffca474be1b8
2023-06-16 14:55:08 -07:00
Nick Gerleman 19699ab3b5 Native ARIA Roles: Remove JS Shim (#37304)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37304

### Stack

ARIA roles in React Native are implemented on top of accessibilityRole. This is lossy because there are many more ARIA roles than accessibilityRole. This is especially true for RN on desktop where accessibilityRole was designed around accessibility APIs only available on mobile.

This series of changes aims to change this implementation to instead pass the ARIA role to native, alongside any existing accessibilityRole. This gives the platform more control in exactly how to map an ARIA role to native behavior.

As an example, this would allow mapping any ARIA role to AutomationControlType on Windows without needing to fork to add new options to accessibilityRole.

It also allows greater implementation flexibility for other platforms down the line, but for now, iOS and Android behave the same as before (though with their implementation living in native).

### Diff

This removes the JS shimming of `role` to `accessibilityRole`. It can be landed when the native `role` implementation for both iOS and Android are live for versions we service out of band.

This will require any out of tree platforms to add their own native implementation for `role` to continue to work.

Changelog: [Internal]

Reviewed By: philIip

Differential Revision: D45432518

fbshipit-source-id: 02ac28049a029381af019c042fc7f37833f4157c
2023-06-16 13:21:49 -07:00
Genki Kondo 5f8bbf2bd2 Mitigate flickering on color animations (#37925)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37925

Vectorized animations (XY, Color) are split into multiple animations for each component that execute in parallel. Upon each of these animations completing, a rerender is triggered to sync the state back to the JS AnimatedValue nodes.

The problem with this is that calling update() on AnimatedProps when each animation completes results in potential flickering as all animations that are part of the vectorized animation may not have completed yet. For example, only the animation for the red channel of an animating color may have been completed, resulting in a temporary red color being rendered. So, for now, ignore AnimatedProps that use a vectorized animation.

Follow up will properly address vectorized animations - only call the update() when all animations complete.

Changelog:
[General][Fixed] - Mitigate flickering on color animations

Reviewed By: rshest

Differential Revision: D46778405

fbshipit-source-id: 5ecb0be95a131b22e5081024d4e094b22b57aac4
2023-06-16 10:40:39 -07:00
Riccardo Cipolleschi 71936fcf43 Fix hermes-engine in Nightlies
Summary:
With commit [332be0f](https://github.com/facebook/react-native/commit/332be0f0c84c48e0b0edd373636b0b5538fa3b2b) nightlies were broken due to a wrong update with the method we need to use to download hermes.

This change fixes that issue

## Changelog:
[Internal] - Fix hermes-engine download in Nightlies

Reviewed By: cortinico

Differential Revision: D46800717

fbshipit-source-id: 62ce94b980110f46337ce2520fa3c9fbcfe856cc
2023-06-16 10:25:49 -07:00
Nicola Corti 84fc79f453 Bump Gradle to 8.1.1
Summary:
Just keeping our Gradle version up to date.

Changelog:
[Internal] [Changed] - Bump Gradle to 8.1.1

Reviewed By: yungsters

Differential Revision: D46769069

fbshipit-source-id: b79ae35473f40e821cf6a1b8e094e33d1b1a44d7
2023-06-16 08:40:11 -07:00
Nicola Corti f38fc9ba86 Unblock test_android by using a non-internal method of OkHTTP
Summary:
test_android is currently broken due to us using `toHttpUrl` which is `Deprecated` with
.ERROR severity level in OkHTTP 4. This fixes it by using the HttpUrl.Builder class
which is always accessible in OkHTTP.

Changelog:
[Internal] [Changed] - Unblock test_android by using a non-internal method of OkHTTP

Reviewed By: sammy-SC

Differential Revision: D46799515

fbshipit-source-id: 874194f0d9be6ba48b49a86b1a17836a8310cc8d
2023-06-16 08:06:08 -07:00
Pieter De Baets a855013fc6 Use static_cast instead of static_pointer_cast where possible (#37932)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37932

`static_cast<Derived &>(*sharedBase)` is preferred over `*std::static_pointer_cast<Derived>(sharedBase)`, since we don't need to copy the underlying shared_ptr to do so. The same applies for `std::const_pointer_cast`.

Changelog: [Internal]

Reviewed By: rshest

Differential Revision: D46766558

fbshipit-source-id: 5d0b660107b2a60340952e2b5ec2792e3ed1832a
2023-06-16 08:00:57 -07:00
Intl Scheduler fa17aad24e translation auto-update for Apps/Wilde/scripts/intl-config.json on master
Summary:
Chronos Job Instance ID: 1125907900746121
Sandcastle Job Instance ID: 13510799856289353
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46799013

fbshipit-source-id: fb554c0a053e01f0f7627cee2b896ee7372f6773
2023-06-16 06:37:11 -07:00
Intl Scheduler 6350f77b0a translation auto-update for i18n/analyticsapp.config.json on master
Summary:
Chronos Job Instance ID: 1125907900691355
Sandcastle Job Instance ID: 4503600601881693
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46798911

fbshipit-source-id: 3ad5f39013157f0b4b27df470a5e3f50ca569dbb
2023-06-16 06:33:44 -07:00
Intl Scheduler ba726f6975 translation auto-update for i18n/portal_smart_camera.config.json on master
Summary:
Chronos Job Instance ID: 1125907900691355
Sandcastle Job Instance ID: 4503600601881693
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46798916

fbshipit-source-id: 49b815201a355eb8ba1a9d964ccba88a68e66d6a
2023-06-16 06:33:44 -07:00
Intl Scheduler 4e699046a2 translation auto-update for i18n/instagram.config.json on master
Summary:
Chronos Job Instance ID: 1125907900691355
Sandcastle Job Instance ID: 4503600601881693
allow-large-files
ignore-conflict-markers
opt-out-review

Differential Revision: D46798904

fbshipit-source-id: 3a6f475443656cb5cfe611269f7627cabd3a2173
2023-06-16 06:33:44 -07:00
Ruslan Shestopalyuk bd3d07773f Correct "does not exists" in Animated error messages (#37930)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37930

# Changelog:
[Internal] -

Was looking at some [crash report](https://github.com/facebook/react-native/pull/37927) on Github and noticed that error message has a grammar error.

Searching the code revealed three more, all in Animated.

This calms down my OCD :)

Reviewed By: sammy-SC

Differential Revision: D46792795

fbshipit-source-id: 5fcf78e38d5d1540d3699e81bbf4ba036fb5c74d
2023-06-16 06:23:09 -07:00
Andrew Wang 1525c5f342 Fix the issue that local reference overflows in Yoga 1 (#37929)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37929

X-link: https://github.com/facebook/litho/pull/952

X-link: https://github.com/facebook/yoga/pull/1308

Long story in short, we're trying to fix an issue with Yoga that could potentially lead to an overflow in the JNI local reference table.

Reviewed By: NickGerleman, astreet

Differential Revision: D46653732

fbshipit-source-id: 0bc34bd5a819037c046c62b651e414b249cbdcb8
2023-06-16 06:15:07 -07:00
Ruslan Shestopalyuk a4ef8b7d47 GlobalPerformanceLogger: handle cases when global.performance is not yet initialized (#37918)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37918

# Changelog:
[Internal] -

There is no guarantee that `setUpPeformance`, which establishes the `global.performance` object accordingly, will be always called before anything tries to use performance logging.

In fact, there is an example in FB4A with the early initialization of `MobileConfige`, which logs a time span to measure how long does it take to initialize.

This makes the web performance logging code safe from such scenarios.

Reviewed By: NickGerleman

Differential Revision: D46762527

fbshipit-source-id: e189cc3f587ade31a2b5d853634c35da207f5faa
2023-06-16 06:08:25 -07:00
Pankaj Khushalani f1901d43d5 migrate ReactCookieJarContainerTest to Kotlin (#37809)
Summary:
This PR migrates ReactCookieJarContainerTest.java to Kotlin as a part of the issue https://github.com/facebook/react-native/issues/37708

## Changelog:
[INTERNAL] [CHANGED] - Migrate ReactCookieJarContainerTest.java to Kotlin

<!-- 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/37809

Test Plan:
1. Run ./gradlew :packages:react-native:ReactAndroid:test.
2. All tests should pass.

Reviewed By: javache

Differential Revision: D46779169

Pulled By: rshest

fbshipit-source-id: b5caa9397ac1b852fc73d9c58afc4a21caeb8727
2023-06-16 04:05:49 -07:00
Ilya Zorin d097408c1c Correctly annotate ReactHost.onHostResume
Reviewed By: ezgicicek, ngorogiannis

Differential Revision: D46795053

fbshipit-source-id: 266c9f27e3db5cdf1e1bb0f9ce30e71b31f54e2d
2023-06-16 02:41:48 -07:00
Ruslan Shestopalyuk 621a7a8634 Extend expected Flow type of the global.performance object to match Performance API (#37917)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37917

# Changelog:
[Internal] -

The `global.performance` object now has all of the API defined according to the `Performance` API, so we can modify the local RN's flow definition override correspondingly.

Reviewed By: NickGerleman

Differential Revision: D46762326

fbshipit-source-id: 0d0b9ea271a91008e775d8cf59693c35758f71e5
2023-06-16 02:12:23 -07:00
Ruslan Shestopalyuk 92525ef3ae Untangle dependency loop in virtualized-lists (#37912)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37912

# Changelog:
[Internal] -

I've noticed bundler spamming with cyclical dependency warnings when working on FB4A.

This gets rid of the unneeded two-way dependency between `ListMetricsAggregator <-> VirtualizeUtils`.

Reviewed By: NickGerleman

Differential Revision: D46761080

fbshipit-source-id: a25f7eebbd177e24c39dad9af7ac574f3aa30f35
2023-06-16 00:44:20 -07:00
David Vacca c5496fd93f Introduce ReactSurfaceInterface
Summary:
This diff introduces ReactSurfaceInterface (as an empty interface).
The goal is to demonstrate that we will be extending interfaces iteratively, meaning we will complete this API as we advance on the Stable API of surface in H2

bypass-github-export-checks

changelog: [internal] internal

Reviewed By: cortinico

Differential Revision: D46770420

fbshipit-source-id: 48b1ee302c157ae3431d61c84322d788d149f881
2023-06-15 22:34:36 -07:00
David Vacca 0edc2f08e1 Refactor ReactApplication to support ReactHostInterface
Summary:
This diff refactors ReactApplication to support ReactHostInterface, the goal is to be able to use this interface to integrate bridgeless in RN Tester app

bypass-github-export-checks

changelog: [internal] internal

Reviewed By: cortinico

Differential Revision: D46770419

fbshipit-source-id: b3e88b12aab6287396b16b277f906026a07acad6
2023-06-15 22:34:36 -07:00
David Vacca 5f088a4ddf Reduce visibility of ReactHost.getDefaultBackButtonHandler() method
Summary:
Reduce visibility of ReactHost.getDefaultBackButtonHandler() method

bypass-github-export-checks

changelog: [internal] internal

Reviewed By: cortinico

Differential Revision: D46773273

fbshipit-source-id: 5608a03882ca33028f10c9e47f7ad77930eb6db9
2023-06-15 22:34:36 -07:00