-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAppIos.js
25 lines (24 loc) · 883 Bytes
/
AppIos.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
import React from "react";
import { AppRegistry, AppConfig, StatusBar, Platform } from "react-native";
// import AccountExamination from "./app/Screens/RegistrationStore";
// import SMS from "./app/Screens/SMSAuthentication";
import Navigator from "./app/Routes/LoginStack";
import BackdropProvider from "@mgcrea/react-native-backdrop-provider";
import firebase from "firebase/app";
import "firebase/firestore";
import messaging from "@react-native-firebase/messaging";
import { firebaseConfig } from "./firebaseConfig";
import { useNavigation } from "react-navigation-hooks";
import { enableScreens } from 'react-native-screens';
if (!firebase.apps.length) {
firebase.initializeApp(firebaseConfig);
}
export default function AppIos() {
enableScreens();
return (
<BackdropProvider>
<StatusBar barStyle="default" />
<Navigator />
</BackdropProvider>
);
}