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
F3404875: D6891.diff
Tue, Dec 3, 1:47 PM
Unknown Object (File)
Sat, Nov 30, 7:58 PM
Unknown Object (File)
Tue, Nov 5, 3:53 PM
Unknown Object (File)
Oct 27 2024, 5:33 PM
Unknown Object (File)
Oct 19 2024, 12:48 PM
Unknown Object (File)
Oct 19 2024, 12:48 PM
Unknown Object (File)
Oct 19 2024, 12:48 PM
Unknown Object (File)
Oct 19 2024, 10:23 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