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
F3695748: D6891.id.diff
Tue, Jan 7, 11:10 AM
F3695747: D6891.diff
Tue, Jan 7, 11:10 AM
Unknown Object (File)
Tue, Jan 7, 8:55 AM
Unknown Object (File)
Tue, Jan 7, 8:54 AM
Unknown Object (File)
Wed, Jan 1, 2:29 PM
Unknown Object (File)
Wed, Jan 1, 2:29 PM
Unknown Object (File)
Wed, Jan 1, 2:22 PM
Unknown Object (File)
Wed, Dec 25, 7:09 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