Skip to content

autolink doesn't work for libraries which depend on other components with native module #1347

Open
@chj-damon

Description

@chj-damon

Ask your Question

I build a react-native-library that relies on many other dependencies, like react-native-svgreact-native-image-picker etc. all these dependencies have native modules.
library
|- react-native-svg
|- react-native-image-picker
|- rn-fetch-blob
|- react-native-reanimated

Now In one project I install my library and run pod install under ios folder, it seems that autolink won't link these native modules from my library dependencies.

what should I do to make it work? I don't want to put all these dependencies in peerDependencies to ask the user to install them manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    no-stale-botThis issue cannot be marked as stale by stale botquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions