-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
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'