-
-
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
(iOS) Invariant Violation: Native component for "RNSVGSvgView" does not exist #566
Comments
Try using new SvgPackage() instead |
@bestcoder0 where? what is this? |
I use it in mainapplication.java file for android.. not sure where you should use in ios. |
@kylehagler I have the same problem. Have you solved it? |
@594904020 I was having this problem in my project that I started using react-native cli with I ended up starting a new project from scratch with |
@594904020 Hey - I've also been having this problem. I don't really want to completely recreate my app. Did you ever figure out a not total restart fix to this problem? |
@bennettrahn Manual link native libraries can solve problems |
Even with manual linking, I still get this error 😔 . Any updates about this? |
A bug in react-native currently links the tvOS library into the iOS project as well. Until the fix is released: facebook/react-native#13783 facebook/react-native@a63fd37 Follow the instructions here: #544 |
@msand managed to solve it with the provided instructions. Many thanks! |
I guess this is just linking issues then. I'll go ahead and close for now. |
"dependencies": { "better-fetch": "^1.1.2", "firebase": "^4.8.1", "lodash": "^4.17.4", "react": "16.0.0", "react-native": "0.51.0", "react-native-svg": "^6.0.1-rc.1", "react-redux": "^5.0.6", "redux": "^3.7.2", "redux-logger": "^3.0.6", "redux-thunk": "^2.2.0" }
The text was updated successfully, but these errors were encountered: