lucide icon indicating copy to clipboard operation
lucide copied to clipboard

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

Open Geeknerd1337 opened this issue 1 month ago • 5 comments

Package

  • [ ] lucide
  • [ ] lucide-angular
  • [ ] lucide-flutter
  • [ ] lucide-preact
  • [ ] lucide-react
  • [X] 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?

  • [X] Yes
  • [ ] No

Browser

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

Operating system

  • [ ] Windows
  • [ ] Linux
  • [X] macOS
  • [ ] ChromeOS
  • [X] 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

  • [X] 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 avatar Jan 03 '25 23:01 Geeknerd1337