Android: fix sharing a single file#984
Android: fix sharing a single file#984MateusAndrade merged 1 commit intoreact-native-share:masterfrom
Conversation
|
Thanks! |
## [5.1.5](v5.1.4...v5.1.5) (2021-03-22) ### Bug Fixes * android sharing a single file ([#984](#984)) ([cccfca7](cccfca7))
|
🎉 This PR is included in version 5.1.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
@roman-r-m @MateusAndrade It seems like this PR introduced a regression of the fix in the previous PR #968. I was getting the Although I didn't notice any issues related to sharing with a Base64 image or ~250MB zip archive. The same issue occurred over at Environment: Tested on Emulator (API 29) and Samsung Galaxy M20 (API 29) |
## [5.1.5](react-native-share/react-native-share@v5.1.4...v5.1.5) (2021-03-22) ### Bug Fixes * android sharing a single file ([#984](react-native-share/react-native-share#984)) ([cccfca7](react-native-share/react-native-share@cccfca7))
This is a follow-up to my previous PR #968 - looks like I have introduced a bug there.
According to the official dev guide we only need to set the type, and the URI goes to
EXTRA_STREAM.Without this change if I share a file to, say Gmail, I get a new email with the subject containing the URI which is clearly wrong. After the fix, as expected, I get a new email with the file attached.
Fixes #976