mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
6ece1a92b1
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/32723 D32128979 (https://github.com/facebook/react-native/commit/baded0f9e3e2be43da0c046bd35f4a69362cbb45) added a fabric example to RNTester, and that broke the circle CI test because of a build issue introduced by an build ordering issue (codegen for the example component didn't happen in time). Using codegen discovery the issue wouldn't happen, so I made it only install when use_codegen_discovery == 1. Caveat is that this would make opening the New Architecture Example throw an error since the native module doesn't exist when running pod install without USE_CODEGEN_DISCOVERY flag. Therefore, I added a message that codegen discovery needs to be enabled in order to try out the example. Changelog: [internal] Fix rn-tester build Reviewed By: mdvacca Differential Revision: D32974821 fbshipit-source-id: b0318ebf122ba00c0121c17a819a730133ab67be