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);
