Skip to main content

Crash Monitoring

warning

Legacy Limitation: Crash monitoring configuration is currently only available when using legacy inRead or inFeed native placements or Mediation settings. For other placement types, crash monitoring is enabled by default and cannot be configured. See Settings Configuration for more details.

Overview

App stability is one of the biggest challenges for app developers. While tools like Crashlytics help monitor app-level failures, the Teads SDK includes its own crash monitoring system to ensure the highest quality of our advertising components.

Why Teads Crash Monitoring?

  • SDK-Specific Monitoring: Catches crashes that originate from the Teads SDK, not your app
  • Non-Intrusive: Works alongside third-party crash handlers like Crashlytics
  • Proactive Resolution: Allows Teads to quickly identify and fix issues
  • Improved Stability: Helps maintain optimal ad performance
info

Important: The Teads SDK integrates a crash handling solution that:

  • Catches crashes that come from our SDK, not from your app
  • Does not disturb third-party crash handlers such as Crashlytics
  • Operates independently of your existing crash monitoring setup

How It Works

The Teads crash monitoring system:

  1. Automatic Detection: Monitors for crashes specifically related to Teads SDK components
  2. Data Collection: Gathers relevant crash data without exposing sensitive app information
  3. Proactive Action: Enables Teads to quickly identify and resolve issues
  4. Non-Interference: Works alongside your existing crash monitoring tools

Prerequisites

To ensure the crash handler is ready to catch crashes, you need to initialize the Teads handler in AppDelegate:

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
Teads.configure()
// ...
}

Configuration

Default Behavior

Crash monitoring is enabled by default in the Teads SDK. No additional configuration is required.

Disable Crash Monitoring

You can disable crash monitoring by the Teads inApp SDK by calling disableCrashMonitoring:

let teadsAdPlacementSettings = TeadsAdPlacementSettings { settings in
settings.disableCrashMonitoring()
}