How gleapsdk/gleap-ios-sdk works
Main Components
a. Core SDK Layer:
• GleapCore as the central component
• Initialization and configuration flow
• Token-based authentication system
b. Feature Modules (Group these logically):
• Session Management (GleapSession, GleapSessionHelper)
• UI Components (GleapFrameManager, GleapUIHelper, GleapUIOverlay)
• Data Collection (GleapScreenCapture, GleapHttpTrafficRecorder, GleapConsoleLog)
• Feedback System (GleapFeedback, GleapFeedbackButton)
• AI Tools (GleapAiTool, GleapAiToolParameter)
c. Helper Systems:
• Event Management (GleapEventLogHelper)
• Configuration Management (GleapConfigHelper)
• Data Management (GleapCustomDataHelper, GleapExternalDataHelper)
┌─────────────────────────────────────────────┐
• Host iOS App │
• ┘
• ↕
┌─────────────────────────────────────────────┐
• Gleap SDK Core │
• ┬──────────────┬───────────────┤
• UI Layer │ Data Layer │ Network Layer │
• ┴──────────────┴───────────────┘
• ↕
┌─────────────────────────────────────────────┐
• Gleap Backend │
• ┘
Component Relationships
• Initialization flow
• Data flow for bug reports
• User interaction handling
• Network communications
Detailed Component Breakdown
• Feature modules and their relationships
• Helper utilities and their purposes
• Data flow between components
Implementation Notes
• Version compatibility information
• Swift and Objective-C interoperability
This SDK is primarily focused on mobile integration, so emphasize the mobile-specific components and how they interact with the host application's lifecycle.