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)
Sat, May 11, 12:01 AM
Unknown Object (File)
Sat, May 11, 12:01 AM
Unknown Object (File)
Sat, May 11, 12:01 AM
Unknown Object (File)
Sat, May 11, 12:01 AM
Unknown Object (File)
Mon, May 6, 3:25 PM
Unknown Object (File)
Mon, May 6, 3:25 PM
Unknown Object (File)
Mon, May 6, 3:23 PM
Unknown Object (File)
Mon, May 6, 2:54 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