react-native-vector-icons icon indicating copy to clipboard operation
react-native-vector-icons copied to clipboard

Icon doesn't shows up after closing React-Native App and reopen

Open SurpriseMF3000 opened this issue 2 years ago • 3 comments

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!

SurpriseMF3000 avatar Sep 20 '22 18:09 SurpriseMF3000

Same here, on android

Adrielripoll avatar Sep 30 '22 12:09 Adrielripoll

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

SunnyAureliusRichard avatar May 20 '23 19:05 SunnyAureliusRichard

Same here, Android too

chrisunl avatar Dec 01 '23 17:12 chrisunl