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

Invariant Violation: requireNativeComponent: "RNSVGPath" was not found in the UIManager #868

Closed
2 of 4 tasks
thalesgaldino opened this issue Aug 18, 2023 · 4 comments
Closed
2 of 4 tasks
Assignees
Labels
bug Something isn't working

Comments

@thalesgaldino
Copy link

Description

When I add Icons to the input it crashes

CodeSandbox/Snack link

No response

Steps to reproduce

Issue in this repo: https://github.com/thalesgaldino/demoapp

I you go to src/SearchHeader.tsx and in line 33 you add:

<InputIcon pl="$3">
    <Icon as={SearchIcon} />
  </InputIcon>

then, icons will break: Invariant Violation: requireNativeComponent: "RNSVGPath" was not found in the UIManager

seems to be related to this: software-mansion/react-native-svg#2101

gluestack-ui Version

0.1.3

Platform

  • Android
  • Expo
  • iOS
  • Next

Other Platform

No response

Additional Information

No response

@thalesgaldino thalesgaldino added the bug Something isn't working label Aug 18, 2023
@secreter
Copy link

mark

@Konseyy
Copy link

Konseyy commented Aug 19, 2023

Managed to get it working by installing react-native-svg@13.4.0

@thalesgaldino
Copy link
Author

thalesgaldino commented Aug 19, 2023

Managed to get it working by installing react-native-svg@13.4.0

That is the current default version in gluestack, which I tried initially and had the same issue. Then, I bumped to newer version but no luck. Do you mean you installed manually that version?

P.S.: I just updated the main branch with the default version of react-native-svg(13.4.0 required by gluestack)

@makkarMeenu
Copy link
Collaborator

This is a duplicate issue for #995. Updates are being provided on that one.

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

4 participants