iOS App Monetization Strategy Analyzer
The review date covers the prompt content, not testing against specific AI models or versions.
Description
Map an iOS app's monetization flow from supplied code and an agreed free/premium policy, with evidence gaps and verification steps made explicit.
The Prompt
Task
Help me understand the monetization architecture in my iOS app. Analyze only the code and context I provide. Separate observed implementation, policy gaps, and things you cannot verify.
App Context
- Xcode/Swift versions: [Actual installed versions]
- iOS deployment target and test OS: [Actual versions]
- Purchase SDK and installed version: [StoreKit APIs, RevenueCat, or another SDK; include the relevant version/configuration]
- Free features: [Agreed product policy]
- Premium features: [Agreed product policy]
- Purchase model: [Subscription, non-consumable, or another model]
- Trial/offer rules: [Actual configured rules, none, or unknown]
- Pricing: [Relevant configured products and prices, or omit if not needed]
- Known issue or question: [What this review should help answer]
Evidence to Provide
Share a minimal, relevant set of files: feature entry points, access checks, purchase/restore handlers, and subscription or entitlement state management. Include paths and line numbers only when available.
Use synthetic or sandbox examples. Remove API keys, credentials, receipts, transaction identifiers, customer identifiers, personal data, and private URLs. Share a redacted configuration shape instead of account access or secret values. Do not upload an entire private codebase unless you have permission and have checked the tool's data settings.
Analysis
1. User Journey
Map the flows visible in the supplied code: onboarding, free use, paywall, purchase, restore, and access after purchase. Include trial, expiry, cancellation, or error paths only when supported by evidence. Label missing paths as unknown rather than assuming a standard subscription flow.
2. Feature Access
Compare each feature with the stated free/premium policy. Identify the access check, its data source, and the relevant file. A free feature without a paywall is not a defect. Call a missing check a gap only when the policy requires it and the provided implementation supports that conclusion.
3. Purchase and State Handling
Explain how purchase results, restored purchases, entitlement changes, and errors reach the UI, where this is visible. Distinguish local UI state from verified entitlement data. If only a feature entry point is supplied, do not claim that purchase verification or the full flow works.
4. Evidence Map
Provide a table:
| Feature/flow | Expected policy | Observed behavior | Evidence | Unknowns or next check |
|---|
Use real paths and line numbers from the input. Never invent locations. "Not visible in supplied files" does not mean "not implemented."
5. Diagrams and Recommendations
Create a small Mermaid diagram of the observed flow. Clearly label inferred or unknown connections. Prioritize discrepancies with the agreed policy and questions that block a reliable conclusion.
Suggest a focused change only when the evidence supports it. For SDK-specific code, verify the API against official documentation for the installed version; otherwise label it as pseudocode or an unverified proposal. Do not redesign pricing or add paywalls to free features without an explicit request.
6. Verification Plan
Suggest relevant local or sandbox checks for purchase success, cancellation, failure, restoration, and access changes. Include trial/expiry checks only if applicable. Separate checks actually run from checks still needed. Do not perform real purchases, change production configuration, or claim store approval.
Deliverable
Return a concise Markdown review with the evidence table, diagram, prioritized findings, and open questions. State the limits of the supplied evidence before calling any feature or purchase flow complete.
How to Use
How to Customize
Expected Outcome
Pro Tips
Illustrative Worked Example
This fictional input and suggested response illustrate how to use the prompt. They are not recorded model test results.
Input:
Fictional app policy: notes are free; PDF export requires premium access.
Trial rules: not supplied.
ExportAction.swift:
func onExportTapped() {
if access.hasPremium {
exportPDF()
} else {
showPaywall()
}
}
NotesAction.swift:
func onNewNoteTapped() {
createNote()
}
No implementation of access, purchase, or restore was supplied.Suggested response:
Observed: ExportAction.swift checks access.hasPremium before PDF export and shows a paywall otherwise. NotesAction.swift creates a note without a premium check, consistent with the stated free-feature policy.
Observed export flow:
flowchart TD
Tap[Tap PDF export] --> Check{access.hasPremium?}
Check -->|Yes| Export[Export PDF]
Check -->|No| Paywall[Show paywall]
Unknown: how access.hasPremium is populated or refreshed; purchase and restore handling; entitlement verification; trial rules. The snippets do not establish whether those parts are implemented.
Next checks: inspect the access-state source and purchase/restore handlers. In local or sandbox tests, verify that free users see the paywall, premium users can export, and notes remain free. Do not add a paywall to notes merely because no access check is present.