Summary:
`android_ripple` on `Pressable` (and `TouchableNativeFeedback.Ripple()`) only
accepted numeric (pre-processed ARGB int) colors. Passing a `PlatformColor`
would throw an invariant in JS, making theme-aware ripple colors impossible.
This PR removes those guards and wires up the full color pipeline:
1. **JS** (`useAndroidRippleForView.js`, `TouchableNativeFeedback.js`):
removed the `invariant` that rejected non-numeric processed colors.
`TouchableNativeFeedback.Ripple()` now accepts `ColorValue` instead of
`string`.
2. **C++** (`NativeDrawable.h`, `HostPlatformViewProps.cpp`): `color`
changed from `int32_t` to `SharedColor` + a separate `colorResourcePaths`
field for `PlatformColor` resource paths. The `fromRawValue` pipeline now
resolves both plain colors and `PlatformColor` objects.
3. **Kotlin** (`ReactDrawableHelper.kt`): `getColor()` now handles both
numeric and `PlatformColor` map values via `ColorPropConverter.getColor()`,
catching `JSApplicationCausedNativeException` to fall back gracefully
instead of crashing.
4. **Theme change support** (`ReactViewGroup.kt`): the raw drawable
description maps are retained on the view, and `onConfigurationChanged`
re-applies them so ripple colors update automatically on light/dark mode
switch.
A new `alpha: number` (0–1) field is also added so users can apply opacity to
a `PlatformColor` whose value is fully opaque and can't have alpha embedded at
the JS level. It is applied by multiplying into the resolved color's alpha
channel.
Unresolvable `PlatformColor` resources are handled gracefully: on New Arch,
C++ omits the `color` key so Kotlin falls back to `colorControlHighlight`; on
Old Arch, `ReactDrawableHelper` catches the `JSApplicationCausedNativeException`
and falls back to `colorControlHighlight` instead of crashing.
[ANDROID] [ADDED] - `android_ripple` now accepts `PlatformColor` for
theme-aware ripple colors, and a new `alpha` (0–1) parameter for controlling
ripple opacity independently of the color value.
Pull Request resolved: https://github.com/facebook/react-native/pull/56395
Test Plan:
**Automated:**
- Existing Pressable snapshot tests pass unchanged.
- Updated snapshot for `PlatformColor + alpha` to use `?attr/colorAccent`
(matching the RNTester example).
- Added snapshot test `should not crash with an unresolvable PlatformColor`
verifying the component renders at the JS level without throwing.
**Manual (RNTester → Pressable → "Pressable with PlatformColor ripple and alpha"):**
1. `PlatformColor('?attr/colorAccent'), no alpha` → full-opacity accent ripple
2. `PlatformColor('?attr/colorAccent'), alpha=0.3` → 30% opacity accent ripple
3. `#FF0000, no alpha` → full red ripple (regression check)
4. `#FF0000, alpha=0.5` → 50% opacity red ripple
5. Toggle system light/dark mode → ripple color updates automatically
6. Pass an intentionally invalid attribute (e.g. `?attr/doesNotExist`) → no
crash, ripple falls back to default `colorControlHighlight` grey
[Screen_recording_20260410_091000.webm](https://github.com/user-attachments/assets/5607d267-8cf1-4bbe-bad1-a80aac82d027)
> [!NOTE]
This is required in [React Native Paper](https://github.com/callstack/react-native-paper) to be able to fully support the Material Design specs but also useful as a general purpose feature for providing more flexibility when customizing ripple color.
Reviewed By: javache
Differential Revision: D105819708
Pulled By: fabriziocucci
fbshipit-source-id: d27c43e0b4e619b6af1c8de0cdb2882db05ee33c
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56534
Fix two ThreadSanitizer data races caught by the messenger_demo integration test under dev-tsan mode.
**InspectorFlags**: `loadFlagsAndAssertUnchanged()` reads and writes `cachedValues_` without synchronization. The main thread calls it via `getIsProfilingBuild()` while the JS thread calls it via `getNetworkInspectionEnabled()`, racing on the shared `optional<Values>`. Add a `std::mutex` to protect `cachedValues_` access. The lock is taken after computing `newValues` from feature flags, so flag reads stay outside the critical section. `dangerouslyResetFlags()` also acquires the lock to avoid racing with concurrent flag reads.
**Inspector**: `Inspector::connectDebugger()` is called from the main thread but creates and uses `packagerConnection_` which is also accessed on the inspector thread. Dispatch the body of `connectDebugger()` to the task dispatch thread via `invokeElsePost()`, matching the pattern other Inspector methods already use. This ensures `InspectorPackagerConnection::connect()` is called on the correct thread as its API requires.
Changelog: [Internal]
Reviewed By: hoxyq
Differential Revision: D101809616
fbshipit-source-id: 92eac22ca9ab364daafc403a0fdbb39394bd0f63
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56575
Migrates RCTBlobManager on iOS from using private API (RCTBridge+Private.h / RCTCxxBridge) to using the standardized RCTTurboModuleWithJSIBindings protocol for installing JSI bindings. This aligns with the Android implementation and removes dependency on private React API.
Changelog: [Internal]
Reviewed By: sammy-SC
Differential Revision: D102145286
fbshipit-source-id: 9907f5a2f64ae55741e25d9b96ae42e94e7e5385
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56520
Fixed clang-diagnostic-unused-parameter warnings in graphicsConversions.h by commenting out unused `context` parameters in 4 fromRawValue() functions.
The `context` parameter is part of the fromRawValue interface but is not used in the Point, Size, EdgeInsets, and CornerInsets implementations. Used the comment-out approach (/* context */) to maintain API compatibility while fixing the warnings.
Changelog: [Internal]
Reviewed By: NickGerleman
Differential Revision: D101108326
fbshipit-source-id: b245c466223b6da9efa91ed3c3686fc967bde254
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56519
Fixed clang-diagnostic-unused-parameter warnings in ShadowNode.h by commenting out unused parameter names in the completeClone method. This addresses warnings for parameters `sourceShadowNode` and `fragment` that were declared but not used in the function body.
Also applied lint patch to remove redundant `virtual` keyword from the destructor declaration.
Changelog: [Internal]
Reviewed By: mdvacca
Differential Revision: D101108467
fbshipit-source-id: 3c717f27df362e68f308b0e0f119b0fe43e82818
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56500
Fixed clang-diagnostic-unused-parameter warning in React Native's propsConversions.h by commenting out the unused `context` parameter in the `fromRawValue` template function.
This change maintains API compatibility while resolving the compiler warning.
Changelog: [Internal]
Reviewed By: NickGerleman
Differential Revision: D101111638
fbshipit-source-id: dd842db66917fe68878ddcc9d364ba3f7455a641
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56110
**Summary**
Removes the `double-conversion` dependency from `DoubleConversions.cpp` in the React Native repository.
- Removed Dependencies: `double-conversion/double-conversion.h`
Updated Code
* Modified `DoubleConversions.cpp` to use standard C++ library headers (`cmath` and `cstdio`) instead of `double-conversion`.
This change aims to reduce dependencies and simplify the codebase. The removed dependency was previously used for string conversion, which has been replaced with standard C++ library functions.
Changelog: [Internal]
Reviewed By: NickGerleman
Differential Revision: D96082175
fbshipit-source-id: abfb09d1175eba33e1a1694191f11534b4e7a00e
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56510
Implements the `Emulation.setEmulatedMedia` CDP method in `jsinspector-modern`, scoped to `prefers-color-scheme` emulation. This allows CDP clients to toggle the app color scheme for debugging and visual verification.
**Implementation notes**
Adds a new `EmulationAgent` CDP domain agent that validates the `features` param, rejects unsupported media features/types, and delegates to `HostTargetDelegate::onSetEmulatedMedia`. Platform delegates:
- **Android**: Calls `AppCompatDelegate.setDefaultNightMode()` on the UI thread via JNI through `ReactHostImpl`.
- **iOS**: Sets `overrideUserInterfaceStyle` on the key `UIWindow`.
Both platforms trigger their existing `Appearance` change event propagation to JS automatically.
Changelog:
[General][Added] - **React Native DevTools**: Add support for light/dark mode emulation via `Emulation.setEmulatedMedia`
Reviewed By: hoxyq
Differential Revision: D101624433
fbshipit-source-id: e795bf22327142bae0a7275ee92f7f778736541f
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56485
## Changelog:
[Internal] [Fixed] - Clear AnimatedPropsRegistry on surface stop
When `useSharedAnimatedBackend` is enabled, the `AnimatedPropsRegistry` accumulates
`SurfaceContext` entries (containing `shared_ptr<ShadowNodeFamily>` and `PropsSnapshot`
data) for each surface that has animated views. These entries are never cleaned up when
a surface is destroyed via `UIManager::stopSurface()`, because that method only calls
the legacy `stopSurfaceForAnimationDelegate()` — the shared backend's registry is untouched.
We also see increased `RetryableMountingLayerException` errors in production which stack trace
shows there are mount items committing to surface that no longer exists.
This change:
1. Adds `animationBackend_->clearRegistry(surfaceId)` to `UIManager::stopSurface()`
2. Changes `AnimatedPropsRegistry::clear()` to fully erase the `surfaceContexts_` map
entry instead of just clearing its contents
Reviewed By: christophpurrer
Differential Revision: D101354994
fbshipit-source-id: c7668f728050a0d3f5c09ad5ca51e48450c1b87e
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56503
Changelog: [Internal]
Changes the signals pointing out C++ api snapshot not being updated to be blocking.
Commits the new baseline snapshots
Reviewed By: cipolleschi, cortinico
Differential Revision: D101617655
fbshipit-source-id: 8836cb55292ab2e3fa0b696d289f9bd0daf46dec
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56460
## Changelog:
[Internal] [Added] - Android bitmap snapshot capture and display
Implement the Android side of view transition bitmap snapshots.
**`ViewTransitionSnapshotManager`** (new Kotlin class):
Manages the full snapshot lifecycle as a `UIManagerListener`. Captures bitmaps
on the UI thread, maps them from source to target pseudo-element tags,
re-applies after mount cycles (since views may be recreated), and self-cleans
when views are deleted.
**JNI bridge:**
`FabricUIManagerBinding` → `FabricMountingManager` → `FabricUIManager` JNI
delegates to the snapshot manager.
**`SurfaceMountingManager.applyViewSnapshot`:** sets bitmap as view background
using the KTX `Bitmap.toDrawable` extension.
Reviewed By: sammy-SC, NickGerleman
Differential Revision: D99173446
fbshipit-source-id: 5efdd0d9ef064f24222bbbc07e5b32b6aac19d0b
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56458
## Changelog:
[Internal] [Added] - Add bitmap snapshot capture/display delegate plumbing
Wire view transition bitmap snapshot capture and display through the C++
delegate chain so platforms can implement snapshotting old-element views.
**ViewTransitionModule.cpp**: Call `uiManagerDidCaptureViewSnapshot(tag,
surfaceId)` in `applyViewTransitionName` to capture a bitmap of the old view
while it is still mounted, and `uiManagerDidSetViewSnapshot(sourceTag,
targetTag, surfaceId)` in `applySnapshotsOnPseudoElementShadowNodes` to map
captured bitmaps onto pseudo-element views.
**UIManagerDelegate / SchedulerDelegate**: Add pure virtual
`captureViewSnapshot` and `setViewSnapshot` methods.
**Scheduler**: Forward `UIManagerDelegate` calls to `SchedulerDelegate`.
**Platform stubs**: Empty implementations for iOS (`RCTScheduler.mm`),
CxxPlatform (`SchedulerDelegateImpl`), and Android JNI
(`FabricUIManagerBinding`) — Android implementation follows in D99173446.
Reviewed By: NickGerleman
Differential Revision: D98354659
fbshipit-source-id: 239268bc10fba5f751856f66911e15feb3f1868e
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56401
Add `pushAnimationMutations(Callback)` to the AnimationBackend as a targeted alternative to `trigger()`.
The existing `trigger()` method has two problems:
1. **Blast radius**: It calls `onAnimationFrame()` which invokes ALL registered callbacks. When one animation frontend (e.g. Animated) calls `trigger()` in response to an event, every other frontend (e.g. Reanimated) also spins up unnecessarily.
2. **Broken timestamp on iOS**: `trigger()` uses `std::chrono::steady_clock` which on iOS maps to a different kernel clock than what `CADisplayLink` uses for vsync timestamps. These clocks have different baselines and can diverge over time (e.g. after device sleep), causing animations to see time jumps.
`pushAnimationMutations(Callback)` fixes both issues:
- Executes only the provided callback, not all registered ones
- Uses `AnimationChoreographer::now()` which delegates to `HighResTimeStamp`, providing a timestamp from the same clock as the vsync path on each platform
Also refactors `onAnimationFrame` to use `unpackMutations`/`applySurfaceUpdates` helpers, avoiding intermediate vector/set merging when accumulating mutations from multiple callbacks.
## Changelog:
[General][Added] - Add pushAnimationMutations to AnimationBackend for targeted event-driven animation updates
Reviewed By: zeyap
Differential Revision: D100164749
fbshipit-source-id: 53d36ed316614baa835707a45361ae8f3b828d26
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56367
Adds support for regex in the `exclude_symbols` field in the C++ API parser config. This enables better scoped definitions of symbols that should be matched.
Changelog:
[Internal]
Reviewed By: huntie
Differential Revision: D99844594
fbshipit-source-id: 0d2b4f9970c535afa6af8712c9435bdb06c50779
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56351
Excludes categories marked as `Deprecated` and `Internal` from the ReactApple C++ public API snapshots.
Changelog:
[Internal]
Reviewed By: huntie
Differential Revision: D99838922
fbshipit-source-id: c0266d0edcd4cef4af3d856ffc55b8a7bd07a299
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56341
Exclude members from .api snapshots when their types (return type, parameter types, variable type, typedef target, property type) reference excluded symbols. Previously, only compounds whose names matched exclude_symbols patterns were excluded — but members of non-excluded compounds could still reference excluded types, causing dangling type references (e.g., `facebook::yoga::ExperimentalFeature`) to appear in the snapshot.
Changelog:
[Internal]
Reviewed By: huntie
Differential Revision: D99434605
fbshipit-source-id: 24d304754161ca891316061dbfee8c2be08d5d40
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56319
While RCTScrollViewComponentView is overridable, its NOT a UIScrollView. It has a private property this is the scroll view and if you want to override UIScrollView behavior you have to change this.
Changelog: [Internal]
Reviewed By: sbuggay
Differential Revision: D99462381
fbshipit-source-id: fec7741248c229c301ba60b6b2b4d06bb14297de
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56307
Implement the `Page.captureScreenshot` CDP command in the inspector backend, allowing DevTools to capture an on-demand screenshot of the current app view. This is a minimal implementation supporting only the `format` (jpeg/png/webp) and `quality` (0-100, jpeg only) parameters, returning base64-encoded image data.
The feature is gated behind a new `fuseboxCaptureScreenshotEnabled` React Native feature flag, wired through `InspectorFlags` following the same pattern as frame recording.
**Motivation**
Improve agent verification / user feedback during AI sessions. We've proven that screenshots (in performance traces) are useful for understanding how components render on screen, and exposing this as an on-demand CDP method is relatively cheap today vs the larger task of modelling the DOM (Elements panel).
**Changes**
- New `fuseboxCaptureScreenshotEnabled` feature flag + `InspectorFlags` wiring (C++, Android JNI, Kotlin)
- `HostTargetDelegate::captureScreenshot()` virtual method with async callback
- C++ CDP handler in `HostAgent` — parses `format`/`quality`, delegates to platform, sends async CDP response (gated by flag)
- iOS (`RCTHost.mm`): Captures key window via `UIGraphicsImageRenderer` + `drawViewHierarchyInRect`, encodes to PNG/JPEG
- Android (`ReactHostImpl.kt`): Captures decor view via `Bitmap` + `Canvas` + `View.draw()`, encodes to PNG/JPEG/WebP
- 4 C++ tests: success, failure, param forwarding, flag-disabled rejection
Changelog: [Internal]
Reviewed By: hoxyq
Differential Revision: D99099930
fbshipit-source-id: d4d2ef86ba20d2ee230903e152dd21e11f29cbb8
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56294
Add Android instrumentation tests that validate the Java-side and C++ registry
behavior around view preallocation, destruction, and recreation — the core
scenario fixed by D98729251.
Two layers of tests:
1. **Java-side tests** (IntBufferBatchMountItem): Construct mount item int/obj
buffers manually and execute against MountingManager. Validates CREATE→INSERT
and Preallocate→Delete→CREATE→INSERT sequences through the Java mount system.
2. **Native registry tests** (FabricMountingManagerTestHelper): JNI hybrid class
that creates a real C++ FabricMountingManager and exercises the
allocatedViewRegistry_ lifecycle. Validates that after preallocate + destroy,
the tag is removed from the registry (the D98729251 fix), so executeMount
would correctly emit a CREATE instruction.
The native test helper is built as a separate library (libfabricjni_test_helper.so)
under jni/react/fabric/test/, with friend access to FabricMountingManager internals.
Changelog: [Internal]
Reviewed By: Abbondanzo
Differential Revision: D98935855
fbshipit-source-id: 2c41a19e037a34d5500b396836d8f453ab34a109
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56292
The TinyMap is a helper class under internal directory, not referenced anywhere in the snapshot, and considered unsafe (from the comment). It is not part of any module, so it is better to remove that from the snapshot.
The `packAnimatedProps` method is used in `AnimationBackend` for translation from `AnimatedProps` to `folly::dynamic` and should not be used outside of React Native.
Changelog:
[Internal]
Reviewed By: cipolleschi
Differential Revision: D98907855
fbshipit-source-id: e3a371cc088000a23f1ce1121fda808494979140
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56250
Excludes iOS-specific symbols from the ReactAndroid C++ API snapshot. The snapshot contains iOS native modules CxxSpec templates, their data structs, and bridging structs that have no relevance on Android. These symbols leaked because the Android codegen generates CxxSpec templates for ALL JavaScript module specs regardless of platform.
Changelog:
[Internal]
Reviewed By: cipolleschi
Differential Revision: D98480080
fbshipit-source-id: a5990c4769456ab756095129851eb4e8dbeda912
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56251
Excludes InputAccessory which is an iOS-only component with no Android support at any layer. In the `InputAccessoryView.js` there is explicit iOS guard which logs warning on Android.
Changelog:
[Internal]
Reviewed By: cipolleschi
Differential Revision: D98478125
fbshipit-source-id: 871923e001024971167a7bb2eb900ca3867983a4
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56249
Prevents iOS Switch component leaking into the ReactAndroid snapshot by adding `*/components/switch/iosswitch/*` path to the `exclude_patterns` in the parser config.
Changelog:
[Internal]
Reviewed By: cipolleschi
Differential Revision: D98473064
fbshipit-source-id: de25c4cbe839f8a065b8465e48a2b8c2a5ba81d7
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56244
Excludes symbols marked as Experimental from the C++ public API snapshots. Types with the "Experimental" prefix are explicitly not stable API — they represent features still under active development and are subject to change or removal without notice.
Changelog:
[Internal]
Reviewed By: cipolleschi
Differential Revision: D98454721
fbshipit-source-id: 7f7488fab6bc94c52b94a3ae2d9a7a7914815d63
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56242
Excluded symbols that contain "UnstableLegacy" from public stable C++ API snapshot, that is `UnstableLegacyViewManagerAutomaticComponentDescriptor` and `UnstableLegacyViewManagerInteropComponentDescriptor`.
Changelog:
[Internal]
Reviewed By: cipolleschi
Differential Revision: D98317003
fbshipit-source-id: deb4631a26ecb138007cf4958dbabb57ef3739cc
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56245
Removes feature flags from the C++ public API snapshots as they are considered private. This greatly reduces snapshots size.
Changelog:
[Internal]
Reviewed By: cipolleschi
Differential Revision: D98312529
fbshipit-source-id: e6aad9d930c7c77300329c25668dc2fc3a4686f2
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56243
Modifies C++ API parser config to accept `exclude_symbols` at the platform level and sets `Android` symbols to be excluded from the ReactApple snapshot.
Changelog:
[Internal]
Reviewed By: cipolleschi
Differential Revision: D98298766
fbshipit-source-id: 70b39fe4935e6791701c173e7c9e12532c2817a5
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56239
Doxygen incorrectly merges base classes from primary templates into their partial specializations. In C++, a specialization's inheritance list completely replaces the primary template's, but Doxygen combines both into a single basecompoundref list.
- **Contradictory type traits** — is_optional<std::optional<T>> and is_variant_of_data_types<std::variant<Ts...>> showed inheritance from both std::false_type (primary) and std::true_type (specialization)
- **Duplicate base classes** — Converter<jsi::Object> listed ConverterBase<jsi::Object> twice (once from the primary template after substitution, once from the specialization)
This diff fixes both issues with two complementary mechanisms:
- **Dedup-by-name (Extendable._deduplicate_base_classes)**: removes exact duplicate base classes, keeping the last occurrence. Handles cases where Doxygen's template argument substitution produces identical names.
- **Primary template base subtraction (StructLikeScopeKind._remove_merged_primary_bases)**: for partial specializations, looks up the primary template among sibling scopes and performs count-based subtraction of its bases. Count-based (rather than set-based) subtraction correctly preserves bases that a specialization explicitly re-inherits from the same class as the primary.
Changelog:
[Internal]
Reviewed By: cipolleschi
Differential Revision: D98291360
fbshipit-source-id: 82b34969b13c7df8babf2c5efc222b29979d6361
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56252
Removes stubs from the snapshot which should be irrelevant in context of the public surface.
Changelog:
[Internal]
Reviewed By: cortinico
Differential Revision: D97478132
fbshipit-source-id: da95c86a02b056e9ece0fbdcbbbced2300c9fbae
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56247
Removes fantom test specific methods, namely:
- NativeFantomTestSpecificMethods,
- FantomForcedCloneCommitHook
from the C++ API snapshot.
Changelog:
[Internal]
Reviewed By: cortinico
Differential Revision: D97466201
fbshipit-source-id: b8464ddd242056a1e21db409b738414814550b30
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56152
## Summary
Introduces initial snapshots of the React Native C++ public API. These snapshots capture the public-facing C++ API surface as `.api` files, enabling tracking of API changes across diffs.
Six snapshot files are generated, covering three targets in two build variants each:
| Target | Debug | Release |
|---|---|---|
| **ReactCommon** (shared) | `ReactCommonDebugCxx.api` | `ReactCommonReleaseCxx.api` |
| **ReactAndroid** | `ReactAndroidDebugCxx.api` | `ReactAndroidReleaseCxx.api` |
| **ReactApple** | `ReactAppleDebugCxx.api` | `ReactAppleReleaseCxx.api` |
Debug and Release variants differ in preprocessor definitions (e.g., `DEBUG`/`REACT_NATIVE_DEBUG` vs `NDEBUG`/`REACT_NATIVE_PRODUCTION`), which can affect conditional compilation and the resulting public API surface.
The snapshots are generated by the `scripts/cxx-api` tool, which runs Doxygen on the C++ headers and codegen output, then produces a normalized text representation of all public types, functions, enums, and class hierarchies.
Changelog: [Internal]
Reviewed By: cipolleschi
Differential Revision: D97296573
fbshipit-source-id: 146fedb233699cd30fb301a95895e1bbcf13be0f