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
Unknown Object (File)
Tue, Nov 5, 3:53 PM
Unknown Object (File)
Sun, Oct 27, 5:33 PM
Unknown Object (File)
Sat, Oct 19, 12:48 PM
Unknown Object (File)
Sat, Oct 19, 12:48 PM
Unknown Object (File)
Sat, Oct 19, 12:48 PM
Unknown Object (File)
Sat, Oct 19, 10:23 AM
Unknown Object (File)
Oct 12 2024, 4:00 PM
Unknown Object (File)
Oct 6 2024, 10:43 PM
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