Page MenuHomePhabricator

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

Authored by michal on Fri, Feb 24, 9:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 16, 5:10 PM
Unknown Object (File)
Thu, Mar 16, 4:11 PM
Unknown Object (File)
Sun, Mar 12, 3:16 AM
Unknown Object (File)
Thu, Mar 9, 12:22 AM
Unknown Object (File)
Tue, Mar 7, 10:06 PM
Unknown Object (File)
Sun, Mar 5, 8:46 AM
Unknown Object (File)
Thu, Mar 2, 3:10 AM
Unknown Object (File)
Thu, Mar 2, 3: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