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: Tried to register two views with the same name RCTZegoSurfaceView, js engine: hermes #1

Open
AndyDesign999 opened this issue Nov 8, 2023 · 0 comments

Comments

@AndyDesign999
Copy link

AndyDesign999 commented Nov 8, 2023

Hello, I am using audio and video streaming SDK.

@zegocloud/zego-uikit-prebuilt-live-audio-room-rn": "2.2.3",
@zegocloud/zego-uikit-prebuilt-live-streaming-rn": "^2.1.0",
@zegocloud/zego-uikit-rn": "^2.1.1"
zego-express-engine-reactnative": "^3.8.2",
zego-zim-react-native": "^2.10.0"

I am facing a crash with "@zegocloud/zego-uikit-prebuilt-live-audio-room-rn".

Invariant Violation: Tried to register two views with the same name RCTZegoSurfaceView, js engine: hermes
 LOG  VideoFrame 3835
 ERROR  Invariant Violation: Tried to register two views with the same name RCTZegoSurfaceView, js engine: hermes
 ERROR  TypeError: Cannot read property 'ZegoTextureView' of undefined

This error is located at:
    in VideoFrame (created by ZegoVideoView)
    in RCTView (created by View)
    in View (created by ZegoVideoView)
    in ZegoVideoView (created by ZegoSeatingArea)
    in RCTView (created by View)
    in View (created by ZegoSeatingArea)
    in RCTView (created by View)
    in View (created by ZegoSeatingArea)
    in TouchableWithoutFeedback (created by ZegoSeatingArea)
    in RCTView (created by View)
    in View (created by ZegoSeatingArea)
    in RCTView (created by View)
    in View (created by ZegoSeatingArea)
    in ZegoSeatingArea
    in RCTView (created by View)
    in View
    in RCTView (created by View)
    in View
    in ZegoUIKitPrebuiltLiveAudioRoom (created by AudioAudiencePage)
    in RCTView (created by View)
    in View (created by AudioAudiencePage)
    in RCTView (created by View)
    in View (created by AudioAudiencePage)
    in RCTView (created by View)
    in View (created by ImageBackground)
    in ImageBackground (created by AudioAudiencePage)
    in RCTView (created by View)
    in View (created by AudioAudiencePage)
    in RCTView (created by View)
    in View (created by ScrollView)
    in RCTScrollView (created by ScrollView)
    in ScrollView (created by ScrollView)
    in ScrollView (created by KeyboardAwareScrollView)
    in KeyboardAwareScrollView (created by AudioAudiencePage)
    in AudioAudiencePage (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 (created by AnimatedComponent)
    in AnimatedComponent
    in AnimatedComponentWrapper (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 SafeAreaInsetsContext)
    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 Navigation)
    in EnsureSingleNavigator
    in BaseNavigationContainer
    in ThemeProvider
    in NavigationContainerInner (created by Navigation)
    in Navigation (created by App)
    in RCTView (created by View)
    in View (created by App)
    in RNGestureHandlerRootView (created by GestureHandlerRootView)
    in GestureHandlerRootView (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 PeaceGarden(RootComponent), js engine: hermes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant