HomePhabricator
Diffusion Comm c7d243a7d1a2

[web] Add function (and an 'enum') for creating unique device ID on web

Description

[web] Add function (and an 'enum') for creating unique device ID on web

Summary:
Add a function and an auxiliary 'enum' (created via Object.freeze) for creating unique
device ID in javascript/flow.
Linear issue: https://linear.app/comm/issue/ENG-1279/initialize-deviceid-on-clients

Test Plan: Run provided tests.

Reviewers: tomek, max

Reviewed By: tomek, max

Subscribers: ashoat, adrian, atul, abosh

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

Details

Provenance
InkaSokolowskaAuthored on Aug 5 2022, 12:19 AM
Reviewer
tomek
Differential Revision
D4587: [web] Add function (and an 'enum') for creating unique device ID on web
Parents
rCOMM1897d63fa53a: [web] Add a function for generating random strings
Branches
Unknown
Tags
Unknown