Skip to content

feat(audience): add Identity module (SDK-126)#689

Merged
nattb8 merged 2 commits into
mainfrom
feat/sdk-126-identity
Apr 16, 2026
Merged

feat(audience): add Identity module (SDK-126)#689
nattb8 merged 2 commits into
mainfrom
feat/sdk-126-identity

Conversation

@nattb8
Copy link
Copy Markdown
Collaborator

@nattb8 nattb8 commented Apr 15, 2026

Summary

  • Adds Identity class that generates and persists a stable anonymous device identifier under persistentDataPath/imtbl_audience/identity
  • Respects ConsentLevel.None (returns null when consent is not given)
  • Uses atomic write via temp file + move to avoid partial writes, with race-condition handling

Linear: SDK-126 (primary) — contributes to SDK-144 (anonymousId storage + Reset plumbing that Identify/Alias/Reset delegate to).

🤖 Generated with Claude Code

@nattb8 nattb8 requested review from a team as code owners April 15, 2026 00:24
@nattb8 nattb8 force-pushed the feat/sdk-126-identity branch from 8453eec to 7889f56 Compare April 15, 2026 02:13
@nattb8 nattb8 force-pushed the feat/sdk-126-identity branch from 7889f56 to 2111d4c Compare April 16, 2026 05:54
@nattb8 nattb8 force-pushed the feat/sdk-126-identity branch from 2cd51e0 to d5b1012 Compare April 16, 2026 06:01
@nattb8 nattb8 merged commit 76a0901 into main Apr 16, 2026
18 checks passed
@nattb8 nattb8 deleted the feat/sdk-126-identity branch April 16, 2026 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants