my react version is over 0.6
npm install react-native-vector-icons
npx pod-install
successfully
(I don't use react-native link because it gives error and also when i check react-native > 0.6 there is autolinking usage so react-native link not preferable in react-native > 0.6)npx react-native run-ios --simulator="iPhone 8"
import Ionicons from "react-native-vector-icons/Ionicons";
<Ionicons name="information-circle-outline" size={40} color="blue" />
I got this error Unrecognized font family 'Ionicons'
than i ran react-native link react-native-vector-icons
also when i build by linking my build was failed. But when i unlink my build is successfull.
I don't understand where i make a mistake
Since when you try to link it it fails. Try doing the linking manually.
Add this to your podfile in ios/Podfile
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
then run pod update
in the terminal and make sure your in the ios folder.
In addition you must follow there Info.plist
instructions as well in there documentation.