Skip to content

docs: document createMessageHelper() SDK API for mobile messaging#793

Open
jaredlockhart wants to merge 1 commit intomainfrom
2026-02-25-messaging-helper-docs
Open

docs: document createMessageHelper() SDK API for mobile messaging#793
jaredlockhart wants to merge 1 commit intomainfrom
2026-02-25-messaging-helper-docs

Conversation

@jaredlockhart
Copy link
Contributor

Summary

Documents the createMessageHelper() SDK API that powers the mobile messaging system's targeting and string substitution.

Adds an "SDK Helper API" section to the mobile messaging doc with:

  • createMessageHelper(additionalContext?) — factory method with optional context parameter
  • evalJexl(expression) — JEXL targeting expression evaluation
  • stringFormat(template) — string substitution with context attributes
  • getUuid(template) — stable UUID generation for templates
  • destroy() / clearCache() — lifecycle management
  • Kotlin and Swift examples for each method

Fixes #792

🤖 Generated with Claude Code

Because

* The createMessageHelper() method is the core SDK API used by the
  mobile messaging system but is not documented anywhere in
  experimenter-docs
* The NimbusMessagingHelperInterface (evalJexl, stringFormat, getUuid)
  is also undocumented

This commit

* Adds an "SDK Helper API" section to the mobile messaging doc with
  Kotlin and Swift examples
* Documents the combined NimbusMessagingHelperInterface: targeting
  evaluation (evalJexl), string substitution (stringFormat), and UUID
  generation (getUuid)
* Documents lifecycle methods (destroy, clearCache) and additional
  context parameter

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

Document createMessageHelper() SDK API for mobile messaging

1 participant