diff --git a/src/App.js b/src/App.js index 14c9bd8..f49e10d 100644 --- a/src/App.js +++ b/src/App.js @@ -3,11 +3,20 @@ import { NavigationContainer } from "@react-navigation/native"; import navigationTheme from "./app/navigation/navigationTheme"; import AppNavigator from "./app/navigation/AppNavigator"; +import "./app/config/globals.js"; +import openDatabase from "./app/database/database-connection"; + +import SharingFloodZonesScreen from "./app/screens/SharingFloodZonesScreen"; +import initDatabase from "./app/database/database-init"; export default function App() { + global.userDataBase = openDatabase(); + initDatabase(global.userDataBase); + return ( + // ); -} \ No newline at end of file +}