app_inject_config
Populate a scaffolded SwiftUI subscription app's AppConfig and StoreKit tokens, including paywall strategy, RevenueCat and Supabase keys, to wire up purchases.
Instructions
Fill in the scaffolded app's AppConfig + StoreKit tokens.
paywall_strategy: "hard_only" (hard paywall only) | "hard_and_offer" (default, hard paywall + a discounted offer paywall on dismiss). Credit fields fall back to defaults if omitted (15/10/10/30/60) — credit pack amounts must be kept in sync with the server-side ai-proxy PACK_MAP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| posthog_key | No | ||
| privacy_url | No | ||
| project_dir | Yes | ||
| ai_proxy_url | No | ||
| supabase_url | No | ||
| support_email | No | ||
| product_weekly | No | ||
| product_yearly | No | ||
| revenuecat_key | No | ||
| weekly_credits | No | ||
| yearly_credits | No | ||
| paywall_strategy | No | ||
| credit_pack_large | No | ||
| credit_pack_small | No | ||
| supabase_anon_key | No | ||
| credit_pack_medium | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||