HomePhabricator
Diffusion Comm 093bf14a19e2

[native] Select logout flow basing on being primary device

Description

[native] Select logout flow basing on being primary device

Summary:
Address ENG-8550.

  • Merged two dev "new flow logout" buttons into one
  • Added new selector to get primary device

Test Plan:

  • Created a user, logged in on two mobile devices
  • Confirmed that pressing the button on secondary logs out only itself (secondary device logout)
  • Confirmed that pressing the button on the primary logs out both (primary device logout)

Reviewers: kamil, varun, ashoat

Reviewed By: ashoat

Subscribers: ashoat, tomek

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

Details

Provenance
bartekAuthored on Aug 11 2024, 2:57 AM
Reviewer
ashoat
Differential Revision
D13044: [native] Select logout flow basing on being primary device
Parents
rCOMMd628ec7a8a59: [lib] Fail signing device list if called by secondary device
Branches
Unknown
Tags
Unknown