In the latest work on sending files on mobile, users cannot send a photo on iOS, because iOS treats photos and documents differently.
A comparison with other messaging apps shows that other apps initially present the user with a choice of what type of attachment, whether it is a file, a photo, or an image from their camera. (They always privilege photos since that is what most users will be sending on mobile.)
I think photos are already accessible on Android, but these changes should apply to both platforms so that we maintain consistency. Mattermost is an open source React Native app that has this functionality, so we should look closely at what they do, since we can be sure that React Native libraries support that approach. From a design standpoint we should look at what Mattermost does.
In the latest work on sending files on mobile, users cannot send a photo on iOS, because iOS treats photos and documents differently.
A comparison with other messaging apps shows that other apps initially present the user with a choice of what type of attachment, whether it is a file, a photo, or an image from their camera. (They always privilege photos since that is what most users will be sending on mobile.)
I think photos are already accessible on Android, but these changes should apply to both platforms so that we maintain consistency. Mattermost is an open source React Native app that has this functionality, so we should look closely at what they do, since we can be sure that React Native libraries support that approach. From a design standpoint we should look at what Mattermost does.
For libraries, they use:
(https://github.com/mattermost/mattermost-mobile/blob/main/package.json)
1699 covers opening the camera directly.
Design: https://www.figma.com/file/68ucD6gpOAXW1kRNq2gjFK/Send-and-receive-files?type=design&node-id=919%3A4974&mode=design&t=J0N6DsQpjq6nfF7S-1