Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"./package.json": "./package.json"
},
"cioNativeiOSSdkVersion": "= 5.2.1",
"cioNativeiOSSdkVersion": "= 5.3.1",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bumps the native iOS pin customers get, but a docs: title cuts no release or changelog entry, so 5.3.1 (and 5.3.0's apns_environment attribute) would ship silently with the next unrelated release. Retitle to fix: so the bump releases on its own.

"files": [
"src",
"lib",
Expand Down
Loading