Skip to content

Commit 886bce1

Browse files
authored
Update dependencies.md to mention deprecation of .android.componentDescriptors (#2643)
1 parent 46436a1 commit 886bce1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/dependencies.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ type AndroidDependencyParams = {
5656
packageInstance?: string;
5757
buildTypes?: string[];
5858
libraryName?: string | null;
59-
componentDescriptors?: string[] | null;
6059
cmakeListsPath?: string | null;
6160
cxxModuleCMakeListsModuleName?: string | null;
6261
cxxModuleCMakeListsPath?: string | null;
@@ -134,9 +133,9 @@ A string indicating your custom library name. By default it's taken from the `li
134133

135134
#### platforms.android.componentDescriptors
136135

137-
> Note: Only applicable when new architecture is turned on.
136+
> Note: This field is deprecated and providing a value to it will have no effect.
138137
139-
An array of custom component descriptor strings. By default they're generated based on `codegenNativeComponent` calls.
138+
Historically used to provide an array of custom component descriptor to register with the Interop Layer. [Since 0.74](https://github.com/reactwg/react-native-new-architecture/discussions/175) this field is ignored as the interop layer are automatic.
140139

141140
#### platforms.android.cmakeListsPath
142141

0 commit comments

Comments
 (0)