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)
Fri, Mar 15, 9:51 AM
Unknown Object (File)
Tue, Mar 12, 7:51 PM
Unknown Object (File)
Thu, Mar 7, 1:58 PM
Unknown Object (File)
Thu, Mar 7, 11:49 AM
Unknown Object (File)
Feb 21 2024, 2:08 PM
Unknown Object (File)
Feb 21 2024, 9:15 AM
Unknown Object (File)
Feb 21 2024, 9:15 AM
Unknown Object (File)
Feb 21 2024, 9:15 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