Page MenuHomePhabricator

[Tunnelbroker] handle `SetDeviceTokenWithPlatform` message
ClosedPublic

Authored by kamil on Jul 30 2024, 4:09 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 6, 11:03 PM
Unknown Object (File)
Sat, Oct 19, 8:23 AM
Unknown Object (File)
Fri, Oct 18, 9:46 PM
Unknown Object (File)
Fri, Oct 18, 9:46 PM
Unknown Object (File)
Fri, Oct 18, 9:46 PM
Unknown Object (File)
Oct 6 2024, 8:28 PM
Unknown Object (File)
Oct 6 2024, 4:46 PM
Unknown Object (File)
Oct 5 2024, 8:19 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