Skip to content

Warn about link-linked packages when using autolinking #445

@thymikee

Description

@thymikee

Describe the Feature

In order for autolink to work properly, the libraries linked with link need to be unlinked, otherwise the build will likely fail because of duplicate headers declaration or similar.

Possible Implementations

We could dry-run link before run-ios and run-android commands, collect the information about already linked modules and output a descriptive warning. Some packages are still not compatible with autolinking, so we can't really make it a hard error. Unless we can somehow tell the users to unlink every package and link the unsupported ones again (so it uses Podfile), but that will be tricky.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions