Page MenuHomePhabricator

[keyserver] Extend ios notifs to handle macos
ClosedPublic

Authored by michal on Feb 24 2023, 9:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 8, 9:39 PM
Unknown Object (File)
Oct 27 2024, 5:33 PM
Unknown Object (File)
Oct 20 2024, 1:22 AM
Unknown Object (File)
Oct 19 2024, 3:01 PM
Unknown Object (File)
Oct 19 2024, 3:01 PM
Unknown Object (File)
Oct 19 2024, 12:49 PM
Unknown Object (File)
Oct 19 2024, 12:49 PM
Unknown Object (File)
Oct 1 2024, 7:32 PM
Subscribers

Details

Summary

We can reuse most of out already existing code for macOS notifs. This diff mostly just replaces codeVersion with full platformDetails so we can pass a platform and change for example the apn topic depending if we are sending the notifcation to the ios or macos.

Depends on D6891

Test Plan

Check if notifications still work on ios

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ashoat added inline comments.
keyserver/src/push/send.js
177 ↗(On Diff #23070)

We construct this already on line 167. Instead of doing twice, maybe we should assign to a variable?

This revision is now accepted and ready to land.Feb 26 2023, 4:43 AM

Extract platformDetails variables.