fix: pin preferredAssetRepresentationMode to current #2979
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🎯 Goal
Zendesk ticket: https://getstream.zendesk.com/agent/tickets/61817
Whenever we set access to the native image picker as
Limit Accessand try to upload a very large video (above the 100mb threshold), theAlerttelling us that we cannot upload the file comes in after a very long time (above 10 seconds).This is due to the fact that
iOShas a compression mechanism in place that unfortunatelyexpo-image-pickerwaits for. OnAndroid, it's a similar issue (albeit not reproducible on every device), but related to copying the file elsewhere in the system. Unfortunately there is no workaround forAndroidprovided by the library.This also means that for
iOSwe will not have implicit compression in place. As an alternative, integrators can implementpickImageon their own if none of these fixes resolve their issues.🛠 Implementation details
🎨 UI Changes
iOS
Android
🧪 Testing
☑️ Checklist
developbranch