How qonversion/qonversion-ios-sdk works
a. Purchase Flow:
• App → SDK → StoreKit Service → Apple StoreKit
• ↓
• App ← SDK ← API Client ← Qonversion Backend
b. Analytics Flow:
• SDK → API Client → Qonversion Backend
• ↘
• Analytics Platforms
Key Architectural Elements
a. Mapper Layer (Show as intermediate processors):
• Error Mapper
• User Info Mapper
• Remote Config Mapper
• Automations Mapper
b. Core Utilities (Show as shared components):
• Request Builder
• Request Serializer
• Rate Limiter
Implementation Details
• Synchronous vs Asynchronous calls
• Cached vs Real-time data flows
• Primary vs Fallback paths
• Public vs Internal interfaces
Component Relationships
Clear boundaries between:
• Public interfaces (exposed to clients)
• Internal implementation
• Third-party integrations
• Data persistence layer
[Client Application Layer]
• ↓
[Public SDK Interface Layer]
• ↓
[Core Services Layer]
• ↓
[Storage Layer]
• ↓
[External Services Layer]