Skip to content

Expose push notification custom payload data to JavaScript#849

Closed
franco-zalamena-iterable wants to merge 1 commit intoIterable:masterfrom
franco-zalamena-iterable:feat/135-push-notification-payload-access
Closed

Expose push notification custom payload data to JavaScript#849
franco-zalamena-iterable wants to merge 1 commit intoIterable:masterfrom
franco-zalamena-iterable:feat/135-push-notification-payload-access

Conversation

@franco-zalamena-iterable
Copy link
Copy Markdown

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

Summary

  • Add pushPayload field to IterableActionContext
  • Auto-populate push payload in URL/action handler callbacks when source is push
  • Enables handling custom metadata from push campaigns in JS via context.pushPayload

Test plan

  • Send push with custom payload, verify it's in handler context
  • Verify payload data matches what was sent

🤖 Generated with Claude Code

Add pushPayload field to IterableActionContext and auto-populate it
when URL or custom action handlers are triggered from push notifications.
This allows JS handlers to access custom metadata from push campaigns
via context.pushPayload. Fixes Iterable#135.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@franco-zalamena-iterable franco-zalamena-iterable deleted the feat/135-push-notification-payload-access 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