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)
Mon, Dec 23, 3:28 PM
Unknown Object (File)
Mon, Dec 23, 3:28 PM
Unknown Object (File)
Mon, Dec 23, 3:27 PM
Unknown Object (File)
Mon, Dec 23, 3:27 PM
Unknown Object (File)
Fri, Dec 20, 6:12 AM
Unknown Object (File)
Sun, Dec 8, 12:51 AM
Unknown Object (File)
Nov 25 2024, 5:53 AM
Unknown Object (File)
Nov 23 2024, 3:53 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