Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[android] Remove a check that is no longer needed (#535)
* Removed a check that is no longer needed We've had some issue with monorepos when resolving the codegen config on Android in other libraries, and found that due to versions no longer in use we could now remove the version test in `react-native-config.js` and always return the component descriptor etc. (The monorepo issue was with using `require.main.require` which will resolve to the calling script and not the module) For reference, here is the same PR in @react-native-community/slider: callstack/react-native-slider#657 * cr: Reverted and simplified change after code review Removed previous change and made the `supportsCodegenConfig` variable true initially * revert: reverted commit - removed last line.
- Loading branch information