|
@@ -1,10 +1,7 @@
|
1
|
1
|
/* eslint-disable lines-around-comment, no-undef, no-unused-vars */
|
2
|
2
|
|
3
|
|
-import 'react-native-gesture-handler';
|
4
|
|
-// Apply all necessary polyfills as early as possible
|
5
|
|
-// to make sure anything imported henceforth sees them.
|
6
|
|
-import 'react-native-get-random-values';
|
7
|
|
-import './react/features/mobile/polyfills';
|
|
3
|
+// NB: This import must always come first.
|
|
4
|
+import './react/bootstrap.native';
|
8
|
5
|
|
9
|
6
|
import React, { forwardRef, useEffect, useImperativeHandle, useRef, useState } from 'react';
|
10
|
7
|
import { View, ViewStyle } from 'react-native';
|
|
@@ -12,7 +9,6 @@ import { View, ViewStyle } from 'react-native';
|
12
|
9
|
import { appNavigate } from './react/features/app/actions.native';
|
13
|
10
|
import { App } from './react/features/app/components/App.native';
|
14
|
11
|
import { setAudioMuted, setVideoMuted } from './react/features/base/media/actions';
|
15
|
|
-import JitsiThemePaperProvider from './react/features/base/ui/components/JitsiThemeProvider.native';
|
16
|
12
|
|
17
|
13
|
|
18
|
14
|
interface IEventListeners {
|
|
@@ -117,11 +113,9 @@ export const JitsiMeeting = forwardRef((props: IAppProps, ref) => {
|
117
|
113
|
|
118
|
114
|
return (
|
119
|
115
|
<View style = { style as ViewStyle }>
|
120
|
|
- <JitsiThemePaperProvider>
|
121
|
|
- <App
|
122
|
|
- { ...appProps }
|
123
|
|
- ref = { app } />
|
124
|
|
- </JitsiThemePaperProvider>
|
|
116
|
+ <App
|
|
117
|
+ { ...appProps }
|
|
118
|
+ ref = { app } />
|
125
|
119
|
</View>
|
126
|
120
|
);
|
127
|
121
|
});
|