Skip to content

React native vector icons linking #1173

@nelsonprsousa

Description

@nelsonprsousa

Is your feature request related to a problem? Please describe.
React native vector icons is one of the few libraries that isn't linking automatically. I followed the instructions using CocoaPods option and got the following error after run the app:

error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually:
react-native-vector-icons (to unlink run: "react-native unlink react-native-vector-icons")
This is likely happening when upgrading React Native from below 0.60 to 0.60 or above. Going forward, you can unlink this dependency via "react-native unlink " and it will be included in your app automatically. If a library isn't compatible with autolinking, disregard this message and notify the library maintainers.

I was just expecting this if I followed the react native link option.

Describe the solution you'd like
Autolinking. The current solution seems to link but then I need to unlink 🤷‍♂️

Additional context
I've ran react-native unlink react-native-vector-icons and the line that I added on my Podfile got deleted. After that, the app still runs.

pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions