What happened?
I'm using the latest master with the new architecture.
I believe that this is connected to React Navigation version mismatch, but I would like to hear your opinion.
| React Native | `0.83.2` (**New Architecture / Fabric enabled**, Hermes) |
| React | `19.2.0` |
| Expo SDK | `55.0.5` (Expo Router as the host navigator) |
| Host navigation | `@react-navigation/native` **7.x** (via expo-router) |
When embedding <JitsiMeeting> inside an app that already uses React Navigation
(Expo Router / React Navigation v7), appNavigate is dispatched from
AbstractApp.componentDidMount/componentDidUpdate before the SDK's own
root NavigationContainer has finished mounting. navigateRoot() then calls
rootNavigationRef.current?.navigate(...) on a container that isn't ready yet,
and React Navigation throws:
The 'navigation' object hasn't been initialized yet. This might happen if you
don't have a navigator mounted, or if the navigator hasn't finished mounting.
The error fires repeatedly (from both componentDidMount and
componentDidUpdate). The SDK shows its initial Connecting route
(initialRouteName of the root stack) but the conference screen
(replaceRoot(screen.conference.root)) never mounts, so the UI is stuck on
"Connecting you to your meeting…" and the call never starts.
Platform
Browser / app / sdk version
@jitsi/react-native-sdk built from master @ 223e6f0941f568762990af1cb58b487ec7171871 (nearest published: 12.1.3);
Relevant log output
The 'navigation' object hasn't been initialized yet. This might happen if you don't have a navigator mounted, or if the navigator hasn't finished mounting. See https://reactnavigation.org/docs/navigating-without-navigation-prop#handling-initialization for more details.
Reproducibility
More details?
No response
What happened?
I'm using the latest master with the new architecture.
I believe that this is connected to React Navigation version mismatch, but I would like to hear your opinion.
When embedding
<JitsiMeeting>inside an app that already uses React Navigation(Expo Router / React Navigation v7),
appNavigateis dispatched fromAbstractApp.componentDidMount/componentDidUpdatebefore the SDK's ownroot
NavigationContainerhas finished mounting.navigateRoot()then callsrootNavigationRef.current?.navigate(...)on a container that isn't ready yet,and React Navigation throws:
The error fires repeatedly (from both
componentDidMountandcomponentDidUpdate). The SDK shows its initialConnectingroute(
initialRouteNameof the root stack) but the conference screen(
replaceRoot(screen.conference.root)) never mounts, so the UI is stuck on"Connecting you to your meeting…" and the call never starts.
Platform
Browser / app / sdk version
@jitsi/react-native-sdkbuilt frommaster@223e6f0941f568762990af1cb58b487ec7171871(nearest published:12.1.3);Relevant log output
Reproducibility
More details?
No response