Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update outdated packages in package.json #463

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from
2 changes: 1 addition & 1 deletion android/build.gradle
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why have you changed minSdkVersion?

Copy link

@Ayushsanjdev Ayushsanjdev Oct 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, This will lead to having issues on publishing it to playstore, should always use latest. @Aditys018 fyi

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
buildscript {
ext {
buildToolsVersion = "34.0.0"
minSdkVersion = 31
minSdkVersion = 29
compileSdkVersion = 34
targetSdkVersion = 34
ndkVersion = "25.1.8937393"
Expand Down
2 changes: 1 addition & 1 deletion android/gradle.properties
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this change needed?

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# The setting is particularly useful for tweaking memory settings.

# Default value: -Xmx512m -XX:MaxMetaspaceSize=256m
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
org.gradle.jvmargs=-Xmx1048m -XX:MaxMetaspaceSize=512m

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
Expand Down
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,53 +17,53 @@
},
"dependencies": {
"@babel/helper-hoist-variables": "^7.24.7",
"@react-native-async-storage/async-storage": "^1.15.16",
"@react-native-community/netinfo": "^5.9.9",
"@react-native-async-storage/async-storage": "^1.24.0",
"@react-native-community/netinfo": "^5.9.10",
"@react-native-community/slider": "^4.4.3",
"@react-native-masked-view/masked-view": "^0.2.6",
"@react-native-masked-view/masked-view": "^0.2.9",
Aditys018 marked this conversation as resolved.
Show resolved Hide resolved
"@react-navigation/bottom-tabs": "^6.0.9",
"@react-navigation/drawer": "^6.1.8",
"@react-navigation/material-top-tabs": "^6.6.4",
"@react-navigation/native": "^6.0.8",
"@react-navigation/native-stack": "^6.9.12",
"@react-navigation/stack": "^6.2.0",
"axios": "^0.26.0",
"eslint-plugin-prettier": "^4.1.0",
"axios": "^0.26.1",
"eslint-plugin-prettier": "^4.2.1",
"moment": "^2.29.4",
"react": "18.2.0",
"react-native": "0.74.2",
"react-native-app-auth": "^6.4.2",
"react-native-app-auth": "^6.4.3",
"react-native-arc-progress-bar": "^1.2.0",
"react-native-asset": "^2.1.1",
"react-native-camera-kit": "^13.0.0",
"react-native-circular-progress-indicator": "^4.4.2",
"react-native-collapsible": "^1.6.1",
"react-native-collapsible-tab-view": "^6.2.1",
"react-native-collapsible-tab-view": "^6.2.2",
"react-native-date-picker": "^4.2.13",
"react-native-datepicker": "^1.7.2",
"react-native-device-info": "^10.8.0",
"react-native-device-info": "^10.14.0",
"react-native-dropdown-picker": "^5.4.6",
"react-native-element-dropdown": "^2.10.0",
"react-native-encrypted-storage": "^4.0.3",
"react-native-floating-action": "^1.22.0",
"react-native-gesture-handler": "^1.10.3",
"react-native-image-picker": "^4.7.1",
"react-native-keychain": "^8.1.2",
"react-native-image-picker": "^4.10.3",
"react-native-keychain": "^8.2.0",
"react-native-modal": "^13.0.1",
"react-native-pager-view": "^6.2.1",
"react-native-paper": "^5.11.2",
"react-native-progress": "^5.0.1",
"react-native-radio-buttons-group": "^2.2.11",
"react-native-radio-buttons-group": "^2.3.2",
"react-native-reanimated": "^3.9.0-rc.1",
"react-native-safe-area-context": "^3.2.0",
"react-native-safe-area-context": "^3.4.1",
"react-native-screens": "^3.9.0",
"react-native-svg": "^14.1.0",
"react-native-svg": "^14.2.0",
"react-native-svg-uri": "^1.2.3",
"react-native-tab-view": "^3.5.2",
"react-native-toast-message": "^2.1.5",
"react-native-walkthrough-tooltip": "^1.5.0",
"react-native-webview": "^13.3.1",
"react-redux": "^8.1.1",
"react-redux": "^8.1.3",
"redux": "^4.2.1",
"redux-saga": "^1.2.3"
},
Expand All @@ -77,18 +77,18 @@
"@react-native/eslint-config": "0.74.84",
"@react-native/metro-config": "0.74.84",
"@react-native/typescript-config": "0.74.84",
"@rnx-kit/align-deps": "^2.2.2",
"@testing-library/jest-native": "^4.0.4",
"@rnx-kit/align-deps": "^2.5.5",
"@testing-library/jest-native": "^4.0.13",
"@testing-library/react-native": "^12.3.0",
"@types/jest": "^26.0.23",
"@types/react": "^18.2.6",
"@types/react-native": "^0.66.4",
"@types/jest": "^26.0.24",
"@types/react": "^18.3.11",
"@types/react-native": "^0.66.34",
"@types/react-native-datepicker": "^1.7.1",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"@typescript-eslint/parser": "^5.62.0",
"babel-jest": "^29.6.3",
"eslint": "^8.19.0",
"eslint": "^8.57.1",
"jest": "^29.6.3",
"metro-react-native-babel-preset": "^0.66.2",
"prettier": "2.8.8",
Expand Down
108 changes: 54 additions & 54 deletions src/components/CreateGoalForm/DatePicker.tsx
Aditys018 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,58 +1,58 @@
import React, { useState } from 'react';
import { SafeAreaView, StyleSheet, View } from 'react-native';
import DatePicker from 'react-native-datepicker';
// import React, { useState } from 'react';
shreya-mishra marked this conversation as resolved.
Show resolved Hide resolved
// import { SafeAreaView, StyleSheet, View } from 'react-native';
// import DatePicker from 'react-native-datepicker';

const DatePickerComponent = () => {
const [date, setDate] = useState('');
// const DatePickerComponent = () => {
// const [date, setDate] = useState('');

return (
<SafeAreaView style={styles.container}>
<View style={styles.container}>
<DatePicker
style={styles.datePickerStyle}
date={date}
mode="date"
placeholder="DD-MM-YYYY"
format="DD-MM-YYYY"
minDate="01-01-2020"
maxDate="01-01-2025"
confirmBtnText="Confirm"
cancelBtnText="Cancel"
customStyles={{
dateIcon: {
position: 'absolute',
left: 0,
top: 4,
marginLeft: 0,
},
dateInput: {
marginLeft: 36,
height: 30,
border: 'none',
},
}}
onDateChange={() => {
setDate(date);
}}
/>
</View>
</SafeAreaView>
);
};
// return (
// <SafeAreaView style={styles.container}>
// <View style={styles.container}>
// <DatePicker
// style={styles.datePickerStyle}
// date={date}
// mode="date"
// placeholder="DD-MM-YYYY"
// format="DD-MM-YYYY"
// minDate="01-01-2020"
// maxDate="01-01-2025"
// confirmBtnText="Confirm"
// cancelBtnText="Cancel"
// customStyles={{
// dateIcon: {
// position: 'absolute',
// left: 0,
// top: 4,
// marginLeft: 0,
// },
// dateInput: {
// marginLeft: 36,
// height: 30,
// border: 'none',
// },
// }}
// onDateChange={() => {
// setDate(date);
// }}
// />
// </View>
// </SafeAreaView>
// );
// };

export default DatePickerComponent;
// export default DatePickerComponent;

const styles = StyleSheet.create({
container: {
flex: 1,
padding: 8,
justifyContent: 'center',
alignItems: 'center',
},
datePickerStyle: {
height: 40,
border: '1px solid black',
width: 205,
marginTop: 2,
},
});
// const styles = StyleSheet.create({
// container: {
// flex: 1,
// padding: 8,
// justifyContent: 'center',
// alignItems: 'center',
// },
// datePickerStyle: {
// height: 40,
// border: '1px solid black',
// width: 205,
// marginTop: 2,
// },
// });
Loading