HomePhabricator
Diffusion Comm 9c01fd2697ea

[Tunnelbroker] invalidate bad APNs tokens

Description

[Tunnelbroker] invalidate bad APNs tokens

Summary:
ENG-8498.

Based on an error from APNs:

  1. Flip the flag in DDB.
  2. Send a message to device.

Depends on D12910

Test Plan: Manually malformed device token for iOS device in DDB, try sending notif to this device and verify that flag was flipped and the message was sent to the device (both online and offline device)

Reviewers: bartek, marcin, tomek

Reviewed By: bartek

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D12911

Details