Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lucide React Native Icons Working in Expo Go but Not Development Build #2713

Open
6 of 30 tasks
Geeknerd1337 opened this issue Jan 3, 2025 · 2 comments
Open
6 of 30 tasks
Labels
🐛 bug Something isn't working

Comments

@Geeknerd1337
Copy link

Package

  • lucide
  • lucide-angular
  • lucide-flutter
  • lucide-preact
  • lucide-react
  • lucide-react-native
  • lucide-solid
  • lucide-svelte
  • lucide-vue
  • lucide-vue-next
  • Figma plugin
  • source/main
  • other/not relevant

Version

0.469.0

Can you reproduce this in the latest version?

  • Yes
  • No

Browser

  • Chrome/Chromium
  • Firefox
  • Safari
  • Edge
  • iOS Safari
  • Opera
  • Other/not relevant

Operating system

  • Windows
  • Linux
  • macOS
  • ChromeOS
  • iOS
  • Android
  • Other/not relevant

Description

When I use lucide icons in my react-native project, they will work fine if Im launching from Expo Go but if I use the development build, none of the icons render.

Expo Go:
image

Development build:
image

Steps to reproduce

  1. Set up a repository with expo go
  2. Set up react-native
  3. Add lucide-react-native
  4. Import an icon and use it
  5. Launch via Expo Go in IOS simulator, notice icons are working
  6. Build for IOS with expo go and notice icons are not rendering

Checklist

  • I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)
@Geeknerd1337 Geeknerd1337 added the 🐛 bug Something isn't working label Jan 3, 2025
@zyncc
Copy link

zyncc commented Jan 4, 2025

for me icons are giving an error on android build but no error (No ViewManager defined for class RNSVGCircle) in expo, in both i cant see the icons

@prescarlton
Copy link

I was having the same issue; after clearing the ios folder and rebuilding, as well as closing / reopening the app after the build ended up resolving it for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants