Skip to content

Conversation

@khushal87
Copy link
Member

@khushal87 khushal87 commented Feb 24, 2025

There was an issue with a file name that has been fixed, which is why Lookup could not look into the correct file type. Also, the mimeType is added for native CLI uploads and a check in the isUploadAllowed function for mimeType and then check for name.

The name of the image capture file has also been added for better parity with checks.

This should fix #2967

@Stream-SDK-Bot
Copy link
Contributor

Stream-SDK-Bot commented Feb 24, 2025

SDK Size

title develop branch diff status
js_bundle_size 468 KB 468 KB 0 B 🟢

cancelled: false,
duration: photo.duration, // in milliseconds
name: 'video_recording_' + date + photo.uri.split('.').pop(),
name: 'video_recording_' + date + '.' + photo.uri.split('.').pop(),
Copy link
Contributor

Choose a reason for hiding this comment

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

I really don't like how we sort of blindly do this - this can break on so many levels. Let's merge since it appears to never have worked but we need to fix this soon.

@khushal87 khushal87 merged commit aa2be37 into develop Feb 24, 2025
5 checks passed
@khushal87 khushal87 deleted the file-upload-issue-fix-app-settings branch February 24, 2025 08:59
@github-actions github-actions bot mentioned this pull request Feb 24, 2025
6 tasks
@stream-ci-bot
Copy link
Contributor

🎉 This PR is included in version 6.6.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

isekovanic added a commit that referenced this pull request Feb 24, 2025
* chore: upgrade SampleApp and do necessary changes for 0.77

* chore: update more libs

* chore: upgrade reanimated and rngh

* chore: upgrade react-navigation

* chore: bump other deps

* chore: bump eslint and all other dev deps

* chore: migrate AppDelegate to Swift

* chore: upgrade typescript app to RN 0.77

* chore: upgrade eslint & friends on typescript app

* chore: migrate AppDelegate to Swift in typescript app

* fix: add tslint rules and fix some

* chore: upgrade plugins decl a bit and fix all broken eslint issues

* fix: some more prettier errors

* chore: improve typescript app config too

* fix: upload file/image and respect app settings (#2976)

* fix: file upload preview state refresh when state changes

* fix: upload file/image and respect app settings

* fix: upload file/image and respect app settings

* fix: upload file/image and respect app settings

* fix: update expo dependencies in expo sample app to latest (#2975)

* fix: file upload preview state refresh when state changes

* fix: update expo dependencies in expo sample app to latest

* chore: bump expo app to latest versions too

* chore: remove console.log

---------

Co-authored-by: Khushal Agarwal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[🐛] Unable to upload images in chat with camera.

5 participants