Skip to content

Commit 6cb44ee

Browse files
committed
actualizacion de codigo fecha 10 de diciembre 2024
1 parent 1bf3198 commit 6cb44ee

File tree

10 files changed

+1821
-731
lines changed

10 files changed

+1821
-731
lines changed

App.js

Lines changed: 42 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,47 @@
1-
import { StatusBar } from 'expo-status-bar';
2-
import { StyleSheet, Text, View } from 'react-native';
1+
// App.js
2+
import React from 'react';
3+
import { NavigationContainer } from '@react-navigation/native';
4+
import { createStackNavigator } from '@react-navigation/stack';
5+
import Monitor from './src/screens/MonitorScreen';
6+
import Login from './src/screens/LoginScreen';
7+
import LandingPage from './src/screens/LandingPage';
8+
import Register from './src/screens/RegisterScreen';
9+
import Report from './src/screens/ReportScreen';
10+
11+
12+
13+
const Stack = createStackNavigator();
314

415
export default function App() {
516
return (
6-
<View style={styles.container}>
7-
<Text>Open up App.js to start working on your app!</Text>
8-
<StatusBar style="auto" />
9-
</View>
17+
<NavigationContainer>
18+
<Stack.Navigator initialRouteName="LandingPage">
19+
<Stack.Screen
20+
name="LandingPage"
21+
component={LandingPage}
22+
options={{ headerShown: false }}
23+
/>
24+
<Stack.Screen
25+
name="Login"
26+
component={Login}
27+
options={{ headerShown: false }}
28+
/>
29+
<Stack.Screen
30+
name="Register"
31+
component={Register}
32+
options={{ headerShown: false }}
33+
/>
34+
<Stack.Screen
35+
name="Monitor"
36+
component={Monitor}
37+
options={{ headerShown: false }}
38+
/>
39+
<Stack.Screen
40+
name="Report"
41+
component={Report}
42+
options={{ headerShown: false }}
43+
/>
44+
</Stack.Navigator>
45+
</NavigationContainer>
1046
);
1147
}
12-
13-
const styles = StyleSheet.create({
14-
container: {
15-
flex: 1,
16-
backgroundColor: '#fff',
17-
alignItems: 'center',
18-
justifyContent: 'center',
19-
},
20-
});

app.json

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
22
"expo": {
3-
"name": "my-new-project",
4-
"slug": "my-new-project",
3+
"name": "NextManager",
4+
"slug": "nextmanager",
5+
"owner": "qubitslmwork",
56
"version": "1.0.0",
67
"orientation": "portrait",
7-
"icon": "./assets/icon.png",
88
"userInterfaceStyle": "light",
99
"splash": {
10-
"image": "./assets/splash.png",
1110
"resizeMode": "contain",
1211
"backgroundColor": "#ffffff"
1312
},
@@ -16,12 +15,21 @@
1615
},
1716
"android": {
1817
"adaptiveIcon": {
19-
"foregroundImage": "./assets/adaptive-icon.png",
2018
"backgroundColor": "#ffffff"
19+
},
20+
"package": "com.nextmanager.app"
21+
},
22+
"web": {},
23+
"extra": {
24+
"eas": {
25+
"projectId": "8387b113-b372-4944-8b0e-8c1c65945631"
2126
}
2227
},
23-
"web": {
24-
"favicon": "./assets/favicon.png"
28+
"runtimeVersion": {
29+
"policy": "appVersion"
30+
},
31+
"updates": {
32+
"url": "https://u.expo.dev/8387b113-b372-4944-8b0e-8c1c65945631"
2533
}
2634
}
2735
}

eas.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"cli": {
3+
"version": ">= 13.4.1",
4+
"appVersionSource": "remote"
5+
},
6+
"build": {
7+
"development": {
8+
"developmentClient": true,
9+
"distribution": "internal"
10+
},
11+
"preview": {
12+
"distribution": "internal"
13+
},
14+
"production": {
15+
"autoIncrement": true
16+
}
17+
},
18+
"submit": {
19+
"production": {}
20+
}
21+
}

0 commit comments

Comments
 (0)