Skip to content

Latest commit

 

History

History

README.md

InAppKit Documentation

Welcome to the InAppKit documentation! Follow this learning path for the best experience.

🚀 Learning Path

1. Getting Started (10 minutes)

Learn core concepts and build your first premium feature

  • Understanding Products, Features, and Paywalls
  • Product API Guidelines
  • Step-by-step tutorial
  • Common patterns

2. Monetization Patterns (15 minutes)

Choose the right strategy for your app

  • Freemium vs Premium vs Subscription
  • Pattern-specific examples
  • Decision framework
  • Platform-specific recommendations

3. Customization Guide (20 minutes)

Make InAppKit match your app's design

  • Marketing-enhanced products
  • Custom paywalls and UI
  • Advanced configuration
  • Testing and debugging

4. Localization Guide (5 minutes)

Internationalize your app with built-in localization support

  • Complete localization keys reference
  • Fallback safety for all text
  • Multi-language setup examples
  • Best practices for global apps

5. API Reference (Reference)

Complete technical documentation

  • All Product functions
  • Configuration options
  • Type references
  • Troubleshooting guide

📋 Quick Reference

Essential APIs

// Basic setup
ContentView()
    .withPurchases("com.yourapp.pro")

// Feature gating
Text("Premium Content")
    .requiresPurchase()

// Check access
InAppKit.shared.hasAccess(to: Feature.cloudSync)

Product Creation Patterns

// No features
Product("com.app.basic")

// With features
Product("com.app.pro", features: [Feature.sync, Feature.export])

// All features
Product("com.app.premium", features: Feature.allCases)

🎯 By Use Case

🤝 Community & Support


Ready to start?Begin with Getting Started →