Technical Integration

The Discover Android SDK provides a comprehensive instrumentation framework for native Android applications, enabling the capture of:

  • User interaction events
  • UI component metadata and layout hierarchies
  • Screen transitions and lifecycle events
  • Screenshots with configurable masking and blur
  • Gesture and touch input data for session replay and analytics

The SDK is built on standard Android framework components and integrates seamlessly with existing application architectures.

Discover supports automatic instrumentation (Type 4), which leverages Android activity lifecycle callbacks to capture user events without requiring manual code changes at the Activity or Fragment level. This behavior is fully configuration-driven, allowing features to be enabled or disabled dynamically via configuration files without recompilation.

Prerequisites

Before integrating the Discover Android SDK, ensure that the following prerequisites are met:
  • Android Studio is installed and properly configured.
  • Gradle version 7.2 or higher is used for building the application.
  • The Android application provides access to a custom class extending the Application class for SDK initialization
  • The application meets the minimum Android SDK version compatibility as required by the Discover Android SDK
Note: The Discover SDK relies on application-level initialization and lifecycle tracking. Access to the Application class is mandatory for proper SDK functionality.