-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.tsx
More file actions
27 lines (23 loc) · 692 Bytes
/
Copy pathApp.tsx
File metadata and controls
27 lines (23 loc) · 692 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { useEffect } from "react";
import { LogBox } from "react-native";
import { StatusBar } from "expo-status-bar";
import { SafeAreaProvider } from "react-native-safe-area-context";
import { AppProvider } from "./src/Context";
import History from "./src/sections/History";
import Recorder from "./src/sections/Recorder";
import { prepareAudioCapabilities } from "./src/AudioService";
LogBox.ignoreAllLogs();
export default function App() {
useEffect(() => {
prepareAudioCapabilities();
}, []);
return (
<SafeAreaProvider>
<AppProvider>
<StatusBar style="auto" />
<History />
<Recorder />
</AppProvider>
</SafeAreaProvider>
);
}