Skip to content

fix: Issue on android while sharing file [CRNS - 510] - #1077

Merged
vishalnarkhede merged 1 commit into
v4.0.0-beta.2from
khushal87-crns-510
Jan 11, 2022
Merged

vishalnarkhede merged 1 commit into
v4.0.0-beta.2from
khushal87-crns-510

Conversation

@khushal87

@khushal87 khushal87 commented Jan 11, 2022 •

Copy link
Copy Markdown
Contributor

🎯 Goal

This PR solves the issue of not being able to share files on android devices from the ImageGallery.

Should fix: #1015

πŸ›  Implementation details

There was an issue with the file name which doesn't have spaces while saving the file i.e. it was saved with (%20 characters) but when we try to read the file using the readFile API it worked well and the filename was read with spaced. This is solved by changing the photo.user.name to photo.user.id which makes more sense. The photo.userId is removed as it's undefined every time.

🎨 UI Changes

iOS
Before After
Android
Before After

πŸ§ͺ Testing

β˜‘οΈ Checklist

  • I have signed the Stream CLA (required)
  • PR targets the develop branch
  • Commits follow the conventional commits spec
  • New code is covered by tests
  • Screenshots added for visual changes
  • Documentation is updated

@vishalnarkhede vishalnarkhede changed the title Fix: Issue on android while sharing file [CRNS - 510] fix: Issue on android while sharing file [CRNS - 510] Jan 11, 2022
@vishalnarkhede
vishalnarkhede merged commit d70cbd2 into v4.0.0-beta.2 Jan 11, 2022
@vishalnarkhede
vishalnarkhede deleted the khushal87-crns-510 branch January 11, 2022 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants