Skip to content

fix(audience): remove insecure client-side data-deletion [SDK-708] - #824

Merged
nattb8 merged 1 commit into
mainfrom
feat/sdk-708-remove-immutable-audience-delete-data
Jul 27, 2026
Merged

fix(audience): remove insecure client-side data-deletion [SDK-708]#824
nattb8 merged 1 commit into
mainfrom
feat/sdk-708-remove-immutable-audience-delete-data

Conversation

@nattb8

@nattb8 nattb8 commented Jul 26, 2026

Copy link
Copy Markdown
Collaborator

Removes ImmutableAudience.DeleteData: it let anyone holding a project's public publishable key delete another player's data, with no way to prove ownership. Erasure now happens only via the backend's secret-key-authenticated endpoint (SDK-706); hold this release until that backend change ships.

🤖 Generated with Claude Code

ImmutableAudience.DeleteData let any caller holding the (public)
publishable key request deletion of another player's data, with no
way to prove ownership. Removed the method along with its now-dead
constants, tests, and sample-app usage; erasure must go through the
backend with secret-key auth instead.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@nattb8
nattb8 marked this pull request as ready for review July 26, 2026 23:08
@nattb8
nattb8 requested review from a team as code owners July 26, 2026 23:08
@github-actions

Copy link
Copy Markdown

Audience SDK — Build Size

Platform SDK Size Change
Android 0.39 / 20.00 MB +0.03 MB
Windows 0.17 / 20.00 MB +0.01 MB
iOS 8.58 / 20.00 MB +0.06 MB
macOS 1.00 / 20.00 MB +0.10 MB

SDK Size = build minus empty app. Change = vs baseline. Fails if any platform exceeds its absolute size limit.

@nattb8
nattb8 merged commit 1ce9b95 into main Jul 27, 2026
48 of 56 checks passed
@nattb8
nattb8 deleted the feat/sdk-708-remove-immutable-audience-delete-data branch July 27, 2026 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants