Skip to content

Add callback for push notification opened events with raw payload#846

Closed
franco-zalamena-iterable wants to merge 1 commit intoIterable:masterfrom
franco-zalamena-iterable:feat/71-push-received-callback
Closed

Add callback for push notification opened events with raw payload#846
franco-zalamena-iterable wants to merge 1 commit intoIterable:masterfrom
franco-zalamena-iterable:feat/71-push-received-callback

Conversation

@franco-zalamena-iterable
Copy link
Copy Markdown

@franco-zalamena-iterable franco-zalamena-iterable commented Apr 7, 2026

Summary

  • Add setNotificationOpenedHandler() for push notification press events
  • Provides access to raw push payload regardless of action type
  • Fires for all notification presses, not just URL/custom actions

Test plan

  • Register handler, tap notification with URL action - handler fires
  • Register handler, tap notification with no action - handler fires
  • Verify payload contains full notification data

🤖 Generated with Claude Code

Adds a notificationOpenedHandler to IterableConfig that fires whenever
a push notification is pressed, providing the raw action and context
regardless of whether the notification has a URL, custom action, or
no action at all. This addresses the gap where callbacks only fired
for URL/custom actions but not for all notification opens.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@franco-zalamena-iterable franco-zalamena-iterable deleted the feat/71-push-received-callback branch April 8, 2026 14:49
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.

1 participant