Skip to content

feat: custom actions pass their data to registerCustomAction - #187

Merged
boehlerlukas merged 1 commit into
masterfrom
feat/custom-action-data
Oct 19, 2026
Merged

boehlerlukas merged 1 commit into
masterfrom
feat/custom-action-data

Conversation

@boehlerlukas

Copy link
Copy Markdown
Contributor

Custom actions clicked in chat messages and message cards now reach Gleap.registerCustomAction with their data: the callback gets { name, shareToken, data }.

  • GleapFrameManager: forwards the Messenger's new actionData field of run-custom-action as data (only when present).
  • index.d.ts: the callback's action type lists data and shareToken.
  • CHANGELOG: Unreleased entry.

Backward compatible both ways: older Messenger builds don't send actionData, older SDKs ignore it. The Messenger side is GleapSDK/Messenger-App#264. iOS and Android get the same field with the next synced SDK release.

Tested: jest suite passes.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@boehlerlukas
boehlerlukas merged commit c881ce8 into master Oct 19, 2026
1 check passed
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