HomePhabricator
Diffusion Comm 43fc9702422d

[identity] Get device PlatformDetails from metadata

Description

[identity] Get device PlatformDetails from metadata

Summary:
Passed metadata PlatformDetails all the way through to DDB storage in all login/registration actions (where DeviceKeyUpload is present)
Added parsing and verification for device type.

Depends on D12270

Test Plan:
Combined test plans from D12269 and D12270:

  • Modified client to have additional metadata args
  • Called LogInUser to verify that they're stored in DDB
  • Deliberately malfolmed client device_type to make sure DeviceKeyUpload value is preferred and a warning is displayed

Reviewers: varun, marcin, will

Reviewed By: marcin

Subscribers: ashoat, tomek

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

Details

Provenance
bartekAuthored on May 29 2024, 11:53 AM
Reviewer
marcin
Differential Revision
D12271: [identity] Get device PlatformDetails from metadata
Parents
rCOMM38db612af867: [identity] Add metadata parser for PlatformDetails
Branches
Unknown
Tags
Unknown