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.
This commit is contained in:
Saúl Ibarra Corretgé 2019-01-29 11:56:57 +01:00 committed by Saúl Ibarra Corretgé
parent 77f220753f
commit 3cec4989fd
1 changed files with 3 additions and 1 deletions

View File

@ -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<Props> {
// 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')
&& <RecordButton { ...buttonProps } />
}
<LiveStreamButton { ...buttonProps } />