From 3371b00261c4d3d0eacf33b8b3ffcfc277a5d3cb Mon Sep 17 00:00:00 2001 From: Mahmoud Elmorabea Date: Fri, 20 Nov 2026 04:19:19 +0400 Subject: [PATCH 1/2] docs: deliver pushes from other providers in the example notification extension Co-Authored-By: Claude Sonnet 5.5 --- .../NotificationServiceExtension/NotificationService.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/example/ios/NotificationServiceExtension/NotificationService.swift b/example/ios/NotificationServiceExtension/NotificationService.swift index 3fce6e219..4239e72e2 100644 --- a/example/ios/NotificationServiceExtension/NotificationService.swift +++ b/example/ios/NotificationServiceExtension/NotificationService.swift @@ -25,7 +25,11 @@ class NotificationService: UNNotificationServiceExtension { .build() ) - MessagingPush.shared.didReceive(request, withContentHandler: contentHandler) + // Returns false for a push Customer.io didn't send (for example from another push provider) and never + // calls the handler for it, so deliver that push unchanged. + if !MessagingPush.shared.didReceive(request, withContentHandler: contentHandler) { + contentHandler(request.content) + } } override func serviceExtensionTimeWillExpire() { From 0084b7a7e0a3e5c643cf7f6045d9c263d6db5b3e Mon Sep 17 00:00:00 2001 From: Mahmoud Elmorabea Date: Sun, 22 Nov 2026 20:49:29 +0400 Subject: [PATCH 2/2] fix: update Customer.io native iOS SDK to 5.3.1 5.3.1 never calls the notification content handler for a push Customer.io didn't send, so the sample notification extensions can deliver those pushes themselves without a double call. Co-Authored-By: Claude Sonnet 5.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6eb2a8fae..4bc5ac044 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ }, "./package.json": "./package.json" }, - "cioNativeiOSSdkVersion": "= 5.2.1", + "cioNativeiOSSdkVersion": "= 5.3.1", "files": [ "src", "lib",