From ac541960a1908e32cdfb925df850d56e5ea843a8 Mon Sep 17 00:00:00 2001 From: Ayush Srivastava Date: Tue, 12 Jul 2022 12:58:49 +0530 Subject: [PATCH] Expo Minor Updates --- Components/History.js | 3 +-- Screens/CropRecommender.js | 1 - app.json | 3 ++- package.json | 1 + yarn.lock | 37 +++++++++++++++++++++++++++++++++++++ 5 files changed, 41 insertions(+), 4 deletions(-) diff --git a/Components/History.js b/Components/History.js index 53e83aa..5eaecea 100644 --- a/Components/History.js +++ b/Components/History.js @@ -34,9 +34,8 @@ const History = ({ token }) => { }) .then(result => setHistoryData(result.history)) .finally(() => setLoading(false)) - .catch(error => console.log(error)); + .catch(error => console.warn(error)); } - console.log(historyData) const renderItem = ({ item, index }) => { diff --git a/Screens/CropRecommender.js b/Screens/CropRecommender.js index 027f524..5f10141 100644 --- a/Screens/CropRecommender.js +++ b/Screens/CropRecommender.js @@ -3,7 +3,6 @@ import { StyleSheet, Text, View, TextInput, TouchableWithoutFeedback, Keyboard, import Constants from "expo-constants"; import AsyncStorage from "@react-native-async-storage/async-storage"; import { LinearGradient } from "expo-linear-gradient"; -// import DateTimePickerModal from "react-native-modal-datetime-picker"; import { FontAwesome5 } from '@expo/vector-icons'; import { Overlay } from "react-native-elements"; import { showMessage } from "react-native-flash-message"; diff --git a/app.json b/app.json index 7190d09..7002138 100644 --- a/app.json +++ b/app.json @@ -23,7 +23,8 @@ "adaptiveIcon": { "foregroundImage": "./assets/adaptive-icon.png", "backgroundColor": "#FFFFFF" - } + }, + "package": "com.ayushsri.growmore" }, "web": { "favicon": "./assets/favicon.png" diff --git a/package.json b/package.json index 90befe0..d31377e 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "expo-linear-gradient": "~11.0.0", "expo-location": "~14.0.1", "expo-status-bar": "~1.2.0", + "expo-updates": "~0.11.7", "localtunnel": "^2.0.2", "react": "17.0.1", "react-dom": "17.0.1", diff --git a/yarn.lock b/yarn.lock index 3641bb9..f3641b4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2615,6 +2615,11 @@ expo-font@~10.0.4: dependencies: fontfaceobserver "^2.1.0" +expo-json-utils@~0.2.0: + version "0.2.1" + resolved "https://registry.yarnpkg.com/expo-json-utils/-/expo-json-utils-0.2.1.tgz#a8d15181e361f3fc782d5241ce381851bab4465b" + integrity sha512-wU7gXGtaUlyxFLTp5e3PbnJB90/92r6gEc2BuMHdqE0OxhTQKyKzRszk2szCsdkeI7L4XntvZhCs1Px+gL1gvA== + expo-keep-awake@~10.0.1: version "10.0.1" resolved "https://registry.npmjs.org/expo-keep-awake/-/expo-keep-awake-10.0.1.tgz" @@ -2633,6 +2638,13 @@ expo-location@~14.0.1: "@expo/config-plugins" "^4.0.2" unimodules-task-manager-interface "~7.1.0" +expo-manifests@~0.2.2: + version "0.2.4" + resolved "https://registry.yarnpkg.com/expo-manifests/-/expo-manifests-0.2.4.tgz#28aa7a0b21d8b932e1a49c836cfc31b5a9cd1f9c" + integrity sha512-8PrMPyvElKXflYd1ApDHJR9JF0SR996iVEVQgHAMLzVP7OqEAM6dQaFeqrRqVn/DSsxEWkJTpxv8WJ5NWrT4Lg== + dependencies: + expo-json-utils "~0.2.0" + expo-modules-autolinking@0.5.2: version "0.5.2" resolved "https://registry.npmjs.org/expo-modules-autolinking/-/expo-modules-autolinking-0.5.2.tgz" @@ -2657,6 +2669,31 @@ expo-status-bar@~1.2.0: resolved "https://registry.npmjs.org/expo-status-bar/-/expo-status-bar-1.2.0.tgz" integrity sha512-pVZZ/kDCXFK79E4dCtRecs3XLC8aiwlciutSd/fFmUPJSQZ1Txia6hlKajPt0GAYft8/YnT0V3URXzWZOBniYQ== +expo-structured-headers@~2.1.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/expo-structured-headers/-/expo-structured-headers-2.1.1.tgz#bdbf8752af36c7d3203540476af55562546b6aeb" + integrity sha512-0up4sfHHsiK2YLpTwD/ssUD2oeSGzVUeARnu/itKAJO4zHqjpc+m8N1s7HPSJcdC7fdDpMjzcdrDasT0o+cOAw== + +expo-updates-interface@~0.5.0: + version "0.5.2" + resolved "https://registry.yarnpkg.com/expo-updates-interface/-/expo-updates-interface-0.5.2.tgz#5bb1e9be05db8013d5904fa8ed636c8c40604290" + integrity sha512-8BTaTl5pE5DYvqbJubnSH3rL55ay+wonPZe53f8CGj4PN3bV4UAQXbG9wFTDBtOaT982oyUUWdjUh/a1P3EVDw== + +expo-updates@~0.11.7: + version "0.11.7" + resolved "https://registry.yarnpkg.com/expo-updates/-/expo-updates-0.11.7.tgz#c267ce8818d42a997d49a1e24b11b4887a2fb17b" + integrity sha512-zmteCFOBj2OtDOZO5eGgFHR4EXZvFUv5DM56aMkZ6+PE/fo+8ZjNZLxkQWD33GXmXs/9jLCLKXPj2+6kCJvyhg== + dependencies: + "@expo/config" "^6.0.6" + "@expo/config-plugins" "^4.0.2" + "@expo/metro-config" "~0.2.6" + expo-manifests "~0.2.2" + expo-structured-headers "~2.1.0" + expo-updates-interface "~0.5.0" + fbemitter "^2.1.1" + resolve-from "^5.0.0" + uuid "^3.4.0" + expo@~44.0.0: version "44.0.1" resolved "https://registry.npmjs.org/expo/-/expo-44.0.1.tgz"