-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
39 lines (34 loc) · 1.14 KB
/
App.js
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
29
30
31
32
33
34
35
36
37
38
39
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
* @flow strict-local
*/
import React from "react";
// import { NavigationContainer } from '@react-navigation/native';
// import { MainStackNavigator } from './src/navigation/StackNavigator.js';
// import { SafeAreaProvider } from 'react-native-safe-area-context';
import "./src/localization/i18n";
import { AuthProvider } from "./src/pages/AuthContext";
import { AppNav } from "./src/navigation/AppNav";
import NotificationProvider from "./src/pages/Reminder Management/Context/ReminderContext";
import { MenuProvider } from "react-native-popup-menu";
import { LangProvider } from "./src/localization/LangProvider";
import { LogBox } from 'react-native';
LogBox.ignoreLogs(['Warning: ...']); // Ignore log notification by message
LogBox.ignoreAllLogs();//Ignore all log notifications
const App = () => {
return (
<AuthProvider>
<LangProvider>
<NotificationProvider>
<MenuProvider>
<AppNav />
</MenuProvider>
</NotificationProvider>
</LangProvider>
</AuthProvider>
);
};
export default App;