feat: add iOS support and harden receipt scanning

This commit is contained in:
Timo
2026-08-20 23:48:26 +02:00
parent f5e06c32b0
commit cf1b799e1b
107 changed files with 11755 additions and 122 deletions

View File

@@ -63,6 +63,22 @@ STRIPE_LIFETIME_PRICE_ID=price_...
GOOGLE_CLIENT_ID=your_client_id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=your_client_secret
# ==============================================
# Sign in with Apple / Apple In-App Purchases (iOS app — optional)
# ==============================================
# Sign in with Apple (POST /api/auth/apple) needs no secret here — the iOS
# app's bundle identifier is enough, and it already defaults correctly (see
# appleSignIn.bundleId in src/lib/auth/config.ts); only set this if the
# bundle ID ever changes.
# APPLE_APP_BUNDLE_ID=app.scan-receipts.ios
#
# App Store Server Notifications (POST /api/webhooks/apple) additionally
# need the app's numeric App Store ID (App Store Connect → App Information),
# but only for verifying PRODUCTION notifications — Sandbox notifications
# (everything during development/TestFlight) verify without it. Leave unset
# until the app has a real App Store Connect listing.
# APPLE_APP_APPLE_ID=1234567890
# ==============================================
# Authentication — SMTP for confirmation links
# ==============================================