The icons show up as a crossed out box on some devices
See original GitHub issueEnvironment
react-native-vector-icons: 7.1.0 react native: 0.63.4 Android
Description
I’m using react-native-vector-icons in my app. Today a user reported that the icons show up as a crossed out box and shared a screenshot. The problem occurs on Samsung Galaxy Note 20 Ultra. I’ve tested over 2000 devices, and none had such a problem.
I have the following code at the end of my android/app/build.gradle
file:
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
Code:
import Icon from 'react-native-vector-icons/FontAwesome5';
.
.
.
<View style={{flexDirection:"row"}}>
<Icon
name={"cog"}
color={"black"}
size={screen_width / 15}
/>
<Icon
name={"history"}
color={"black"}
size={screen_width / 15}
/>
<Icon
name={"award"}
color={"black"}
size={screen_width / 15}
/>
<Icon
name={"trophy"}
color={"black"}
size={screen_width / 15}
/>
</View>
And the result:
Issue Analytics
- State:
- Created 3 years ago
- Reactions:13
- Comments:49
Top Results From Across the Web
Why does some text display with square boxes in some apps ...
When running certain apps on Windows 10 desktop or Windows 10 Mobile, some characters display as a square or rectangular box, or as...
Read more >react native vector icons won't show in android device
Open android/app/build.gradle and add the following: apply from: "../../node_modules/react-native-vector-icons/fonts.gradle".
Read more >What Do the Android Status Bar Symbols Mean? - MakeUseOf
The top bar of your Android phone contains a whole of symbols and icons. Here's a guide to what the most common ones...
Read more >Status icons and symbols on your iPhone - Apple Support
Find out what the status icons and symbols at the top of your screen mean. Where do you see status icons. Status icons...
Read more >What do the different indicator icons mean on your Galaxy ...
The indicator bar may not appear at the top of the screen in some apps. To display the status bar, drag down from...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This problem was due to the firmware of the device, and Samsung replied that it will be resolved through an OS update later.
The attached screenshot is Samsung’s response written in Korean.
Thank you.
Some follow up on this issue. Samsung had deployed an update (AUB2) to Korean Version of S21 Series (S21/S21+/S21Ultra) and this FA5 issue is resolved.
It is expected that updates will be provided to other models soon, but the firmware delivery schedule may vary depending on the manufacturer or carrier FW inspection schedule.