HomePhabricator
Diffusion Comm a729baaeaa8f

[native] Fix cropped avatar selection

Description

[native] Fix cropped avatar selection

Summary:
Fixes cropping part of ENG-4053.

Avoided replacing image URI with fetched asset URI when the file is in app's cache dir - this is where expo-image-picker stores cropped images.

Test Plan: Set cropped photo as an avatar - it is set correctly. Sent multimedia both with media gallery and image picker - both ways work. Checked both iOS and Android.

Reviewers: atul, ashoat, ginsu

Reviewed By: ashoat

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D8739

Details

Provenance
bartekAuthored on Aug 5 2023, 9:57 AM
Reviewer
ashoat
Differential Revision
D8739: [native] Fix cropped avatar selection
Parents
rCOMMcf4e8423f558: [native] Fix encrypted media upload failures
Branches
Unknown
Tags
Unknown