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)
Wed, Apr 9, 12:50 AM
Unknown Object (File)
Wed, Apr 9, 12:18 AM
Unknown Object (File)
Tue, Apr 8, 9:19 PM
Unknown Object (File)
Tue, Apr 8, 9:18 PM
Unknown Object (File)
Sun, Apr 6, 8:19 AM
Unknown Object (File)
Wed, Apr 2, 11:08 AM
Unknown Object (File)
Wed, Apr 2, 11:08 AM
Unknown Object (File)
Wed, Apr 2, 11:08 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