Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Open
jaredlockhart wants to merge 1 commit intomainmozilla/experimenter-docs:mainfrom
2026-02-25-messaging-helper-docsmozilla/experimenter-docs:2026-02-25-messaging-helper-docsCopy head branch name to clipboard
Open

docs: document createMessageHelper() SDK API for mobile messaging#793
jaredlockhart wants to merge 1 commit intomainmozilla/experimenter-docs:mainfrom
2026-02-25-messaging-helper-docsmozilla/experimenter-docs:2026-02-25-messaging-helper-docsCopy head branch name to clipboard

Conversation

@jaredlockhart
Copy link
Copy Markdown
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>
@jaredlockhart jaredlockhart force-pushed the 2026-02-25-messaging-helper-docs branch from ff3ff52 to 2bbb331 Compare March 2, 2026 18:05
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.