Skip to content

feat: Set compile options using target_compile_reactnative_options#653

Merged
janicduplessis merged 1 commit intoAppAndFlow:mainfrom
lukmccall:patch-4
Aug 7, 2025
Merged

feat: Set compile options using target_compile_reactnative_options#653
janicduplessis merged 1 commit intoAppAndFlow:mainfrom
lukmccall:patch-4

Conversation

@lukmccall
Copy link
Contributor

Summary

PR based on software-mansion/react-native-reanimated#7776 by @tomekzaw.

To support react-native@0.81.0, we need to include RN_SERIALIZABLE_STATE. This can be done using target_compile_reactnative_options, which sets the necessary flags and definitions automatically, instead of setting them manually.

Test Plan

  • tested inside of expo/expo repo with RN 0.81 enable ✅

@janicduplessis janicduplessis merged commit c505e73 into AppAndFlow:main Aug 7, 2025
3 checks passed
@janicduplessis
Copy link
Collaborator

@lukmccall thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants