natysoz / expo-images-picker

Multiple Asset Photos Videos selecting package for Expo SDK
MIT License
95 stars 35 forks source link

Expo SDK 43 error with resize. #45

Closed andrey-grach closed 2 years ago

andrey-grach commented 2 years ago

9E511D10-70F5-4E5F-B2CB-9675FA7116F0 FC544BE5-0A2E-487F-A3B1-A2B41DC5D633 After update to Expo SDK 43 from SDK 41 I cannot upload images, I always get an error from widgetErrors: hasErrorWithResizing.

andrey-grach commented 2 years ago

Well I even disabled this resize functionality but I'm still getting error with resize. Why?

andrey-grach commented 2 years ago

My package.json:

{
  "scripts": {
    "start": "expo start --dev-client",
    "android": "expo run:android",
    "ios": "expo run:ios",
    "web": "expo start --web",
    "eject": "expo eject",
    "lint": "eslint --ext .ts,.tsx . --max-warnings 0",
    "tsc": "tsc",
    "ci": "yarn lint && yarn tsc"
  },
  "dependencies": {
    "@expo-google-fonts/inter": "^0.1.0",
    "@expo/vector-icons": "^12.0.0",
    "@fortawesome/fontawesome-svg-core": "^1.2.35",
    "@fortawesome/free-solid-svg-icons": "^5.15.3",
    "@react-native-async-storage/async-storage": "~1.15.0",
    "@react-native-community/masked-view": "0.1.10",
    "@react-native-picker/picker": "2.2.1",
    "@react-navigation/drawer": "^5.11.5",
    "@react-navigation/native": "^5.8.10",
    "@react-navigation/stack": "^5.12.8",
    "@shopify/restyle": "^1.4.0",
    "@types/react-native-snap-carousel": "^3.8.2",
    "@use-expo/font": "^2.0.0",
    "axios": "^0.24.0",
    "eslint": "^7.16.0",
    "eslint-config-react-native-wcandillon": "^3.3.5",
    "expo": "^43.0.4",
    "expo-app-loading": "~1.2.1",
    "expo-application": "~4.0.0",
    "expo-asset": "~8.4.3",
    "expo-auth-session": "~3.4.2",
    "expo-blur": "~10.0.3",
    "expo-clipboard": "~2.0.3",
    "expo-constants": "~12.1.3",
    "expo-font": "~10.0.3",
    "expo-google-app-auth": "~9.0.0",
    "expo-image-manipulator": "~10.1.2",
    "expo-image-picker": "~11.0.3",
    "expo-image-picker-multiple": "^1.4.1",
    "expo-images-picker": "^2.2.3",
    "expo-intent-launcher": "~10.0.3",
    "expo-linear-gradient": "~10.0.3",
    "expo-linking": "~2.4.2",
    "expo-location": "~13.0.4",
    "expo-media-library": "~13.0.3",
    "expo-random": "~12.0.1",
    "expo-secure-store": "~11.0.3",
    "expo-splash-screen": "~0.13.5",
    "expo-status-bar": "~1.1.0",
    "expo-store-review": "~5.0.3",
    "expo-updates": "~0.10.13",
    "formik": "^2.2.6",
    "lottie-react-native": "4.0.3",
    "moment": "^2.29.1",
    "react": "17.0.1",
    "react-dom": "17.0.1",
    "react-native": "0.64.3",
    "react-native-app-link": "^1.0.1",
    "react-native-dropdown-picker": "^5.1.21",
    "react-native-elements": "^3.4.2",
    "react-native-expo-image-cache": "^4.1.0",
    "react-native-gesture-handler": "~1.10.2",
    "react-native-image-crop-picker": "^0.36.4",
    "react-native-intent-launcher": "^0.2.1",
    "react-native-keyboard-aware-scroll-view": "^0.9.3",
    "react-native-linear-gradient": "^2.5.6",
    "react-native-map-clustering": "^3.4.2",
    "react-native-maps": "0.28.1",
    "react-native-maps-directions": "^1.8.0",
    "react-native-markdown-view": "^1.1.4",
    "react-native-modal": "^11.10.0",
    "react-native-paper": "^4.8.0",
    "react-native-picker-select": "^8.0.4",
    "react-native-read-more-text": "^1.1.2",
    "react-native-reanimated": "~2.2.0",
    "react-native-redash": "^16.1.1",
    "react-native-responsive-screen": "^1.4.2",
    "react-native-safe-area-context": "3.3.2",
    "react-native-screens": "~3.8.0",
    "react-native-simple-markdown": "^1.1.0",
    "react-native-snap-carousel": "^3.9.1",
    "react-native-storage": "^1.0.1",
    "react-native-svg": "12.1.1",
    "react-native-view-more-text": "^2.1.0",
    "react-native-web": "0.17.1",
    "webpack-bundle-analyzer": "^4.4.2",
    "yup": "^0.32.8"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9",
    "@types/react": "~17.0.21",
    "@types/react-dom": "~17.0.9",
    "@types/react-native": "~0.64.12",
    "@types/yup": "^0.29.11",
    "typescript": "~4.3.5"
  },
  "private": true,
  "name": "react-native-fashion",
  "version": "1.0.0"
}
natysoz commented 2 years ago

hi u are using expo 40.0.4 which i didnt test yet , i test 43.0.0 and it works without any issues

andrey-grach commented 2 years ago

hi u are using expo 40.0.4 which i didnt test yet , i test 43.0.0 and it works without any issues

Hello. I changed version to "expo": "^43.0.0", but error remained.

andrey-grach commented 2 years ago

Sorry, mistake was in my code, some variable was undefied. But instead of usual expo warning I saw this error handler so it took some time to find a problem.