HomePhabricator
Diffusion Comm ba611328bb0b

[web/native] Send platform details on http communication

Description

[web/native] Send platform details on http communication

Summary:
https://linear.app/comm/issue/ENG-3905/platform-details-arent-updated-on-http-communication
Using redux state introduced in the previous diff, send platform details when calling http endpoints as needed. Also updated the websocket to only send the platform details when needed and not on every initialization.

Depends on D8350

Test Plan:
Disable the websocket, update version, trigger endpoint call, check if redux state is updated.
Enable the websocket, wait for initialization, check if redux state is updated.

Reviewers: kamil, tomek

Reviewed By: kamil

Subscribers: ashoat

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