Closed mubashiralisiddiqui closed 10 months ago
Can you reproduce it with the sample app?
@saghul here is the reproducable repo I just created a new project add jitsi and react-navigation as per docs but I got the same error when I tried to connect to meeting https://github.com/mubashiralisiddiqui/jitsi-sample
@saghul its been long since I am trying to resolve this issue can you please look into this issue
Closing in favor of https://github.com/jitsi/jitsi-meet-sdk-samples/issues/219
I am getting this error while I connect to the meeting url in both android and ios the error seems to be in react navigation when we connect to the meeting
I am using these versions "@amplitude/react-native": "2.7.0", "@giphy/react-native-sdk": "2.3.0", "@jitsi/react-native-sdk": "^0.4.1", react-native": "0.72.4 "@react-navigation/bottom-tabs": "^6.5.8", "@react-navigation/drawer": "^6.6.3", "@react-navigation/native": "^6.1.7", "@react-navigation/native-stack": "^6.9.13",
import {JitsiMeeting} from '@jitsi/react-native-sdk/index';
import {useNavigation} from '@react-navigation/native'; import {BackHandler} from 'react-native'; const Meeting = props => { const {route} = props; const jitsiMeetingRef = useRef(null); const navigation = useNavigation(); const backHandler = useRef(null);
useEffect(() => { if (Platform.OS === 'android') { backHandler.current = BackHandler.addEventListener( 'hardwareBackPress', () => { onClose(); return true; }, ); } const onClose = () => { navigation.goBack(); navigation.navigate('myBooking'); };
}, []);
const room = route?.params?.user || 'room'; return (
); };
export default Meeting;