ソースを参照

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.
j8
Saúl Ibarra Corretgé 6年前
コミット
3cec4989fd
1個のファイルの変更3行の追加1行の削除
  1. 3
    1
      react/features/toolbox/components/native/OverflowMenu.js

+ 3
- 1
react/features/toolbox/components/native/OverflowMenu.js ファイルの表示

@@ -20,6 +20,8 @@ import { TileViewButton } from '../../../video-layout';
20 20
 import AudioOnlyButton from './AudioOnlyButton';
21 21
 import ToggleCameraButton from './ToggleCameraButton';
22 22
 
23
+declare var __DEV__;
24
+
23 25
 /**
24 26
  * The type of the React {@code Component} props of {@link OverflowMenu}.
25 27
  */
@@ -82,7 +84,7 @@ class OverflowMenu extends Component<Props> {
82 84
                     // Apple rejected our app because they claim requiring a
83 85
                     // Dropbox account for recording is not acceptable.
84 86
                     // Ddisable it until we can find a way around it.
85
-                    Platform.OS !== 'ios'
87
+                    (__DEV__ || Platform.OS !== 'ios')
86 88
                         && <RecordButton { ...buttonProps } />
87 89
                 }
88 90
                 <LiveStreamButton { ...buttonProps } />

読み込み中…
キャンセル
保存