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
Paths
| Differential D6891 Authored by michal on Feb 24 2023, 9:34 AM.
Details Summary For macos notifs we need to expose two functionalities from the web app to the desktop app:
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
Event TimelineHerald added subscribers: atul, ashoat. · View Herald TranscriptFeb 24 2023, 9:34 AM2023-02-24 09:34:05 (UTC-8) michal added a parent revision: D6890: [desktop] Add port to development URL.Feb 24 2023, 9:34 AM2023-02-24 09:34:35 (UTC-8) Harbormaster completed remote builds in B16886: Diff 23068.Feb 24 2023, 9:49 AM2023-02-24 09:49:12 (UTC-8) This revision is now accepted and ready to land.Feb 28 2023, 2:45 AM2023-02-28 02:45:29 (UTC-8) Closed by commit rCOMMbad1e6527635: [desktop/web] Expose callbacks needed for desktop notifications (authored by Michal Gniadek <michal.gniadek@swmansion.com>). · Explain WhyMar 1 2023, 12:55 AM2023-03-01 00:55:30 (UTC-8) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 23300 desktop/src/preload.js
lib/types/electron-types.js
web/push-notif/push-notifs-handler.js
|