Icons fail to show on Release Build!
See original GitHub issue- Review the documentation: https://github.com/oblador/react-native-vector-icons
- Search for existing issues (including closed issues): https://github.com/oblador/react-native-vector-icons/issues
Environment
- iOS (Release build)
- react native 0.63.1
- react native vector icons: latest
Description
In debug/development everything works fine. Icons show as usual. But once I build the app for release/production, the Icons don’t show up. Not even question-mark boxes.
(Bottom bar should be Icons)
I have auto-linked the library, but specified only “MaterialCommunityIcons” in my Info.plist, because that’s the only set I use. Do I still have to leave all of them in there?
~Also, I have called Icon.loadFont() at the entry point. (top of App.tsx)~ <-- Not required, as I’m not using use_frameworks!
in my Podfile.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:22 (9 by maintainers)
Top Results From Across the Web
icons not showing on release build… | Apple Developer Forums
Hello Sir, I am facing issue after upgrade my Xcode 12.x version. Application showing button image, navigation bar icons image and other image...
Read more >Android Menu icons don't appear in the release build but ...
Android Menu icons don't appear in the release build but display in the debug build - Stack Overflow. Stack Overflow for Teams –...
Read more >Thread: Release icons not showing - Qt Centre Forum
I have a Qt application... i build it using visual studio 2008... When i get a release build, the applications runs fine,but icons...
Read more >Flutter App IOS Release Build Error: Missing Required Icon ...
I think your file system has gotten out of sync somehow. If you right click on Assets.xcassets in Android Studio and then click...
Read more >Analyze your build with the APK Analyzer - Android Developers
Figure 2 shows an error being reported for the selected manifest file. ... are normally in project / app /build/outputs/mappings/release/ .
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
I’m using 0.63.2 and I had to add that line in build.gradle after updating to 7.0.0 for all icons to work.
just add apply from: “…/…/node_modules/react-native-vector-icons/fonts.gradle” in the bottom off android/app/build.gradle ( NOT android/build.gradle ) then sync again the project and icon will show correctly