From 3cec4989fd8144d494f890a21231614ce9bfa91e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 29 Jan 2019 11:56:57 +0100 Subject: [PATCH] ios: enable recording in dev mode While Apple doesn't want to allow us to enable Dropbox, it's good to have it available for testing. --- react/features/toolbox/components/native/OverflowMenu.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/react/features/toolbox/components/native/OverflowMenu.js b/react/features/toolbox/components/native/OverflowMenu.js index 427e1de27..c7c9a686e 100644 --- a/react/features/toolbox/components/native/OverflowMenu.js +++ b/react/features/toolbox/components/native/OverflowMenu.js @@ -20,6 +20,8 @@ import { TileViewButton } from '../../../video-layout'; import AudioOnlyButton from './AudioOnlyButton'; import ToggleCameraButton from './ToggleCameraButton'; +declare var __DEV__; + /** * The type of the React {@code Component} props of {@link OverflowMenu}. */ @@ -82,7 +84,7 @@ class OverflowMenu extends Component { // Apple rejected our app because they claim requiring a // Dropbox account for recording is not acceptable. // Ddisable it until we can find a way around it. - Platform.OS !== 'ios' + (__DEV__ || Platform.OS !== 'ios') && }