[Identity] remove Tunnelbroker data on device removal
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.
Reviewers: bartek, marcin
Reviewed By: bartek
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D12526