Skip to content

Serve C++ Native Animated from core (non sharedbackend path) (#57179)#57179

Open
zeyap wants to merge 1 commit into
react:mainfrom
zeyap:export-D108197770
Open

Serve C++ Native Animated from core (non sharedbackend path) (#57179)#57179
zeyap wants to merge 1 commit into
react:mainfrom
zeyap:export-D108197770

Conversation

@zeyap

@zeyap zeyap commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary:

Changelog:

[Internal] - Serve C++ Native Animated from core (non sharedbackend path)

Wire the C++ implementation of Native Animated (the AnimatedModule) into the framework core so that, when cxxNativeAnimatedEnabled is enabled, it is served without per-app wiring. The flag is flipped in a separate diff.

Android drives the animated render loop internally, so DefaultTurboModules serves AnimatedModule whenever cxxNativeAnimatedEnabled is on. iOS/macOS need the platform RCTAnimatedModuleProvider to drive rendering when the shared animated backend is off; with the shared backend on, DefaultTurboModules serves it instead. The default RCTReactNativeFactory delegate installs the provider, and a React-RCTAnimatedModuleProvider podspec is added for CocoaPods.

Reviewed By: christophpurrer

Differential Revision: D108197770

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 11, 2026
@meta-codesync

meta-codesync Bot commented Jun 11, 2026

Copy link
Copy Markdown

@zeyap has exported this pull request. If you are a Meta employee, you can view the originating Diff in D108197770.

@meta-codesync meta-codesync Bot changed the title Serve C++ Native Animated from core (non sharedbackend path) Serve C++ Native Animated from core (non sharedbackend path) (#57179) Jun 11, 2026
zeyap added a commit to zeyap/react-native that referenced this pull request Jun 11, 2026
…7179)

Summary:

## Changelog:

[Internal] - Serve C++ Native Animated from core (non sharedbackend path)

Wire the C++ implementation of Native Animated (the `AnimatedModule`) into the framework core so that, when `cxxNativeAnimatedEnabled` is enabled, it is served without per-app wiring. The flag is flipped in a separate diff.

Android drives the animated render loop internally, so `DefaultTurboModules` serves `AnimatedModule` whenever `cxxNativeAnimatedEnabled` is on. iOS/macOS need the platform `RCTAnimatedModuleProvider` to drive rendering when the shared animated backend is off; with the shared backend on, `DefaultTurboModules` serves it instead. The default `RCTReactNativeFactory` delegate installs the provider, and a `React-RCTAnimatedModuleProvider` podspec is added for CocoaPods.

Reviewed By: christophpurrer

Differential Revision: D108197770
@zeyap zeyap force-pushed the export-D108197770 branch from 7c4ae50 to 5f7a0a6 Compare June 11, 2026 21:15
…7179)

Summary:

## Changelog:

[Internal] - Serve C++ Native Animated from core (non sharedbackend path)

Wire the C++ implementation of Native Animated (the `AnimatedModule`) into the framework core so that, when `cxxNativeAnimatedEnabled` is enabled, it is served without per-app wiring. The flag is flipped in a separate diff.

Android drives the animated render loop internally, so `DefaultTurboModules` serves `AnimatedModule` whenever `cxxNativeAnimatedEnabled` is on. iOS/macOS need the platform `RCTAnimatedModuleProvider` to drive rendering when the shared animated backend is off; with the shared backend on, `DefaultTurboModules` serves it instead. The default `RCTReactNativeFactory` delegate installs the provider, and a `React-RCTAnimatedModuleProvider` podspec is added for CocoaPods.

Reviewed By: christophpurrer

Differential Revision: D108197770
@zeyap zeyap force-pushed the export-D108197770 branch from 5f7a0a6 to e4bdd03 Compare June 11, 2026 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant