-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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: "RNSVGSvgView" was not found in the UIManager. #2235
Comments
Getting same error |
Any solution to this |
Could you provide a minimal reproducible code example? Best would be a simple repository. |
Getting this error but only on |
same error. Any solution? |
Same here when I download this plugin along with When following the same with my own code below.
It breaks on android. But it works fine on ios. Any help you can provide to resolve this? |
I think I may have found the solution to this. After doing some googling online and using Google Gemini, both led me to this page. Essentially in my package.json
I'm using the latest react native version 0.73.4 that is most compatible with react-native-svg version 15.0 and above. After swapping from ^13.4.0 to ^15.1.0, reran the build and start the app, I can see the icons being rendered successfully on Android phone. In spite of what the official gluestack-ui pages advises us to use react-native-svg ^13.4.0, it's apparent to me, there's a conflict on compatibility notes on using latest react-native version to play with gluestack's present recommended react-native-svg version. I think they should update their readme pages to advise users in taking care of incoporating latest react-native versions to their gluestack-ui framework. |
Hello @awongCM @ndpiparava, |
@bohdanprog You can close this but compatibility issues very tedious to figure and fix, I would highly recommend to check your internal deps and also updates documents. |
lucide-icons with tamaui was causing this error, and I switched to |
Having hard time with react-native-svg in android and it keeps complaining about
[Invariant Violation: requireNativeComponent: "RNSVGSvgView" was not found in the UIManager.]
I have followed the installation instruction and
still do not work on andorid,
works fine in iOSI am using latest react native version
Created fresh project and still facing same issues, issue does not appear until you do not use in component. However when you create simple component like below issue start appearing on app launch.
The text was updated successfully, but these errors were encountered: