a8a0b7db1b
* wip * wip * wip * format * wip(mobile): lint and format * cleanup * nits * nits * idiomatic react * nit * format all root files
12 lines
412 B
TypeScript
12 lines
412 B
TypeScript
import './global.css';
|
|
import { registerGlobals } from '@livekit/react-native';
|
|
import { registerRootComponent } from 'expo';
|
|
import App from './src/App';
|
|
|
|
// LiveKit pipes WebRTC globals (RTCPeerConnection, mediaDevices, ...) onto the
|
|
// JS global. Must run before any LiveKit client is constructed, so do it at
|
|
// app entry rather than inside the huddle screen.
|
|
registerGlobals();
|
|
|
|
registerRootComponent(App);
|