diff --git a/app/views/JitsiMeetView.tsx b/app/views/JitsiMeetView.tsx index c2e8d2d9..4603ff77 100644 --- a/app/views/JitsiMeetView.tsx +++ b/app/views/JitsiMeetView.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { StyleSheet } from 'react-native'; +import { BackHandler, StyleSheet } from 'react-native'; import JitsiMeet, { JitsiMeetView as RNJitsiMeetView } from 'react-native-jitsi-meet'; import BackgroundTimer from 'react-native-background-timer'; import { connect } from 'react-redux'; @@ -69,6 +69,7 @@ class JitsiMeetView extends React.Component { + JitsiMeet.endCall(); + return null; + }; + onConferenceWillJoin = () => { this.setState({ loading: false }); };