Skip to content

Commit 8f142d0

Browse files
authored
Update @livekit/react-native to 2.10.2 and some other expo dependencies (#36)
* Update @livekit/react-native to 2.10.2 and some other expo dependencies * update package and package-lock.json
1 parent 499c2db commit 8f142d0

5 files changed

Lines changed: 789 additions & 2048 deletions

File tree

app/_layout.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,8 @@ import { StatusBar } from 'expo-status-bar';
88
import 'react-native-reanimated';
99

1010
import { useColorScheme } from '@/hooks/useColorScheme';
11-
import { registerGlobals } from '@livekit/react-native';
1211
import { ConnectionProvider } from '@/hooks/useConnection';
1312

14-
// Do required setup for LiveKit React-Native
15-
registerGlobals();
16-
1713
export default function RootLayout() {
1814
const colorScheme = useColorScheme();
1915

index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Custom entry point for the app
2+
// This is used to setup the LiveKit React-Native environment before the app starts
3+
import '@/setup/livekitSetup';
4+
5+
// Register app entry through Expo Router
6+
import 'expo-router/entry';

0 commit comments

Comments
 (0)