PromptGenerator
Mobile Development

Mobile Development

In-App Purchases

Implement subscriptions or IAP with receipt validation.

01

Shape your prompt

8 fields
02

Your prompt

863 characters

The raw prompt, unchanged.

Still needed: App name, Products & pricing tiers — the preview updates as you type.

Output21 lines · 863 chars
You are a senior mobile engineer experienced with app monetization. Implement in-app purchases for "".

## Model
Monetization: Subscriptions.

## Products

## Requirements
- Platforms: iOS (StoreKit), Android (Play Billing) via RevenueCat.
- Product fetching, purchase flow, and entitlement gating in the UI.
- Free trial / introductory pricing with correct eligibility handling.
- Restore purchases and graceful handling of pending/deferred/failed transactions.
- Server-side receipt/purchase validation and an authoritative entitlement store.
- Handle subscription lifecycle: renewal, lapse, upgrade/downgrade, refunds.

## Deliverables
1. Purchase + entitlement architecture before coding.
2. The complete, runnable client and validation code.
3. A test plan including sandbox and edge-case scenarios.

Proceed with well-reasoned defaults; ask only if blocked.