question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

6.7.0 breaks Icons

See original GitHub issue

Description

When upgrading to 6.7.0 the Icons (MaterialCommunityIcons) won’t display correctly anymore. I got question-mark boxes as well as arabic characters all over the place. Didn’t do anything except upgrade and install pods. I even tried cleaning the cache (Pods/, Build folder, node_modules, Metro Bundler cache) and did a full re-install, nothing seems to work.

Downgrading to 6.6.0 makes all my icons appear again.

I’ve set it up using Autolinking, so no extra steps except adding the Icons I want in my Info.plist, which consists only of one item: MaterialCommunityIcons.

Steps to reproduce

# Icons work
npm update
cd ios; pod install; cd ..
# Icons don't work anymore

Environment

react-native info:

info Fetching system and libraries information...
(node:7774) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
System:
    OS: macOS 10.15.5
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Memory: 6.29 GB / 32.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 14.4.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.5 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 25, 28, 29
      Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.0, 30.0.0, 30.0.0
      System Images: android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom
      Android NDK: 21.2.6472646
  IDEs:
    Android Studio: 4.0 AI-193.6911.18.40.6514223
    Xcode: 11.5/11E608c - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_252 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1 
    react-native: 0.62.2 => 0.62.2 
  npmGlobalPackages:
    *react-native*: Not Found

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:6
  • Comments:29 (9 by maintainers)

github_iconTop GitHub Comments

5reactions
thijs-qvcommented, Jul 14, 2020

@danilo900 Cheers, thanks! I ended up removing react-native-vector-icons, all entries relating to react-native-vector-icons in yarn.lock, ios/Podfile, ios/Podfile.lock and yarn.lock. Cleared watchman cache. Re-added react-native-vector-icons. Reinstalled node modules, reinstalled pods. After this everything is fine. Now I can hunt for all ionicons that changed their name. Edit: for Android I needed to copy the font files over like you said (from node_modules/react-native-vector-icons/Fonts/ to android/app/src/main/assets/fonts).

2reactions
tapzcommented, Jul 16, 2020

Copying Android assets worked for me. Clearing caches alone did not help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgraded VCSA from 6.7u1 to 6.7u2, now have icon bugs
After reboot, the icons in the HTML5 client (only!) are all broken. Anyone see anything like this? There is nothing wrong with the...
Read more >
ESXI 6.7 Licensing : r/vmware - Reddit
Seems that I have just missed the EOL for ESXI 6.7, is there a way to get a license key? Can't seem to...
Read more >
Mattermost self-hosted changelog
Fixed an issue where email notifications looked broken when email batching was ... The team unread icon for muted channels is now hidden...
Read more >
Logo image not showing in emails to customer. - WordPress.org
There was a broken image icon same as others. ... Site address (URL): https://academy.monicabatsukh.com WC Version: 6.7.0 REST API Version: ✓ ...
Read more >
Changelog - Cypress Documentation
Display a default icon in the browser selection menu for browsers without bundled ... A regression in 6.7.0 has been fixed so that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found