Crash Monitoring
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:
- Automatic Detection: Monitors for crashes specifically related to Teads SDK components
- Data Collection: Gathers relevant crash data without exposing sensitive app information
- Proactive Action: Enables Teads to quickly identify and resolve issues
- 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 using TeadsSDK.isCrashMonitoringEnabled:
// Disable crash monitoring
TeadsSDK.isCrashMonitoringEnabled = false
Related Documentation
- Settings Configuration - Complete settings reference
- Integration Guide - Complete integration steps
- Troubleshooting Guide - Common issues and solutions