Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Hide Android status bar in landscape mode during conferences without immersive mode. (#16675)

Vishal Malyan8bcca2dd3501
diff --git a/react/features/conference/components/native/Conference.tsx b/react/features/conference/components/native/Conference.tsx
index 0deaf02c51..aa35558300 100644
--- a/react/features/conference/components/native/Conference.tsx
+++ b/react/features/conference/components/native/Conference.tsx
@@ -3,6 +3,7 @@ import React, { useCallback } from 'react';
import {
BackHandler,
NativeModules,
+ StatusBar,
View,
ViewStyle
} from 'react-native';
@@ -267,15 +268,21 @@ class Conference extends AbstractConference<IProps, State> {
*/
override render() {
const {
+ _aspectRatio,
_brandingStyles,
} = this.props;
+ const isLandscape = _aspectRatio === ASPECT_RATIO_WIDE;
+
return (
<Container
style = { [
styles.conference,
_brandingStyles
] }>
+ <StatusBar
+ animated = { true }
+ hidden = { isLandscape } />
<BrandingImageBackground />
{ this._renderContent() }
</Container>