Page MenuHomePhabricator

[desktop/web] Expose callbacks needed for desktop notifications
ClosedPublic

Authored by michal on Feb 24 2023, 9:34 AM.
Tags
None
Referenced Files
F1710428: D6891.id23300.diff
Mon, May 6, 3:25 PM
F1710427: D6891.id23068.diff
Mon, May 6, 3:25 PM
F1710404: D6891.id.diff
Mon, May 6, 3:23 PM
F1710359: D6891.diff
Mon, May 6, 2:54 PM
Unknown Object (File)
Mon, May 6, 10:24 AM
Unknown Object (File)
Wed, May 1, 2:10 AM
Unknown Object (File)
Sun, Apr 28, 10:15 PM
Unknown Object (File)
Fri, Apr 19, 5:18 AM
Subscribers

Details

Summary

For macos notifs we need to expose two functionalities from the web app to the desktop app:

  • setting the device_token that we will get from native macos api
  • navigate to a thread after a notification is clicked
Test Plan

Tested with the rest of the stack, if the device token is set correctly and the app navigates to a thread.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable