HomePhabricator
Diffusion Comm 62c362d0a861

[lib][native] add useVersionSupportedByIdentity hook and use it on native

Description

[lib][native] add useVersionSupportedByIdentity hook and use it on native

Summary:
we should avoid calling commRustModule directly from VersionSupportedChecker

Depends on 12405

Test Plan:
ran the iOS simulator and confirmed that the VERSION_SUPPORTED_BY_IDENTITY_STARTED and VERSION_SUPPORTED_BY_IDENTITY_SUCCESS actions were dispatched.

modified staging identity to set the min supported version to 1000, confirmed that the alert was displayed on simulator

Reviewers: ashoat

Reviewed By: ashoat

Subscribers: tomek

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

Details

Provenance
varunAuthored on Jun 12 2024, 8:03 AM
Reviewer
ashoat
Differential Revision
D12406: [lib][native] add useVersionSupportedByIdentity hook and use it on native
Parents
rCOMM1351324c3760: [native][web][lib] add versionSupported method to IdentityServiceClient
Branches
Loading...
Tags
Loading...