Commit 5fe631f
committed
fix: scope React Gradle codegen to this library
Without an explicit `react { libraryName, codegenJavaPackageName, jsRootDir }`
block, the React Gradle Plugin (applied by `apply plugin: 'com.facebook.react'`
under `isNewArchitectureEnabled`) scans every codegen-spec package found in
the app's node_modules and bundles all of them into this AAR. When the app
also installs the real owner (e.g. react-native-screens), D8 hits duplicate
`*ViewManagerDelegate` types and `mergeLibDexDebug` fails.
Pin `libraryName = 'NitroQdrantEdge'` so codegen emits classes only for
our own (nonexistent) view managers — keeping the AAR free of foreign
codegen output.1 parent ad55ca2 commit 5fe631f
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
0 commit comments