Page MenuHomePhabricator

[Tunnelbroker] handle `SetDeviceTokenWithPlatform` message
ClosedPublic

Authored by kamil on Jul 30 2024, 4:09 AM.
Tags
None
Referenced Files
F3539045: D12939.diff
Thu, Dec 26, 12:03 AM
Unknown Object (File)
Thu, Dec 19, 10:26 AM
Unknown Object (File)
Thu, Dec 19, 10:26 AM
Unknown Object (File)
Thu, Dec 19, 10:25 AM
Unknown Object (File)
Nov 21 2024, 1:37 AM
Unknown Object (File)
Nov 21 2024, 1:37 AM
Unknown Object (File)
Nov 15 2024, 11:43 PM
Unknown Object (File)
Nov 9 2024, 11:36 PM
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
Branch
final-stack
Lint
No Lint Coverage
Unit
No Test Coverage

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