Run the Snap4ID SDK's example partner app on an iOS simulator or Android emulator against the local fake Snap4ID page with the fake store (no account, no purchases), then point to onboarding for going live. Use when asked to try, demo or test Snap4ID locally, or before a partner id exists.
Ships in snap4id. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The example app runs on the user's machine as a development build (simulator / emulator; not Expo Go, not a store download). Needs git, Node 22+, Xcode with a simulator or Android Studio with an emulator.
Clone and start the fake page (keep it running):
git clone https://github.com/lradomski10m/snap4id-sdk.git && cd snap4id-sdk && npm ci && npm run fake-page.
Ready at http://127.0.0.1:8090.
In a second terminal, cd examples/partner-app and run with these build settings (Metro inlines them, so they must
be set on the command that starts Metro):
APP_VARIANT=development (dev client, local HTTP allowed)EXPO_PUBLIC_SNAP4ID_ORIGIN=http://127.0.0.1:8090 (iOS simulator) or http://10.0.2.2:8090 (Android emulator)EXPO_PUBLIC_SNAP4ID_PARTNER_ID=test-verifier (the page checks purchases) or test-backend (the partner's
backend does: also start examples/partner-backend and set EXPO_PUBLIC_SNAP4ID_PURCHASES=app,
EXPO_PUBLIC_SNAP4ID_TRUST=backend, EXPO_PUBLIC_PARTNER_BACKEND_URL=http://127.0.0.1:8012; see its README)EXPO_PUBLIC_SNAP4ID_TEST_STORE=1 (the fake store's "Test purchase" alert)then npx expo run:ios or npx expo run:android (first build: several minutes). A phone on the same network:
FAKE_SNAP4ID_HOST=0.0.0.0 npm run fake-page, origin = the computer's LAN address, build with --device.
Walk the flow: Get your photo → Create job → Process → Request purchase → Buy → Complete →
Back to app (scroll down). The order appears in My photos. Kill the app after Buy and relaunch: the
photo still arrives. Automated: npm run --workspace examples/partner-app e2e:fake-page:ios (Maestro).
To run in the user's own app instead, use the skill snap4id-integrate-embed (its dev-only fake-store file).
Going live: the user needs a partner id from Snap4ID onboarding (write to [email protected]; docs page
/go-live/onboarding/). They send bundle id / package name, product ids (one consumable per store), who checks
purchases and, for that choice, the Play licensing public key or their Ed25519 public key; they get back the
partner id (and a key id when they check). Then remove the fake store, leave origin unset (https://snap4.id)
and follow /go-live/checklist/.
Never put private keys, store secrets or a fake-store build into a release.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
4 skills in this plugin
/snap4id-debug-stuck-purchaseDiagnose a Snap4ID embed purchase that does not unlock or a photo that never arrives - error codes, binding, environment, trust mode, recovery. Use when a user paid but has no photo, or onError reports unlock problems./snap4id-integrate-embedAdd the Snap4ID photo flow to a React Native / Expo app with @snap4id-sdk/app-embed (client, flow screen, resume, plugins, delivery). Use when asked to integrate, embed or add Snap4ID ID photos to an app./snap4id-verify-receipts-backendImplement Snap4ID backend trust - a Node endpoint that verifies App Store / Play receipts with @snap4id-sdk/purchase-verifier and unlocks the job with @snap4id-sdk/partner-api, plus the job.paid webhook. Use when the partner verifies purchases on its own backend./snap4id:snap4id-try-examplefrom snap4id
npx claudepluginhub lradomski10m/snap4id-sdk --plugin snap4id