-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.tsx
28 lines (25 loc) · 961 Bytes
/
App.tsx
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
28
import React from "react";
import Navigation from "./src/navigation";
import { AuthProvider } from "./src/provider/AuthProvider";
import { ThemeProvider } from "react-native-rapi-ui";
import { LogBox } from "react-native";
export default function App() {
const images = [
require("./assets/images/login.png"),
require("./assets/images/register.png"),
require("./assets/images/forget.png"),
];
// Ignore firebase v9 AsyncStorage warning
React.useEffect(() => {
LogBox.ignoreLogs([
"AsyncStorage has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-async-storage/async-storage' instead of 'react-native'. See https://github.com/react-native-async-storage/async-storage",
]);
}, []);
return (
<ThemeProvider theme="dark" images={images}>
<AuthProvider>
<Navigation />
</AuthProvider>
</ThemeProvider>
);
}