Page MenuHomePhabricator

[Tunnelbroker] handle `SetDeviceTokenWithPlatform` message
ClosedPublic

Authored by kamil on Jul 30 2024, 4:09 AM.
Tags
None
Referenced Files
F2760608: D12939.id42999.diff
Thu, Sep 19, 6:31 AM
Unknown Object (File)
Mon, Sep 16, 7:14 PM
Unknown Object (File)
Sun, Sep 8, 3:59 AM
Unknown Object (File)
Sat, Sep 7, 1:43 PM
Unknown Object (File)
Sat, Sep 7, 1:43 PM
Unknown Object (File)
Fri, Sep 6, 2:00 PM
Unknown Object (File)
Sun, Sep 1, 11:07 PM
Unknown Object (File)
Sun, Sep 1, 4:45 AM
Subscribers

Details

Summary

ENG-8903.

Updated client to send platform details.

Depends on D12938

Test Plan

Logout/Login on device and check if column is populated in DDB.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Jul 30 2024, 5:37 AM
kamil added inline comments.
lib/handlers/tunnelbroker-device-token-handler.react.js
24 ↗(On Diff #42952)

this line is here because otherwise Flow complains

In what situations are we going to keep using the old SetDeviceTokenWithoutPlatform?

This revision is now accepted and ready to land.Jul 30 2024, 7:57 AM

I am going to remove client code from this diff before landing (we first need to deploy TB) and then I'll create a second diff with only client changes.

In what situations are we going to keep using the old SetDeviceTokenWithoutPlatform?

This is currently done by existing clients who are connected to Tunnelbroker (having CSAT) and could attempt to refresh device token.

kamil retitled this revision from [Tunnelbroker][lib] start using `SetDeviceTokenWithPlatform` to [Tunnelbroker] handle `SetDeviceTokenWithPlatform` message.Jul 31 2024, 4:13 AM