Skip to content

docs(Reanimated): clarify RN feature flags patching for Android#9882

Open
theeket wants to merge 1 commit into
software-mansion:mainfrom
theeket:docs/android-feature-flags
Open

docs(Reanimated): clarify RN feature flags patching for Android#9882
theeket wants to merge 1 commit into
software-mansion:mainfrom
theeket:docs/android-feature-flags

Conversation

@theeket

@theeket theeket commented Jul 6, 2026

Copy link
Copy Markdown

Summary

Since the docs advises against switching to the experimental release level just to enable a single feature flag, the current instructions only cover patching ReactNativeFeatureFlagsDefaults.h, which is limited to Apple platforms.

Apple: ReactCommon/react/featureflags/ReactNativeFeatureFlagsDefaults.h
Android: ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsDefaults.kt

This PR adds a clear file paths that need to be patched, includes the missing Android instructions.

E.g., enabling USE_ANIMATION_BACKEND but patching only useSharedAnimatedBackend in ReactNativeFeatureFlagsDefaults.h will cause a crash on Android, since it is not enabled correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant