HomePhabricator
Diffusion Comm fc3cced3f166

[lib] Create hook for common `RelationshipPrompt` logic for web and native

Description

[lib] Create hook for common RelationshipPrompt logic for web and native

Summary:
Created hook with logic from RelationshipPrompt native component, so it could be used also in web.
The hook has optional pendingPersonalThreadUserInfo param, as the web currently cannot create personal pending thread.

Test Plan: Tested the introduced hook with native and web (after changes in next diffs). The logic and behavior hasn't been changed and it works as before.

Reviewers: palys-swm, benschac, atul, ashoat

Reviewed By: palys-swm, ashoat

Subscribers: benschac, ashoat, Adrian, atul, karol-bisztyga

Differential Revision: https://phabricator.ashoat.com/D2845

Details

Provenance
jacekAuthored on Feb 9 2022, 6:58 AM
Reviewer
tomek
Differential Revision
Restricted Differential Revision
Parents
rCOMM15be42a2bcbc: [CommCoreModule] Introduce `getCodeVersion()`
Branches
Unknown
Tags
Unknown