-
Notifications
You must be signed in to change notification settings - Fork 30
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
SVGs don't work with TabBarIcon using it with expo router #143
Comments
Hey @boblitex can you provide a minimal reproduction? Here I have an example of using SVGs with bottom tabs: https://github.com/okwasniewski/ExpoNativeTabs Can you try if it works for you? |
Can you check with 0.5.2? |
0.5.2 doesn't work for me.
|
@Peek-A-Booo Can you share code snippet that doesn't work for you? Just to be sure did you provide a full path? |
@okwasniewski code&result with expo router CodeResult |
@Peek-A-Booo Thanks, and is it working for you on iOS? |
@okwasniewski Thanks. For me, the only ones working in iOS are Looks like
|
@Peek-A-Booo That's weird, maybe something is off with your metro config? Can you try building this example: https://github.com/okwasniewski/ExpoNativeTabs |
@okwasniewski Found my mistake. I introduced
Commenting out To avoid using |
@okwasniewski maybe we should find a way around using the bottomTabs with |
I think that if you don't add this line |
@okwasniewski the SVGs in the bottomTabs work now though. so I'm trying to see |
When run
|
while PNGs work as TabBarIcon, SVGs are blank as opposed to what's shown in the documentation ( for react navigation) but you get the idea
The text was updated successfully, but these errors were encountered: