Skip to content

Onboarding and launch checklist

Documents @snap4id-sdk/app-embed 1.0.0 · @snap4id-sdk/embed-protocol 1.0.0 · @snap4id-sdk/partner-api 1.0.0 · protocol 1.0

How to start, what you send and what you get back: get your partner id.

# You Snap4ID
1 Sign the partner agreement; say which documents and locales you need creates your partner id and partner configuration (locale, document, default theme, done screen)
2 Choose who checks purchases records it in your configuration
3 Create one consumable product per price in each store
4 Snap4ID checks: send your store details. You check: send your Ed25519 public key and product ids configures them; returns a key id (backend)
5 Optional: a webhook URL for job.paid enables delivery to it
6 Ask for a sandbox window for testing opens it until the date you agree
# Item Why
7 Camera, photo-library and add-to-photos usage texts (in Polish for a Polish app). React Native: config plugin options cameraPermission, photosPermission, savePhotosPermission; Android CAMERA permission the capture and Save steps
8 In-app purchase capability; each store’s product id given to Snap4ID at onboarding (the app configures none; your own store code implements getPrice) the page names the product and shows its store’s localized price (e.g. 19,99 zł)
9 No development networking in release builds (plain HTTP, WebView remote debugging) release builds load only https://snap4.id
10 No fake store in production code (@snap4id-sdk/app-embed/testing, platform: 'test') fake receipts are refused by production anyway
# Item Why
11 One host per app process (per signed-in user); recovery at every app start (client.start() + <Snap4IdResume>) a paid photo survives a kill
12 The flow full screen; title from the page’s step titles, close on close the page has no chrome of its own; Android back goes to the page first
13 Analytics consent from your user’s real choice, updated when it changes analytics run only on statistics: true
14 No iframes of your own around the page the origin check sees the main frame only
15 Purchases finished only after the unlock; RevenueCat and similar in observer mode a purchase finished early is lost on a kill
16 Who checks purchases: the app matches your configuration else trust_mode_mismatch
17 File delivery idempotent by jobId; files copied (receiving the files) delivered at least once; links expire after 30 days
18 A refund process for every duplicate_purchase / already_paid the job was already paid with another transaction
19 Backend: key in your secret manager; webhook verified on the raw body, deduped on event_id see webhooks
20 Bridge logs out of persistent storage in release builds they are redacted, but still per-user data
  • App Review buys with sandbox receipts against production: keep a sandbox window open until shortly after the expected approval, then let it expire.
  • Your terms and privacy policy cover Snap4ID: privacy and consent.