Skip to content

Commit 614621c

Browse files
tsightlerTom Sightlerdgreif
authored
Switch to FCMv1 for push messages (#1435)
* Switch to FCMv1 for push messages This is the initial commit for work to switch to FCMv1 push messages due to imminent deprecation of old method. * Parse each message data property * Revert accidental werift version change * Fix lint failures * Force new FCM registration on legacy credentials * Update tsconfig.json * Update types for notifications * Add changelog * Handle lack of img field on notifications * Send all notifications to related device ids * Log unknown push notifications --------- Co-authored-by: Tom Sightler <[email protected]> Co-authored-by: dgreif <[email protected]>
1 parent dcdd90f commit 614621c

File tree

9 files changed

+322
-204
lines changed

9 files changed

+322
-204
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'homebridge-ring': major
3+
'ring-client-api': major
4+
---
5+
6+
Updated to new push notification interface. This will change the shape of push notifications for projects which manually consume push notifications, but should not impact homebridge-ring users. If your push notifications for cameras (motion events, dings, etc) do not work after updating, please reboot and try again, then see https://github.com/dgreif/ring/wiki/Notification-Troubleshooting if issues continue.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ yarn.lock
88
.homebridge
99
.hoobs
1010
.turbo
11+
.gitattributes

0 commit comments

Comments
 (0)