with project using react-native-vector-icons package
Step 1 : create a file react-native.config.js in root project
add content this file
module.exports = {
project: {
ios: {},
android: {},
},
assets: [
'./node_modules/react-native-vector-icons/Fonts/AntDesign.ttf',
'./node_modules/react-native-vector-icons/Fonts/Entypo.ttf',
'./node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf',
'./node_modules/react-native-vector-icons/Fonts/Feather.ttf',
'./node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf',
'./node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf',
'./node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf',
'./node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf',
'./node_modules/react-native-vector-icons/Fonts/Fontisto.ttf',
'./node_modules/react-native-vector-icons/Fonts/Foundation.ttf',
'./node_modules/react-native-vector-icons/Fonts/Ionicons.ttf',
'./node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf',
'./node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf',
'./node_modules/react-native-vector-icons/Fonts/Octicons.ttf',
'./node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf',
'./node_modules/react-native-vector-icons/Fonts/Zocial.ttf',
],
};
step 2 : add array font in file info.plist with ios
<key>UIAppFonts</key>
<array>
<string>AntDesign.ttf</string>
<string>Entypo.ttf</string>
<string>EvilIcons.ttf</string>
<string>Feather.ttf</string>
<string>FontAwesome.ttf</string>
<string>FontAwesome5_Brands.ttf</string>
<string>FontAwesome5_Regular.ttf</string>
<string>FontAwesome5_Solid.ttf</string>
<string>Foundation.ttf</string>
<string>Ionicons.ttf</string>
<string>MaterialIcons.ttf</string>
<string>MaterialCommunityIcons.ttf</string>
<string>SimpleLineIcons.ttf</string>
<string>Octicons.ttf</string>
<string>Zocial.ttf</string>
<string>Fontisto.ttf</string>
</array>