react-native-vector-icons
react-native-vector-icons copied to clipboard
Icon doesn't shows up after closing React-Native App and reopen
Hello, im having issues with Ionicon´s.
If im compiling and opening my App via yarn android
, everything works fine and the Icons show up.
But if im now unplugging the Phone from the Mac and open the App which contains Ionicon
´s, the Icons don't show up!
Code:
import { Ionicons } from 'react-native-vector-icons/Ionicons';
tabBarIcon:({focused, color, size}) => {
let iconName;
let rn = route.name;
if (rn === Icon1) {
iconName = focused ? 'home' : 'home-outline';
} else if (rn === Icon2) {
iconName = focused ? 'list' : 'list-outline';
return <Ionicons name={iconName} size={size} color={color} />;
},
})}
Thanks for Help!
Same here, on android
Same problem here
Note: I've tried adding the icons manually and the issue persists when the app is reran with the device unplugged.
The same issue occurs with https://www.npmjs.com/package/@expo/vector-icons
Same here, Android too