--- title: "Overview of the SDK" slug: "ths-sdk-ig-overview-of-the-sdk-1-0-0" updated: 2026-04-13T09:08:49Z published: 2026-04-13T09:08:49Z canonical: "docs.onespan.com/ths-sdk-ig-overview-of-the-sdk-1-0-0" excludeFromSearch: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # Overview of the SDK The Threat Signal SDK protects apps against clipboard-based credential theft and suspicious app background-to-foreground switching patterns that may indicate fraud or malicious activity. The SDK provides non-blocking threat detection capabilities that enable financial services and security-sensitive apps to monitor and respond to security threats without interfering with regular user interaction or legitimate app functionality. ## Primary Security Capabilities The SDK provides the following primary security capabilities: - [Clipboard Analysis](/mobile/docs/ths-sdk-ig-overview-of-the-sdk-1-0-0#clipboard-analysis) - [App Switch Analysis](/mobile/docs/ths-sdk-ig-overview-of-the-sdk-1-0-0#app-switch-analysis) ### Clipboard Analysis With the Clipboard Analysis feature, the SDK monitors paste operations across the app to identify when users accidentally or maliciously paste sensitive financial data into text input fields. The SDK detects and reports threats but does not modify or block pasted content. The user retains control of input. Security teams receive actionable threat signals without degrading user experience. This allows apps to log threats, display warnings, or trigger adaptive authentication flows while preserving regular operation. The default SDK patterns cover the needs of financial services (IBAN, SWIFT, credit cards, one-time password etc.). In addition, custom patterns can be provided to meet your needs. #### Operation Modes To support different app architectures, the SDK operates in two modes: Global Interceptor for app-wide monitoring, and Per-Field Detection for targeted field-based monitoring. - Global Interceptor On iOS, a single interceptor is installed that monitors all paste operations across the `UITextField` and `UITextView` classes and their sub-classes throughout the app lifecycle. On Android, a listener is instantiated that monitors all copy operations throughout the app lifecycle by continuously monitoring the clipboard state. - Per-Field Detection This mode is suitable for apps where fine-grained control is required. On iOS, `PasteDetectingTextField` and `PasteDetectingTextView` are used as drop-in replacements for standard `UIKit` text components. With this approach, paste operations for sensitive fields (e.g., password reset, account transfer) can be monitored independently. On Android, `pasteDetection` and `copyDetection` modifiers are used on Jetpack Compose `TextFields` and `Texts`. With this approach copy and paste operations for sensitive fields can be monitored independently. ### App Switch Analysis With the App Switch Analysis feature, the SDK identifies suspicious patterns of app background-to-foreground switches. The SDK quantifies these patterns as app switches (consecutive background-to-foreground cycles) and triggers alerts when the count exceeds configurable thresholds within a defined time window. The app switch thresholds are configurable, for example: - 2 switches in 10 minutes - 5 switches in 15 minutes ## Supported Platforms The Threat Signal SDK can be used on a variety of devices and supports the following platforms: Android devices: - Minimum Android 7 (API level 24) - Target Android 16 (API level 36) iOS devices: - iOS 16 or later - Swift 5 or later - Xcode 16 or later