浏览代码

[RN] Move all mobile only features to a subdirectory

master
Saúl Ibarra Corretgé 8 年前
父节点
当前提交
c5eac63da1

+ 4
- 4
react/features/app/components/App.native.js 查看文件

2
 
2
 
3
 import { Linking } from 'react-native';
3
 import { Linking } from 'react-native';
4
 
4
 
5
-import '../../audio-mode';
6
-import '../../background';
7
 import { Platform } from '../../base/react';
5
 import { Platform } from '../../base/react';
8
-import '../../full-screen';
9
-import '../../wake-lock';
6
+import '../../mobile/audio-mode';
7
+import '../../mobile/background';
8
+import '../../mobile/full-screen';
9
+import '../../mobile/wake-lock';
10
 
10
 
11
 import { AbstractApp } from './AbstractApp';
11
 import { AbstractApp } from './AbstractApp';
12
 
12
 

react/features/audio-mode/index.js → react/features/mobile/audio-mode/index.js 查看文件


react/features/audio-mode/middleware.js → react/features/mobile/audio-mode/middleware.js 查看文件

2
 
2
 
3
 import { NativeModules } from 'react-native';
3
 import { NativeModules } from 'react-native';
4
 
4
 
5
-import { APP_WILL_MOUNT } from '../app';
5
+import { APP_WILL_MOUNT } from '../../app';
6
 import {
6
 import {
7
     CONFERENCE_FAILED,
7
     CONFERENCE_FAILED,
8
     CONFERENCE_LEFT,
8
     CONFERENCE_LEFT,
9
     CONFERENCE_WILL_JOIN
9
     CONFERENCE_WILL_JOIN
10
-} from '../base/conference';
11
-import { MiddlewareRegistry } from '../base/redux';
10
+} from '../../base/conference';
11
+import { MiddlewareRegistry } from '../../base/redux';
12
 
12
 
13
 /**
13
 /**
14
  * Middleware that captures conference actions and sets the correct audio mode
14
  * Middleware that captures conference actions and sets the correct audio mode

react/features/background/actionTypes.js → react/features/mobile/background/actionTypes.js 查看文件

1
-import { Symbol } from '../base/react';
1
+import { Symbol } from '../../base/react';
2
 
2
 
3
 /**
3
 /**
4
  * The type of redux action to set the AppState API change event listener.
4
  * The type of redux action to set the AppState API change event listener.

react/features/background/actions.js → react/features/mobile/background/actions.js 查看文件

1
-import { setVideoMuted } from '../base/media';
1
+import { setVideoMuted } from '../../base/media';
2
 
2
 
3
 import {
3
 import {
4
     _SET_APP_STATE_LISTENER,
4
     _SET_APP_STATE_LISTENER,

react/features/background/index.js → react/features/mobile/background/index.js 查看文件


react/features/background/middleware.js → react/features/mobile/background/middleware.js 查看文件

6
 import {
6
 import {
7
     APP_WILL_MOUNT,
7
     APP_WILL_MOUNT,
8
     APP_WILL_UNMOUNT
8
     APP_WILL_UNMOUNT
9
-} from '../app';
10
-import { MiddlewareRegistry } from '../base/redux';
9
+} from '../../app';
10
+import { MiddlewareRegistry } from '../../base/redux';
11
 
11
 
12
 import {
12
 import {
13
     _setAppStateListener,
13
     _setAppStateListener,

react/features/background/reducer.js → react/features/mobile/background/reducer.js 查看文件

1
-import { ReducerRegistry } from '../base/redux';
1
+import { ReducerRegistry } from '../../base/redux';
2
 
2
 
3
 import {
3
 import {
4
     _SET_APP_STATE_LISTENER,
4
     _SET_APP_STATE_LISTENER,

react/features/full-screen/index.js → react/features/mobile/full-screen/index.js 查看文件


react/features/full-screen/middleware.js → react/features/mobile/full-screen/middleware.js 查看文件

8
     CONFERENCE_FAILED,
8
     CONFERENCE_FAILED,
9
     CONFERENCE_LEFT,
9
     CONFERENCE_LEFT,
10
     CONFERENCE_WILL_JOIN
10
     CONFERENCE_WILL_JOIN
11
-} from '../base/conference';
12
-import { Platform } from '../base/react';
13
-import { MiddlewareRegistry } from '../base/redux';
11
+} from '../../base/conference';
12
+import { Platform } from '../../base/react';
13
+import { MiddlewareRegistry } from '../../base/redux';
14
 
14
 
15
 /**
15
 /**
16
  * Middleware that captures conference actions and activates or deactivates the
16
  * Middleware that captures conference actions and activates or deactivates the

react/features/wake-lock/index.js → react/features/mobile/wake-lock/index.js 查看文件


react/features/wake-lock/middleware.js → react/features/mobile/wake-lock/middleware.js 查看文件

4
     CONFERENCE_FAILED,
4
     CONFERENCE_FAILED,
5
     CONFERENCE_JOINED,
5
     CONFERENCE_JOINED,
6
     CONFERENCE_LEFT
6
     CONFERENCE_LEFT
7
-} from '../base/conference';
8
-import { MiddlewareRegistry } from '../base/redux';
7
+} from '../../base/conference';
8
+import { MiddlewareRegistry } from '../../base/redux';
9
 
9
 
10
 /**
10
 /**
11
  * Middleware that captures conference actions and activates or deactivates the
11
  * Middleware that captures conference actions and activates or deactivates the

正在加载...
取消
保存