You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hlo i am using jitsi meet version 2.1.1 and when i try to connect my meeting url with jwt it is stuck in connecting to meeting.The issue is only in ios but works fine in android
#438
Open
Shekhardeuba opened this issue
May 18, 2023
· 0 comments
import React, { useEffect, useState } from 'react';
import { Platform, View } from 'react-native';
import JitsiMeet, { JitsiMeetView } from 'react-native-jitsi-meet';
import { Colors } from '../../../Constants';
function Jitsi({ jitsiData, tabIndex }) {
useEffect(() => {
setTimeout(() => {
console.log('jitsiData =>', jitsiData);
}, []);
const [showJitsi, setShowJitsi] = useState(true);
function onConferenceTerminated(nativeEvent) {
/* Conference terminated event */
console.warn('Terminated', nativeEvent);
}
function onConferenceJoined(nativeEvent) {
/* Conference joined event */
console.warn('Joined', nativeEvent);
if (Platform.OS == 'android') {
setShowJitsi(false);
setTimeout(() => {
setShowJitsi(true);
}, 100);
}
}
function onConferenceWillJoin(nativeEvent) {
/* Conference will join event */
console.warn('Will Join', nativeEvent);
}
return (
<View
style={{
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: Colors.black_000000,
}}>
{showJitsi && (
<JitsiMeetView
onConferenceTerminated={onConferenceTerminated}
onConferenceJoined={onConferenceJoined}
onConferenceWillJoin={onConferenceWillJoin}
style={{
// flex: 1,
height: '100%',
width: tabIndex === 0 ? '100%' : '100%',
backgroundColor: Colors.transparent,
}}
/>
)}
);
}
export default Jitsi;
The text was updated successfully, but these errors were encountered: