HomePhabricator
Diffusion Comm a2e3c4b79bce

[native] Add UUID dependency

Description

[native] Add UUID dependency

Summary:
As discussed in ENG-3534, blob holder for encrypted media will be a UUID.

Added the uuid dependency. Ran yarn why uuid and saw that both web and keyserver already resolve to uuid@3.4.0, as well as the expo library so sticked to the same version to keep consistent and avoid conflicts. Only updated all of them to ^3.4.0 to keep consistent

Newer versions mostly introduce breaking changes: mainly ESM, way of importing and greatly increase package size so I see no point forcing them (also IDK if they're compatible with Metro)

Test Plan: yarn cleaninstall. Native bundle loads. Console.log uuid.v4() works.

Reviewers: ashoat

Reviewed By: ashoat

Subscribers: tomek, atul

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

Details

Provenance
bartekAuthored on Apr 26 2023, 9:00 PM
Reviewer
ashoat
Differential Revision
D7648: [native] Add UUID dependency
Parents
rCOMM6a00d81adcd8: [web][native] Support fetching Blob service URIs
Branches
Unknown
Tags
Unknown