-
Notifications
You must be signed in to change notification settings - Fork 273
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
bug: no way to disable file upload limit of 100mb when using our own upload process? #2473
Comments
Hey @MatheoJaouen , you are probably using a function that uploads to the Stream's server right? Maybe you could perform the upload call with to your servers and then use the
The function is not documented for v11 as it is officially presented in the v12 documentation. For v12 there are rc versions available (latest here). |
We upload everything to our own servers, we use our own uppy instance to our servers. We pass a custom Input where we handle our custom upload then we use regular functions from hooks etc,
The "bug" must have appear after a bump or if a default limit was set on your side? The check is done here, which is used in useAttachment etc which is apparently core feature (then used for a lot of different stuff, upload preview etc etc etc).
It would be better to have the possibility to disabled completely any limitation (files etc) from the dashboard directly or from the code when we use our own upload check/servers. I did a patch meanwhile on the file to comment the checks but I'm sure others will face the same issue. |
Have you tried v12? |
Not yet (patch is so far easier than refactoring), (I won't be able to reply before a week if ever) |
Hey @MatheoJaouen, you are running into this issue because of pervasive use of |
Describe the bug
A clear and concise description of what the bug is.
No way to disable size limit when using our own uploader?
Trying in the app config to setup it too, still limited to 100mb
related RN ticket, GetStream/stream-chat-react-native#2617
I would prefer not to update the config either, adding an extra call at app launch etc.
https://getstream.io/chat/docs/react/app_setting_overview/#file-uploads
await client.updateAppSettings({
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A way to completely disable the file size limit when using our own uploader.
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Package version
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: