Skip to content

Swift demo: hashed IDs, identify from URL, profile id/neighbors and async/await - #93

Merged
jrosendahl-opt merged 2 commits into
masterfrom
demo/swift-feature-demos
Nov 9, 2026
Merged

jrosendahl-opt merged 2 commits into
masterfrom
demo/swift-feature-demos

Conversation

@jrosendahl-opt

@jrosendahl-opt jrosendahl-opt commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Why

The usage guides document hashed identifiers, tryIdentifyFromURL, profile id/neighbors and the async/await API, but the Swift demo showed none of them: only plaintext identify and completion-handler targeting.

The Swift demo only showed plaintext identify and completion-handler
targeting. Add:
- Identify screen: an "Identify (hashed email)" button sending .hem, and
  a URL field plus "Identify from URL" button calling tryIdentifyFromURL
  with a sample newsletter link carrying an oeid.
- Prebid screen: targeting via async/await; the GAM screen keeps the
  completion handler, so both styles are shown.
- Both banner screens: profile() also passes an id and neighbors, built
  with .extendedIdentifier.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jrosendahl-opt
jrosendahl-opt merged commit 66e2f4a into master Nov 9, 2026
4 checks passed
@jrosendahl-opt
jrosendahl-opt deleted the demo/swift-feature-demos branch November 9, 2026 22:33
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.

2 participants