Skip to main content

iOS - Types

Each module type serves a distinct purpose within the app ecosystem:

  • UI Module
    UI-focused module used to present custom views and view controllers within the Q2 Mobile Application.

  • Method Module
    Ideal for background-threaded operations such as API requests, memory-intensive computations, or any logic that doesn't require direct user interface control.

  • Continuity Lifecycle Module
    Idea to use when creating a module that handles deeplinks originated via custom URL or universal link.

  • Lifecycle Module
    Hooks into key iOS lifecycle events and user activity within the Q2 Mobile Application, enabling custom logic at critical runtime stages.

  • Push Lifecycle Module
    Handles incoming push notifications—whether remote or local—and provides tools to customize notification behavior and content handling.

  • Q2 Lifecycle Module
    Allows module to respond to Q2-specific lifecycle events. Implementing this module provides callbacks for various authentication and navigation states including login, logout, and landing page navigation.g.