react-native-community / cli

The React Native Community CLI - command line tools to help you build RN apps
MIT License
2.4k stars 904 forks source link

Has anyone had problems with fetch in version 69.4 after using deprecated-react-native-prop-types? #1688

Closed CCB-cerivera closed 2 years ago

CCB-cerivera commented 2 years ago

Has anyone had problems with fetch in version 69.4 after using deprecated-react-native-prop-types?

Currently it takes between 8 to 10 minutes for fetch to respond to a request, in version 68.3 it works very well but when moving to 69.4 fetch doesn't work, when the 10 minutes have passed the app is functional, but when restarting it it fails again for 10 minutes.

i need help, thk

package.json

{ "main": "index.js", "scripts": { "android": "react-native run-android", "ios": "react-native run-ios", "web": "expo start --web", "start": "react-native start", "test": "jest", "eject": "expo eject" }, "dependencies": { "@react-native-async-storage/async-storage": "~1.17.10", "@react-native-community/cli": "^9.0.0", "@react-native-community/cli-platform-android": "^9.0.0", "@react-native-community/cli-platform-ios": "^9.0.0", "@react-native-community/datetimepicker": "6.3.2", "@react-native-community/geolocation": "^2.1.0", "@react-native-community/masked-view": "0.1.10", "@react-native-community/netinfo": "9.3.0", "@react-native-firebase/app": "^15.3.0", "@react-navigation/native": "^6.0.12", "@thevsstech/react-native-skeleton": "^2.0.11", "@types/react-native": "^0.69.5", "@xmldom/xmldom": "^0.8.2", "ansi-regex": "^6.0.1", "async": "^3.2.4", "babel-plugin-transform-remove-console": "^6.9.4", "babel-traverse": "^6.26.0", "babylon": "^6.18.0", "class-validator": "^0.13.2", "date-fns": "^2.29.2", "deprecated-react-native-prop-types": "^2.3.0", "expo": "^46.0.9", "expo-asset": "~8.6.1", "expo-av": "~12.0.4", "expo-barcode-scanner": "~11.4.0", "expo-camera": "~12.3.0", "expo-constants": "~13.2.4", "expo-contacts": "~10.3.0", "expo-crypto": "~11.0.0", "expo-device": "~4.3.0", "expo-file-system": "~14.1.0", "expo-image-manipulator": "~10.4.0", "expo-image-picker": "~13.3.1", "expo-linear-gradient": "~11.4.0", "expo-local-authentication": "~12.3.0", "expo-location": "~14.3.0", "expo-media-library": "~14.2.0", "expo-network": "~4.3.0", "expo-notifications": "~0.16.1", "expo-permissions": "~13.2.0", "expo-secure-store": "~11.3.0", "expo-sharing": "~10.3.0", "expo-splash-screen": "~0.16.2", "expo-status-bar": "~1.4.0", "expo-updates": "~0.14.5", "hermes-engine": "^0.11.0", "i18next": "^21.9.1", "jpeg-js": "^0.4.4", "json-schema": "^0.4.0", "metro-react-native-babel-transformer": "^0.72.1", "minimist": "^1.2.6", "npm": "^8.18.0", "nth-check": "^2.1.1", "react": "18.2.0", "react-dom": "18.2.0", "react-i18next": "^11.18.4", "react-native": "0.69.4", "react-native-animatable": "^1.3.3", "react-native-app-intro-slider": "^4.0.4", "react-native-background-timer": "^2.4.1", "react-native-base64": "^0.2.1", "react-native-biometrics": "^2.2.0", "react-native-check-box": "^2.1.7", "react-native-confirmation-code-input": "^1.0.4", "react-native-dotenv": "^3.3.1", "react-native-dropdownalert": "^4.5.1", "react-native-exit-app-v2": "^1.2.2", "react-native-floating-action": "^1.22.0", "react-native-geolocation-service": "^5.3.0", "react-native-gesture-handler": "~2.5.0", "react-native-global-font": "^1.0.3", "react-native-internet-connection-alert": "^0.1.9", "react-native-linear-gradient": "^2.6.2", "react-native-localize": "^2.2.3", "react-native-maps": "^1.3.0", "react-native-obfuscating-transformer": "^1.0.0", "react-native-pager-view": "5.4.25", "react-native-paper": "^4.12.4", "react-native-public-ip": "^1.0.2", "react-native-qrcode-svg": "^6.1.2", "react-native-reanimated": "~2.10.0", "react-native-safe-area-context": "4.3.3", "react-native-safe-area-view": "^1.1.1", "react-native-screens": "~3.16.0", "react-native-simple-crypto": "^0.2.15", "react-native-snap-carousel": "^4.0.0-beta.6", "react-native-svg": "13.0.0", "react-native-tab-view": "^3.1.1", "react-native-torch": "^1.2.0", "react-native-uuid": "^2.0.1", "react-native-vector-icons": "^9.2.0", "react-native-view-shot": "3.4.0", "react-native-web": "~0.18.7", "react-native-windows": "^0.69.6", "react-navigation": "^4.4.4", "react-navigation-stack": "^2.10.4", "react-redux": "^8.0.2", "reanimated-bottom-sheet": "^1.0.0-alpha.22", "redux": "^4.2.0", "redux-thunk": "^2.4.1", "shelljs": "^0.8.5", "simple-plist": "^1.3.1", "tmpl": "^1.0.5", "unimodules-task-manager-interface": "~7.1.2", "url-parse": "^1.5.10", "validator": "^13.7.0", "xmldom": "^0.6.0" }, "devDependencies": { "@babel/core": "^7.18.13", "@babel/runtime": "^7.18.9", "@react-native-community/eslint-config": "^3.1.0", "babel-jest": "^28.1.3", "eslint": "^8.22.0", "jest": "^28.1.3", "metro-react-native-babel-preset": "^0.72.1", "react-test-renderer": "18.2.0" }, "jest": { "preset": "react-native" }, "expo-yarn-workspaces": { "symlinks": [ "expo-constants" ] }, "private": true, "name": "app", "version": "1.1.22" }

CCB-cerivera commented 2 years ago

It is solved by uninstalling react-native-cli