Skip to content

Support pre-/postlink hooks in autolinking #429

@thymikee

Description

@thymikee

Describe the Feature

Currently prelink and postlink are not executed when autolinking happens. That's because the linking logic moved to CocoaPods and Gradle scripts.

Possible Implementations

Hooks should be available in config already:

cli/types/index.js

Lines 123 to 127 in 7dec654

hooks: {
[key: string]: () => void,
prelink?: () => void,
postlink?: () => void,
},

Hope @orta and @Salakar have ideas on how to support these on per-platform level.

Related Issues

react-native-community/releases#116 (comment)

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