Skip to content

feat(SDK-553): expose IterableConfig.eventThresholdLimit - #926

Open
jferrao-itrbl wants to merge 3 commits into
feature/SDK-548-uua-feature-parityfrom
feature/SDK-553-event-threshold-limit
Open

jferrao-itrbl wants to merge 3 commits into
feature/SDK-548-uua-feature-parityfrom
feature/SDK-553-event-threshold-limit

Conversation

@jferrao-itrbl

@jferrao-itrbl jferrao-itrbl commented Oct 10, 2026 •

Copy link
Copy Markdown
Collaborator

📝 Summary

Expose IterableConfig.eventThresholdLimit (default 100) for unknown-user local event retention parity under SDK-548.

🎟️ Jira Ticket: SDK-553

📖 Description

Adds IterableConfig.eventThresholdLimit and maps it through toDict() to iOS (Serialization.swift, as? Int) and Android (Serialization.java, setEventThresholdLimit / optInt). No TurboModule changes. Runtime effect requires unknown-user activation on the native SDK (not yet exposed in RN).

🧪 How to test?

  • yarn typecheck && yarn test --coverage
  • Initialize with config.eventThresholdLimit = 50 and confirm native config in Serialization.

🧾 Changelog

Unreleased entry added in CHANGELOG.md.

📹 Loom recording if applicable

N/A

🐞 Github Issues solved

N/A

📚 Docs PR if applicable

N/A

Wire the unknown-user local event cap through iOS and Android Serialization.
@github-actions

github-actions Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Lines Statements Branches Functions
Coverage: 72%
71.96% (580/806) 61.22% (229/374) 67.18% (174/259)

@qltysh

qltysh Bot commented Oct 10, 2026

Copy link
Copy Markdown

Qlty


Coverage Impact

This PR will not change total coverage.

Modified Files with Diff Coverage (1)

RatingFile% DiffUncovered Line #s
Coverage rating: A Coverage rating: A
src/core/classes/IterableConfig.ts100.0%
Total100.0%
🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

Clarify changelog and TSDoc: RN has no enableUnknownUserActivation yet.
@jferrao-itrbl
jferrao-itrbl marked this pull request as ready for review October 12, 2026 14:42
@jferrao-itrbl
jferrao-itrbl requested a review from a team as a code owner October 12, 2026 14:42

This branch has not been deployed

No deployments
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