From 40759370c0859f4c9b6e96cba3b03eb7386b1a93 Mon Sep 17 00:00:00 2001 From: David Stephens Date: Wed, 7 Jan 2026 17:27:21 +0000 Subject: [PATCH 1/2] Add 'widgets' to NotificationPushType As per Apple's documentation: https://developer.apple.com/documentation/widgetkit/updating-widgets-with-widgetkit-push-notifications?changes=_3 --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index ced99b46..15e34b60 100644 --- a/index.d.ts +++ b/index.d.ts @@ -267,7 +267,7 @@ export class MultiProvider extends EventEmitter { shutdown(callback?: () => void): Promise; } -export type NotificationPushType = 'background' | 'alert' | 'voip' | 'pushtotalk' | 'liveactivity' | 'location' | 'complication' | 'fileprovider' | 'mdm'; +export type NotificationPushType = 'background' | 'alert' | 'voip' | 'pushtotalk' | 'liveactivity' | 'location' | 'complication' | 'fileprovider' | 'mdm' | 'widgets'; export type ChannelAction = 'create' | 'read' | 'readAll' | 'delete'; From c5a467e6205af61505a5e3fa98e5835f6677e4fc Mon Sep 17 00:00:00 2001 From: David Stephens Date: Thu, 8 Jan 2026 01:50:46 +0000 Subject: [PATCH 2/2] Add 'content-changed' property to APS dict in index.d.ts Required for sending Widget update notifications --- index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/index.d.ts b/index.d.ts index 15e34b60..1fbc6447 100644 --- a/index.d.ts +++ b/index.d.ts @@ -120,6 +120,7 @@ interface Aps { badge?: number sound?: string | ApsSound "content-available"?: undefined | 1 + "content-changed"?: undefined | true "mutable-content"?: undefined | 1 "url-args"?: string[] category?: string