You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Development build:
Steps to reproduce
Set up a repository with expo go
Set up react-native
Add lucide-react-native
Import an icon and use it
Launch via Expo Go in IOS simulator, notice icons are working
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.)
The text was updated successfully, but these errors were encountered:
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.
I'm having the same issue, doing what @prescarlton suggested didn't fix it for me.
EDIT: it started working after I did the following:
* Installed `lucide-react-native` and `react-native-svg` with npm rather than npx expo
* Ran `npm dedupe`
* Deleted ios directory and .expo directory and rebuilt app
worked for me.
(no need to delete ios folder if you don't have one, like in my case)
bartmika
pushed a commit
to comiccoin-network/monorepo
that referenced
this issue
Jan 28, 2025
Package
Version
0.469.0
Can you reproduce this in the latest version?
Browser
Operating system
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:
Development build:
Steps to reproduce
Checklist
The text was updated successfully, but these errors were encountered: