HomePhabricator
Diffusion Comm 3ec0182976f9

[native] Send native picker media directly

Description

[native] Send native picker media directly

Summary:
Implements concept described in https://linear.app/comm/issue/ENG-2562#comment-42809236

The threadInfo is not available when keyboard is dismissed by the system (iOS issue) while picking albums in native picker interface.
This workaround passes the thread information along with the native picker flow to be available even when the keyboard is already dismissed

Depends on D6497

Test Plan:
On iOS: Opened a thread, opened the native picker interface, picked a photo in three ways:

  • directly from media keyboard
  • through native picker interface (the Photos tab - default)
  • through native picker, but by picking a photo from album (Albums tab)

All of them work as expected

Reviewers: ashoat

Reviewed By: ashoat

Subscribers: tomek, atul

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

Details

Provenance
bartekAuthored on Feb 3 2023, 4:57 AM
Reviewer
ashoat
Differential Revision
D6556: [native] Send native picker media directly
Parents
rCOMM85985c98c0e0: [native] Add native picker button to MediaGalleryKeyboard
Branches
Unknown
Tags
Unknown