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, Feb 14, 8:00 AM
Unknown Object (File)
Fri, Feb 14, 8:00 AM
Unknown Object (File)
Fri, Feb 14, 7:49 AM
Unknown Object (File)
Mon, Feb 3, 9:02 AM
Unknown Object (File)
Wed, Jan 29, 1:19 AM
Unknown Object (File)
Wed, Jan 29, 1:17 AM
Unknown Object (File)
Jan 17 2025, 8:41 AM
Unknown Object (File)
Jan 17 2025, 8:41 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