Page MenuHomePhabricator

[Identity] remove Tunnelbroker data on device removal
ClosedPublic

Authored by kamil on Jun 20 2024, 3:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 25, 9:33 PM
Unknown Object (File)
Wed, Sep 25, 9:33 PM
Unknown Object (File)
Wed, Sep 25, 9:32 PM
Unknown Object (File)
Wed, Sep 25, 9:32 PM
Unknown Object (File)
Thu, Aug 29, 6:12 PM
Unknown Object (File)
Aug 26 2024, 3:21 PM
Unknown Object (File)
Aug 26 2024, 3:21 PM
Unknown Object (File)
Aug 26 2024, 3:20 PM
Subscribers

Details

Summary

ENG-8400 (see point 5. Logout).

Depends on D12525

Test Plan

Call this from both web and native:

    const message: SetDeviceToken = {
      type: messageToTunnelbrokerTypes.SET_DEVICE_TOKEN,
      deviceToken: 'token',
    };
     await sendMessageToTunnelbroker(JSON.stringify(message));

, then logout and check if device token is removed from DDB.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable