Commit 8f99d4d
authored
[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.1 parent 2c827b1 commit 8f99d4d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments