Skip to content

docs: add thread safety section to Android and iOS integration guides#814

Merged
jaredlockhart merged 2 commits into
mainfrom
nimbus-thread-safety-docs
Apr 2, 2026
Merged

docs: add thread safety section to Android and iOS integration guides#814
jaredlockhart merged 2 commits into
mainfrom
nimbus-thread-safety-docs

Conversation

@jaredlockhart

Copy link
Copy Markdown
Contributor

Because

  • Engineers integrating with Nimbus on mobile frequently ask about the
    threading model and whether APIs are safe to call from any thread
  • This information exists only as code annotations scattered across
    FeatureHolder.kt, Nimbus.kt, and the Rust core, with no prose docs

This commit

  • Adds a "Thread Safety" section to both the Android and iOS integration
    guides covering the FML-generated FeatureHolder API (fully thread-safe)
    and the lower-level NimbusInterface (some methods require background
    threads)

Fixes #813

Because

* Engineers integrating with Nimbus on mobile frequently ask about the
  threading model and whether APIs are safe to call from any thread
* This information exists only as code annotations scattered across
  FeatureHolder.kt, Nimbus.kt, and the Rust core, with no prose docs

This commit

* Adds a "Thread Safety" section to both the Android and iOS integration
  guides covering the FML-generated FeatureHolder API (fully thread-safe)
  and the lower-level NimbusInterface (some methods require background
  threads)

Fixes #813
Because

* The integration guides are for app developers who interact with the
  FML-generated feature API, not the lower-level SDK internals

This commit

* Removes the "Lower-level NimbusInterface APIs" subsections from both
  Android and iOS integration guides, keeping only the public
  FeatureHolder API thread safety documentation

@ncalexan ncalexan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might be a bit more detailed than is necessary, but it still works for me. Thanks! Just having something that will hit for "thread"/"threads"/"thread safety" will be helpful.

@jaredlockhart jaredlockhart merged commit 084ad60 into main Apr 2, 2026
2 checks passed
@jaredlockhart jaredlockhart deleted the nimbus-thread-safety-docs branch April 2, 2026 17:35
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 Nimbus SDK thread safety model for mobile platforms

3 participants