By lradomski10m
Snap4ID partner SDK: coding-agent skills for embedding Snap4ID ID photos in a mobile app
npx claudepluginhub lradomski10m/snap4id-sdkSkills to try the Snap4ID example locally, integrate the embed, verify store receipts in your backend and debug a stuck purchase
Embed Snap4ID (ID and passport photos: capture, processing, delivery) in your mobile app, sell the photo through the App Store or Google Play, and work with the Snap4ID Partner API from your backend.
npm ci && npm run fake-page, then the steps in
examples/partner-app/README.md.https://snap4.id (quickstart).Documentation: the partner docs site, https://sdk.snap4.id (built from docs/), with llms.txt / llms-full.txt and an
agent context for coding agents.
| Package | For | |
|---|---|---|
@snap4id-sdk/app-embed | React Native / Expo apps | The embed component and Expo config plugin: WebView, bridge, store purchases, file delivery, recovery |
@snap4id-sdk/embed-protocol | Any host | The bridge contract: message types, JSON Schemas, the host shim |
@snap4id-sdk/partner-api | Node backends | Signed Partner API client and job.paid webhook verification |
@snap4id-sdk/purchase-verifier | Node backends | App Store / Google Play receipt verification and verifyAndUnlock |
All packages share one version.
examples/partner-app: a copyable Expo app with <Snap4IdFlow>.examples/partner-backend: a copyable partner backend (node:http): purchases,
the job.paid webhook, keeping the files.examples/purchase-verifier-self-host: run the purchase verifier on your
own host.tools/fake-snap4id-page: a fake Snap4ID page on your machine, for testing your app and
backend without a Snap4ID account (the bridge, a fake verifier and the Partner API; accepts the fake store's
receipts). npm ci && npm run fake-page, then point a development build at http://127.0.0.1:8090 with partner
test-verifier (or test-backend for your own backend). See its README and the docs' "Fake store" page.
contracts/: the Partner API OpenAPI document, the embed contract and the signing test vectors.
Node 22 (the docs site needs Node 22.23.4 or later).
npm ci
npm run build
npm test
npm run docs:build
AGENTS.md maps this repository for coding agents (each package and example has its own), with skills in
.claude/skills/. For your own project's agent, install the agent context (rules and
skills): steps per agent in the docs. Claude Code installs the
skills as a plugin from this repository's marketplace (.claude-plugin/marketplace.json):
claude plugin marketplace add lradomski10m/snap4id-sdk
claude plugin install snap4id@snap4id-sdk
This repository is generated: see CONTRIBUTING.md.
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.