react-chat-components
react-chat-components copied to clipboard
Error uploading document
I get the following error when trying to upload a document, on both iOS and Android Uploading pictures/images works fine
[Error: Couldn't construct a file out of supplied options. URI or file data required.]
This error shows up only after trying to upload the file (where the name of the document should be shown in the MessageInput component I just get a blank space)
package.json:
"dependencies": {
"@expo-google-fonts/inter": "~0.2.3",
"@expo/html-elements": "~0.9.1",
"@pubnub/chat": "~0.5.2",
"@pubnub/react-native-chat-components": "~0.33.0",
"@react-native-async-storage/async-storage": "1.21.0",
"@sentry/react-native": "~5.19.1",
"@storybook/addon-actions": "~7.6.16",
"@storybook/addon-ondevice-backgrounds": "~7.6.15",
"@storybook/react": "~7.6.16",
"@types/pubnub": "~7.4.2",
"class-variance-authority": "~0.7.0",
"clsx": "~2.1.0",
"expo-constants": "~15.4.5",
"expo-dev-client": "~3.3.9",
"expo-document-picker": "~11.10.1",
"expo-file-system": "~16.0.8",
"expo-font": "~11.10.3",
"expo-image-picker": "~14.7.1",
"expo-insights": "~0.6.1",
"expo-linking": "~6.2.2",
"expo-media-library": "~15.9.1",
"expo-router": "~3.4.8",
"expo-sharing": "~11.10.0",
"expo-status-bar": "~1.11.1",
"expo-updates": "~0.24.9",
"flat": "~6.0.1",
"i18next": "~23.10.0",
"kebab-case": "~1.0.2",
"lodash.memoize": "~4.1.2",
"lodash.merge": "~4.6.2",
"nativewind": "4.0.33",
"pubnub": "~7.6.1",
"pubnub-react": "~3.0.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-i18next": "~14.0.5",
"react-native": "0.73.4",
"react-native-drawer-layout": "~3.2.2",
"react-native-gesture-handler": "~2.14.0",
"react-native-pager-view": "~6.2.3",
"react-native-reanimated": "~3.6.2",
"react-native-safe-area-context": "4.8.2",
"react-native-screens": "~3.29.0",
"react-native-svg": "~14.1.0",
"react-native-tab-view": "~3.5.2",
"recyclerlistview": "~4.2.0",
"rn-emoji-keyboard": "~1.6.1",
"tailwind-merge": "~2.2.0"
},
"devDependencies": {
"@babel/core": "~7.20.12",
"@babel/runtime": "~7.23.8",
"@expo/fingerprint": "~0.6.0",
"@react-native-community/datetimepicker": "7.6.1",
"@react-native-community/slider": "4.4.2",
"@storybook/addon-ondevice-actions": "~7.6.15",
"@storybook/addon-ondevice-controls": "~7.6.15",
"@storybook/react-native": "~7.6.15",
"@tailwindcss/container-queries": "~0.1.1",
"@types/lodash.memoize": "~4.1.9",
"@types/lodash.merge": "~4.6.9",
"@types/node": "~20.11.16",
"@types/react": "~18.2.58",
"@types/react-dom": "~18.0.10",
"autoprefixer": "~10.4.16",
"babel-loader": "^8.3.0",
"eas-cli": "~7.3.0",
"expo": "~50.0.8",
"react-devtools": "~5.0.0",
"react-native-css-interop": "~0.0.33",
"react-native-web": "~0.19.10",
"tailwindcss": "3.3.2",
"typescript": "~5.3.3"
}