Bladeren bron

added pincode

Ricardo-gonzalez32 2 jaren geleden
bovenliggende
commit
dd28f29148
3 gewijzigde bestanden met toevoegingen van 41 en 0 verwijderingen
  1. 32
    0
      MocionesIUPI/package-lock.json
  2. 2
    0
      MocionesIUPI/package.json
  3. 7
    0
      MocionesIUPI/routes/homeStack.js

+ 32
- 0
MocionesIUPI/package-lock.json Bestand weergeven

@@ -12,6 +12,7 @@
12 12
         "@react-native-community/hooks": "^2.8.1",
13 13
         "@react-navigation/material-bottom-tabs": "^6.2.8",
14 14
         "@react-navigation/native-stack": "^6.9.4",
15
+        "deprecated-react-native-prop-types": "^2.2.0",
15 16
         "expo": "~47.0.6",
16 17
         "expo-status-bar": "~1.4.2",
17 18
         "react": "18.1.0",
@@ -20,6 +21,7 @@
20 21
         "react-native-paper": "^3.12.0",
21 22
         "react-native-safe-area-context": "4.4.1",
22 23
         "react-native-screens": "~3.18.0",
24
+        "react-native-smooth-pincode-input": "^1.0.9",
23 25
         "react-native-vector-icons": "^9.2.0",
24 26
         "react-native-web": "~0.18.9",
25 27
         "react-navigation-material-bottom-tabs": "^2.3.5",
@@ -7701,6 +7703,16 @@
7701 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 7716
     "node_modules/des.js": {
7705 7717
       "version": "1.0.1",
7706 7718
       "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz",
@@ -15384,6 +15396,14 @@
15384 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 15407
     "node_modules/react-native-codegen": {
15388 15408
       "version": "0.70.6",
15389 15409
       "resolved": "https://registry.npmjs.org/react-native-codegen/-/react-native-codegen-0.70.6.tgz",
@@ -15479,6 +15499,18 @@
15479 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 15514
     "node_modules/react-native-vector-icons": {
15483 15515
       "version": "9.2.0",
15484 15516
       "resolved": "https://registry.npmjs.org/react-native-vector-icons/-/react-native-vector-icons-9.2.0.tgz",

+ 2
- 0
MocionesIUPI/package.json Bestand weergeven

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

+ 7
- 0
MocionesIUPI/routes/homeStack.js Bestand weergeven

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