Browse Source

commenting console.log

master
analuizaff 3 years ago
parent
commit
7da76e84ff
  1. 2
      src/app/components/forms/FormDatePicker.js
  2. 2
      src/app/components/forms/FormImagePicker.js
  3. 2
      src/app/database/databaseLoader.js
  4. 6
      src/app/screens/MapFormScreen.js
  5. 55
      src/package-lock.json
  6. 1
      src/package.json

2
src/app/components/forms/FormDatePicker.js

@ -176,7 +176,7 @@ const FormDatePicker = (props) => {
borderTopColor: "#d3d3d3",
borderTopWidth: 1,
}}
onPress={() => console.log("datepicker clicked")}
// onPress={() => console.log("datepicker clicked")}
>
<View
style={{

2
src/app/components/forms/FormImagePicker.js

@ -24,7 +24,7 @@ function FormImagePicker({ name }) {
[
{
text: "Cancel",
onPress: () => console.log("Cancel Pressed"),
// onPress: () => console.log("Cancel Pressed"),
style: "cancel"
},
{ text: "OK", onPress: () => setFieldValue(name, [uri])}

2
src/app/database/databaseLoader.js

@ -3,7 +3,7 @@ import "../config/globals";
import moment from "moment";
function transaction(db, query, values) {
console.log("inserting values");
//console.log("inserting values");
db.transaction((tx) => {
tx.executeSql(
query,

6
src/app/screens/MapFormScreen.js

@ -17,8 +17,8 @@ const MapFormScreen = (props) => {
Location.setGoogleApiKey("AIzaSyD_wuuokS3SVczc8qSASrsBq0E5qIpdyMc");
const address = await Location.reverseGeocodeAsync(coordenadas);
console.log(address);
console.log(coordenadas);
// console.log(address);
// console.log(coordenadas);
if (address[0] != undefined) {
var street = address[0].street == null ? "" : address[0].street;
var number = address[0].name == null ? "" : ", " + address[0].name;
@ -37,7 +37,7 @@ const MapFormScreen = (props) => {
//leva o mapa pra localização escolhida pelo usuário
const moveLocation = (l) => {
console.log(l);
// console.log(l);
setMoveEndListener(l);
// setPosition({
// lat: l["latitude"],

55
src/package-lock.json

@ -3518,6 +3518,15 @@
"ansi-styles": "^4.0.0",
"react-is": "^16.12.0"
}
},
"ws": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/ws/-/ws-1.1.5.tgz",
"integrity": "sha512-o3KqipXNUdS7wpQzBHSe180lBGO60SoK0yVo3CYJgb2MkobuWuBX6dhkYP5ORCLd55y+SaflMOV5fqAB53ux4w==",
"requires": {
"options": ">=0.0.5",
"ultron": "1.0.x"
}
}
}
},
@ -14112,6 +14121,15 @@
"requires": {
"ansi-regex": "^3.0.0"
}
},
"ws": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/ws/-/ws-1.1.5.tgz",
"integrity": "sha512-o3KqipXNUdS7wpQzBHSe180lBGO60SoK0yVo3CYJgb2MkobuWuBX6dhkYP5ORCLd55y+SaflMOV5fqAB53ux4w==",
"requires": {
"options": ">=0.0.5",
"ultron": "1.0.x"
}
}
}
},
@ -14730,6 +14748,17 @@
"rxjs": "^5.4.3",
"ws": "^1.1.5",
"yargs": "^14.2.0"
},
"dependencies": {
"ws": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/ws/-/ws-1.1.5.tgz",
"integrity": "sha512-o3KqipXNUdS7wpQzBHSe180lBGO60SoK0yVo3CYJgb2MkobuWuBX6dhkYP5ORCLd55y+SaflMOV5fqAB53ux4w==",
"requires": {
"options": ">=0.0.5",
"ultron": "1.0.x"
}
}
}
},
"metro-minify-uglify": {
@ -18351,6 +18380,22 @@
"xcode": "^0.9.1",
"xmldoc": "^0.4.0",
"yargs": "^9.0.0"
},
"dependencies": {
"ultron": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/ultron/-/ultron-1.0.2.tgz",
"integrity": "sha1-rOEWq1V80Zc4ak6I9GhTeMiy5Po="
},
"ws": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/ws/-/ws-1.1.5.tgz",
"integrity": "sha512-o3KqipXNUdS7wpQzBHSe180lBGO60SoK0yVo3CYJgb2MkobuWuBX6dhkYP5ORCLd55y+SaflMOV5fqAB53ux4w==",
"requires": {
"options": ">=0.0.5",
"ultron": "1.0.x"
}
}
}
},
"read-pkg": {
@ -20396,13 +20441,9 @@
}
},
"ws": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/ws/-/ws-1.1.5.tgz",
"integrity": "sha512-o3KqipXNUdS7wpQzBHSe180lBGO60SoK0yVo3CYJgb2MkobuWuBX6dhkYP5ORCLd55y+SaflMOV5fqAB53ux4w==",
"requires": {
"options": ">=0.0.5",
"ultron": "1.0.x"
}
"version": "8.2.0",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.2.0.tgz",
"integrity": "sha512-uYhVJ/m9oXwEI04iIVmgLmugh2qrZihkywG9y5FfZV2ATeLIzHf93qs+tUNqlttbQK957/VX3mtwAS+UfIwA4g=="
},
"xcode": {
"version": "3.0.1",

1
src/package.json

@ -63,6 +63,7 @@
"react-navigation-tabs": "^2.10.1",
"rn-checkbox-list": "^0.4.0",
"searchable-flatlist": "0.0.4",
"ws": "^8.2.0",
"yup": "^0.28.5"
},
"devDependencies": {

Loading…
Cancel
Save