Skip to content

fix: deliver pushes from other providers in the example notification extension - #702

Merged
mahmoud-elmorabea merged 2 commits into
mainfrom
mbl-2813-sample-nse-deliver-non-cio-push
Nov 23, 2026
Merged

mahmoud-elmorabea merged 2 commits into
mainfrom
mbl-2813-sample-nse-deliver-non-cio-push

Conversation

@mahmoud-elmorabea

@mahmoud-elmorabea mahmoud-elmorabea commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

The example notification extension ignored the result of MessagingPush.shared.didReceive, so a push from another provider showed only when the extension timed out. It now delivers that push unchanged.

This PR also pins native iOS 5.3.1, the release with customerio/customerio-ios#1396, so the simple form never calls the handler twice.

🤖 Generated with Claude Code

… extension

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@mahmoud-elmorabea
mahmoud-elmorabea marked this pull request as ready for review November 20, 2026 00:36
@mahmoud-elmorabea
mahmoud-elmorabea requested a review from a team as a code owner November 20, 2026 00:36

@Shahroz16 Shahroz16 left a comment

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.

Looks good. Agree on holding it until the pin moves past the release with customerio/customerio-ios#1396, since 5.2.1 still calls the handler before returning false when init is rejected.

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 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Sample app builds 📱

Below you will find the list of the latest versions of the sample apps. It's recommended to always download the latest builds of the sample apps to accurately test the pull request.


Builds are in progress. This comment will be updated when they finish.

  • iOS FCM: 702.2.0 (29923810)
  • Android APN: 702.2.0 (29923810)

@mrehan27 mrehan27 left a comment

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.

Sample change looks good. This also bumps the published native iOS pin to 5.3.1, so it needs a fix: title to cut a release. I'll approve once it's retitled.

Comment thread package.json
"./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.

@mahmoud-elmorabea mahmoud-elmorabea changed the title docs: deliver pushes from other providers in the example notification extension fix: deliver pushes from other providers in the example notification extension Nov 23, 2026
@mahmoud-elmorabea
mahmoud-elmorabea merged commit e481bc8 into main Nov 23, 2026
46 of 48 checks passed
@mahmoud-elmorabea
mahmoud-elmorabea deleted the mbl-2813-sample-nse-deliver-non-cio-push branch November 23, 2026 10:35
cio-mobile-release Bot pushed a commit that referenced this pull request Nov 23, 2026
## [7.3.1](7.3.0...7.3.1) (2026-11-23)

### Bug Fixes

* deliver pushes from other providers in the example notification extension ([#702](#702)) ([e481bc8](e481bc8))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants