-
-
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: "RNSVGPath" was not found in the UIManager. #2242
Comments
This may help as it may be related - #2235 (comment) |
I faced the same issue on android the APK install crashes when i access a screen where i used component where i used LocalSvg:
|
Hello @robvan2 @awongCM @cipherwisdom, |
@bohdanprog I had to uplift to the latest react-native-sg version and it works fine for me. |
Thanks. |
"react-native": "0.74.5", isok |
You saved my day. |
I have this Error Invariant Violation: requireNativeComponent: "RNSVGPath" was not found in the UIManager. with the same suggested versions for expo project : |
Faced this issue with iOS and android. There's an issue with autolinking, so I switched to manually adding the packages Needed to follow old manual installation steps to fix this: https://www.npmjs.com/package/react-native-svg/v/11.0.0#manually From my end, I noticed that RNSVG was not generated in the Podfile.lock, so I had to manually add the pod to the Podfile:
For android, I noticed the android package didn't generate. Needed to follow the old docs to install it manually (adding the package to settings.gradle, build.gradle, etc)
Hope this helps others! "react-native": "0.73.5", |
ERROR Invariant Violation: requireNativeComponent: "RNSVGPath" was not found in the UIManager.
This error is located at:
in RNSVGPath (created by Path)
in Path (created by EyeComponent)
in RNSVGGroup (created by G)
in G (created by Svg)
in RNSVGSvgViewAndroid (created by Svg)
in Svg (created by EyeComponent)
in RCTView (created by View)
in View (created by EyeComponent)
in EyeComponent (created by TextInputComponent)
in RCTView (created by View)
in View
in Unknown (created by TouchableOpacity)
in TouchableOpacity (created by TouchableOpacity)
in TouchableOpacity (created by TextInputComponent)
in RCTView (created by View)
in View (created by TextInputComponent)
in TextInputComponent (created by Login)
in RCTView (created by View)
in View (created by Login)
in RCTView (created by View)
in View (created by Login)
in Login (created by SceneView)
in StaticContainer
in EnsureSingleNavigator (created by SceneView)
in SceneView (created by SceneView)
in RCTView (created by View)
in View (created by DebugContainer)
in DebugContainer (created by MaybeNestedStack)
in MaybeNestedStack (created by SceneView)
in RCTView (created by View)
in View (created by SceneView)
in RNSScreen
in Unknown (created by InnerScreen)
in Suspender (created by Freeze)
in Suspense (created by Freeze)
in Freeze (created by DelayedFreeze)
in DelayedFreeze (created by InnerScreen)
in InnerScreen (created by Screen)
in Screen (created by SceneView)
in SceneView (created by NativeStackViewInner)
in Suspender (created by Freeze)
in Suspense (created by Freeze)
in Freeze (created by DelayedFreeze)
in DelayedFreeze (created by ScreenStack)
in RNSScreenStack (created by ScreenStack)
in ScreenStack (created by NativeStackViewInner)
in NativeStackViewInner (created by NativeStackView)
in RNCSafeAreaProvider (created by SafeAreaProvider)
in SafeAreaProvider (created by SafeAreaProviderCompat)
in SafeAreaProviderCompat (created by NativeStackView)
in NativeStackView (created by NativeStackNavigator)
in PreventRemoveProvider (created by NavigationContent)
in NavigationContent
in Unknown (created by NativeStackNavigator)
in NativeStackNavigator (created by App)
in EnsureSingleNavigator
in BaseNavigationContainer
in ThemeProvider
in NavigationContainerInner (created by App)
in App
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in ratingstar(RootComponent), js engine: hermes
The text was updated successfully, but these errors were encountered: