Ver código fonte

added pincode

Ricardo-gonzalez32 2 anos atrás
pai
commit
dd28f29148

+ 32
- 0
MocionesIUPI/package-lock.json Ver arquivo

12
         "@react-native-community/hooks": "^2.8.1",
12
         "@react-native-community/hooks": "^2.8.1",
13
         "@react-navigation/material-bottom-tabs": "^6.2.8",
13
         "@react-navigation/material-bottom-tabs": "^6.2.8",
14
         "@react-navigation/native-stack": "^6.9.4",
14
         "@react-navigation/native-stack": "^6.9.4",
15
+        "deprecated-react-native-prop-types": "^2.2.0",
15
         "expo": "~47.0.6",
16
         "expo": "~47.0.6",
16
         "expo-status-bar": "~1.4.2",
17
         "expo-status-bar": "~1.4.2",
17
         "react": "18.1.0",
18
         "react": "18.1.0",
20
         "react-native-paper": "^3.12.0",
21
         "react-native-paper": "^3.12.0",
21
         "react-native-safe-area-context": "4.4.1",
22
         "react-native-safe-area-context": "4.4.1",
22
         "react-native-screens": "~3.18.0",
23
         "react-native-screens": "~3.18.0",
24
+        "react-native-smooth-pincode-input": "^1.0.9",
23
         "react-native-vector-icons": "^9.2.0",
25
         "react-native-vector-icons": "^9.2.0",
24
         "react-native-web": "~0.18.9",
26
         "react-native-web": "~0.18.9",
25
         "react-navigation-material-bottom-tabs": "^2.3.5",
27
         "react-navigation-material-bottom-tabs": "^2.3.5",
7701
         "node": ">= 0.6"
7703
         "node": ">= 0.6"
7702
       }
7704
       }
7703
     },
7705
     },
7706
+    "node_modules/deprecated-react-native-prop-types": {
7707
+      "version": "2.2.0",
7708
+      "resolved": "https://registry.npmjs.org/deprecated-react-native-prop-types/-/deprecated-react-native-prop-types-2.2.0.tgz",
7709
+      "integrity": "sha512-SiessglRbgelU8sHCrGRImdlNKfVGSp0n6+K304d0rCdHGU8wladJkPmufxE2AkjN2jy71sgekNd9IvdZp9jZg==",
7710
+      "dependencies": {
7711
+        "@react-native/normalize-color": "*",
7712
+        "invariant": "*",
7713
+        "prop-types": "*"
7714
+      }
7715
+    },
7704
     "node_modules/des.js": {
7716
     "node_modules/des.js": {
7705
       "version": "1.0.1",
7717
       "version": "1.0.1",
7706
       "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz",
7718
       "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz",
15384
         "react": "18.1.0"
15396
         "react": "18.1.0"
15385
       }
15397
       }
15386
     },
15398
     },
15399
+    "node_modules/react-native-animatable": {
15400
+      "version": "1.3.3",
15401
+      "resolved": "https://registry.npmjs.org/react-native-animatable/-/react-native-animatable-1.3.3.tgz",
15402
+      "integrity": "sha512-2ckIxZQAsvWn25Ho+DK3d1mXIgj7tITkrS4pYDvx96WyOttSvzzFeQnM2od0+FUMzILbdHDsDEqZvnz1DYNQ1w==",
15403
+      "dependencies": {
15404
+        "prop-types": "^15.7.2"
15405
+      }
15406
+    },
15387
     "node_modules/react-native-codegen": {
15407
     "node_modules/react-native-codegen": {
15388
       "version": "0.70.6",
15408
       "version": "0.70.6",
15389
       "resolved": "https://registry.npmjs.org/react-native-codegen/-/react-native-codegen-0.70.6.tgz",
15409
       "resolved": "https://registry.npmjs.org/react-native-codegen/-/react-native-codegen-0.70.6.tgz",
15479
         "react-native": "*"
15499
         "react-native": "*"
15480
       }
15500
       }
15481
     },
15501
     },
15502
+    "node_modules/react-native-smooth-pincode-input": {
15503
+      "version": "1.0.9",
15504
+      "resolved": "https://registry.npmjs.org/react-native-smooth-pincode-input/-/react-native-smooth-pincode-input-1.0.9.tgz",
15505
+      "integrity": "sha512-4V4tyUGJaze55FHuJW/gYVOD3fc4Pd7cTIrv7liTRIXR49y09C2O3XqJUdgNR+UwTgLrTt/8L2lvEuEVUk3kig==",
15506
+      "dependencies": {
15507
+        "prop-types": "^15.5.10",
15508
+        "react-native-animatable": "^1.3.0"
15509
+      },
15510
+      "peerDependencies": {
15511
+        "react-native": "*"
15512
+      }
15513
+    },
15482
     "node_modules/react-native-vector-icons": {
15514
     "node_modules/react-native-vector-icons": {
15483
       "version": "9.2.0",
15515
       "version": "9.2.0",
15484
       "resolved": "https://registry.npmjs.org/react-native-vector-icons/-/react-native-vector-icons-9.2.0.tgz",
15516
       "resolved": "https://registry.npmjs.org/react-native-vector-icons/-/react-native-vector-icons-9.2.0.tgz",

+ 2
- 0
MocionesIUPI/package.json Ver arquivo

13
     "@react-native-community/hooks": "^2.8.1",
13
     "@react-native-community/hooks": "^2.8.1",
14
     "@react-navigation/material-bottom-tabs": "^6.2.8",
14
     "@react-navigation/material-bottom-tabs": "^6.2.8",
15
     "@react-navigation/native-stack": "^6.9.4",
15
     "@react-navigation/native-stack": "^6.9.4",
16
+    "deprecated-react-native-prop-types": "^2.2.0",
16
     "expo": "~47.0.6",
17
     "expo": "~47.0.6",
17
     "expo-status-bar": "~1.4.2",
18
     "expo-status-bar": "~1.4.2",
18
     "react": "18.1.0",
19
     "react": "18.1.0",
21
     "react-native-paper": "^3.12.0",
22
     "react-native-paper": "^3.12.0",
22
     "react-native-safe-area-context": "4.4.1",
23
     "react-native-safe-area-context": "4.4.1",
23
     "react-native-screens": "~3.18.0",
24
     "react-native-screens": "~3.18.0",
25
+    "react-native-smooth-pincode-input": "^1.0.9",
24
     "react-native-vector-icons": "^9.2.0",
26
     "react-native-vector-icons": "^9.2.0",
25
     "react-native-web": "~0.18.9",
27
     "react-native-web": "~0.18.9",
26
     "react-navigation-material-bottom-tabs": "^2.3.5",
28
     "react-navigation-material-bottom-tabs": "^2.3.5",

+ 7
- 0
MocionesIUPI/routes/homeStack.js Ver arquivo

3
 import React from "react";
3
 import React from "react";
4
 
4
 
5
 import HomeScreen from '../screens/HomeScreen';
5
 import HomeScreen from '../screens/HomeScreen';
6
+import PincodeScreen from '../screens/PincodeScreen';
7
+import testscreen from '../screens/testscreen';
8
+
6
 // import MocionPage from '../screens/MocionPage';
9
 // import MocionPage from '../screens/MocionPage';
7
 
10
 
8
 {/*Aqui deberan estar todas las pantallas de la aplicacion
11
 {/*Aqui deberan estar todas las pantallas de la aplicacion
10
 const screens = {
13
 const screens = {
11
     Home: {
14
     Home: {
12
         screen: HomeScreen,
15
         screen: HomeScreen,
16
+        screen: PincodeScreen,
13
         backgroundColor: '#e81b39', // no se como hacer que despliegue color
17
         backgroundColor: '#e81b39', // no se como hacer que despliegue color
14
     },
18
     },
19
+    test: {
20
+        screen: testscreen,
21
+    }
15
 }
22
 }
16
 
23
 
17
 const HomeStack = createStackNavigator(screens);
24
 const HomeStack = createStackNavigator(screens);