Skip to content

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

[RN] Temporarily disable camera toggling button

Saúl Ibarra Corretgé1ed0759a50ce
diff --git a/react/features/toolbar/components/Toolbar.native.js b/react/features/toolbar/components/Toolbar.native.js
index a015fae19b..d132588787 100644
--- a/react/features/toolbar/components/Toolbar.native.js
+++ b/react/features/toolbar/components/Toolbar.native.js
@@ -115,12 +115,16 @@ class Toolbar extends AbstractToolbar {
// TODO Use an appropriate icon for toggle camera facing mode.
return (
<View style = { styles.secondaryToolbar }>
+ {/*
+ * XXX Temporarily disabled until issues are fixed in
+ * react-native-webrtc.
<ToolbarButton
iconName = 'switch-camera'
iconStyle = { iconStyle }
onClick = { this._toggleCameraFacingMode }
style = { style }
underlayColor = { underlayColor } />
+ */}
<ToolbarButton
iconName = {
this.props._locked ? 'security-locked' : 'security'