HomePhabricator
Diffusion Comm a206a33acdc2

[services] Tunnelbroker - Updating `Send` handler with using of the Rust…

Description

[services] Tunnelbroker - Updating Send handler with using of the Rust notification library

Summary:
This diff introduces changes to the Send handler to use the Rust notification library to send the push notifications.
In case we have a token-related error returning from the APNs or FCM we will clear the device token in the database and request the client to provide a new one in D5206, D5207.

Related Linear task: ENG-1331

Test Plan:

  • The service was successfully built.
  • To test APNs (iOS) messages delivery use the procedure described in ENG-1743
  • To test FCM (Android) messages delivery use the procedure described in ENG-1742

Reviewers: jon, tomek

Reviewed By: tomek

Subscribers: ashoat, tomek, atul, abosh

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