> This page is for Applications Protection.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.humansecurity.com/llms.txt.

# About the HUMAN Mobile SDK for Android, iOS, and visionOS

> **Note**
>
> This guide is relevant for the current Mobile SDK. While we highly recommend using the latest version, if you are using a legacy integration, refer to the [iOS](/applications/ios-how-to-integrate-the-sdk-in-your-application-v3) or [Android](/applications/android-how-to-integrate-the-sdk-in-your-application-v3) documentation.

The HUMAN Security SDK continuously profiles and evaluates device behavior so that you can verify that requests made to your mobile APIs and services are legitimate. To achieve this, the SDK manages a set of secure HTTP headers that are added to all HTTP and HTTPS requests that are made by the mobile application to the origin server. The SDK regularly refreshes these headers as it profiles the end-user’s mobile device.

The SDK works together with other HUMAN products to provide a holistic and comprehensive security solution for your mobile applications. You can view mobile data directly within the HUMAN

Console

. Specifically, per product, the SDK achieves the following:

#### Sightline Cyberfraud Defense

* **Provide HTTP Headers:** Adds secure headers to your mobile app's URL requests.
* **Handle Blocked Requests:** Presents a challenge to the user when requests are blocked. This mobile challenge is unique from the web [HUMAN Challenge](/applications/create-a-human-challenge).
* **User Login Notification:** Notifies HUMAN's backend when a user logs into your app.
* **Outgoing Requests Notification:** Notifies HUMAN's backend on outgoing URL requests from your app.

#### Bot Defender

* **Provide HTTP Headers:** Adds secure headers to your mobile app's URL requests.
* **Handle Blocked Requests:** Presents a challenge to the user when requests are blocked. This mobile challenge is unique from the web [HUMAN Challenge](/applications/create-a-human-challenge).

#### Account Defender

* **User Login Notification:** Notifies HUMAN's backend when a user logs into your app.
* **Outgoing Requests Notification:** Notifies HUMAN's backend on outgoing URL requests from your app.

#### [Demo application](https://github.com/PerimeterX/px-mobile-sdk-demo-app)

Try out the SDK yourself with our [demo app](https://github.com/PerimeterX/px-mobile-sdk-demo-app)!

## Supported environments

#### v5.0

#### iOS

* **iOS:** 13 and higher
* **iPadOS:** 13 and higher
* **visionOS:** 1 and higher
* **Development:** Swift 6.0 and higher, Objective-C

#### Android

* **OS:** Android 6.0 (API level 23) and higher
* **Development:** Kotlin 1.6.0 and higher, Java

#### Other Frameworks

* **React Native**
* **Flutter**
* **Ionic**
* **gRPC**
* **Expo**

#### v4.0

#### iOS

* **iOS:** 11 and higher
* **iPadOS:** 13 and higher
* **visionOS:** 1 and higher
* **Development:** Swift 5.5 and higher, Objective-C

#### Android

* **OS:** Android 5.0 (API level 21) and higher
* **Development:** Kotlin 1.6.0 and higher, Java

#### Other Frameworks

* React Native
* Flutter
* Ionic
* gRPC
* Expo

## Toolchain

The SDK is built with the following toolchain:

#### v5.0

**`iOS`**

```swift title="iOS"
Swift 6.1.0
iOS 26.0
iPadOS 26.0
visionOS 26.0
Minimum deployments: iOS 13
```

**`Android`**

```groovy title="Android"
minSdkVersion 23
targetSdkVersion 36

jvmTarget = '1.8'

dependencies {
    implementation 'org.jetbrains.kotlin:kotlin-gradle-plugin:2.3.21'
    implementation 'org.jetbrains.kotlin:kotlin-stdlib:2.3.21'
    implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2'
    implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2'
}
```

#### v4.3 (iOS)

**`iOS`**

```swift title="iOS"
Swift 5.9.2
iOS 26.0
iPadOS 26.0
visionOS 26.0
Minimum deployments: iOS 12
```

#### v4.1 & v4.2

**`Android`**

```groovy title="Android"
minSdkVersion 21
targetSdkVersion 35

jvmTarget = '1.8'

dependencies {
    implementation 'org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0'
    implementation 'org.jetbrains.kotlin:kotlin-stdlib:2.1.0'
    implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.1'
    implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.1'
}
```

**`iOS`**

```swift title="iOS"
Swift 5.9.2
iOS 18.2
iPadOS 18.2
visionOS 2.2
Minimum deployments: iOS 12
```

## Software documentation

The software documentation provides detailed information on every class, function, and member in the SDK. Please choose the relevant SDK version:

> **Note**
>
> For Apple platforms:
>
> 1. Download the source code (zip file).
> 2. Unzip the file.
> 3. Open the `HUMAN.doccarchive` file with Xcode.

#### v5.x

| Android                                                                         | iOS / iPadOS / visionOS                                                          |
| ------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
| [5.0.0](https://mobile-docs.perimeterx.com/human-android-sdk/v5.0.0/index.html) | [5.0.0](https://github.com/PerimeterX/human-security-ios-sdk/releases/tag/5.0.0) |
| [5.0.1](https://mobile-docs.perimeterx.com/human-android-sdk/v5.0.1/index.html) |                                                                                  |
| [5.1.0](https://mobile-docs.perimeterx.com/human-android-sdk/v5.1.0/index.html) | [5.1.0](https://github.com/PerimeterX/human-security-ios-sdk/releases/tag/5.1.0) |
| [5.2.0](https://mobile-docs.perimeterx.com/human-android-sdk/v5.2.0/index.html) | [5.2.0](https://github.com/PerimeterX/human-security-ios-sdk/releases/tag/5.2.0) |
| [5.3.0](https://mobile-docs.perimeterx.com/human-android-sdk/v5.3.0/index.html) | [5.3.0](https://github.com/PerimeterX/human-security-ios-sdk/releases/tag/5.3.0) |
|                                                                                 | [5.3.1](https://github.com/PerimeterX/human-security-ios-sdk/releases/tag/5.3.1) |
| [5.3.1](https://mobile-docs.perimeterx.com/human-android-sdk/v5.3.1/index.html) | [5.3.1](https://github.com/PerimeterX/human-security-ios-sdk/releases/tag/5.3.1) |
| [5.3.2](https://mobile-docs.perimeterx.com/human-android-sdk/v5.3.2/index.html) | [5.3.2](https://github.com/PerimeterX/human-security-ios-sdk/releases/tag/5.3.2) |
| [5.3.3](https://mobile-docs.perimeterx.com/human-android-sdk/v5.3.3/index.html) | [5.3.3](https://github.com/PerimeterX/human-security-ios-sdk/releases/tag/5.3.3) |

#### v4.x

| Android                                                                           | iOS / iPadOS / visionOS                                                          |
| --------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
| [4.1.0](https://mobile-docs.perimeterx.com/human-android-sdk/v4.1.0/index.html)   | [4.1.0](https://github.com/PerimeterX/human-security-ios-sdk/releases/tag/4.1.0) |
| [4.1.1](https://mobile-docs.perimeterx.com/human-android-sdk/v4.1.1/index.html)   | [4.1.1](https://github.com/PerimeterX/human-security-ios-sdk/releases/tag/4.1.1) |
| [4.1.2](https://mobile-docs.perimeterx.com/human-android-sdk/v4.1.2/index.html)   | [4.1.2](https://github.com/PerimeterX/human-security-ios-sdk/releases/tag/4.1.2) |
| [4.1.3](https://mobile-docs.perimeterx.com/human-android-sdk/v4.1.3/index.html)   |                                                                                  |
| [4.1.4](https://mobile-docs.perimeterx.com/human-android-sdk/v4.1.4/index.html)   |                                                                                  |
| [4.1.5](https://mobile-docs.perimeterx.com/human-android-sdk/v4.1.5/index.html)   |                                                                                  |
| [4.1.6](https://mobile-docs.perimeterx.com/human-android-sdk/v4.1.6/index.html)   |                                                                                  |
| [4.1.7](https://mobile-docs.perimeterx.com/human-android-sdk/v4.1.7/index.html)   |                                                                                  |
| [4.2.0](https://mobile-docs.perimeterx.com/human-android-sdk/v4.2.0/index.html)   | [4.2.0](https://github.com/PerimeterX/human-security-ios-sdk/releases/tag/4.2.0) |
| [4.2.1](https://mobile-docs.perimeterx.com/human-android-sdk/v4.2.1/index.html)   | [4.2.1](https://github.com/PerimeterX/human-security-ios-sdk/releases/tag/4.2.1) |
| [4.2.2](https://mobile-docs.perimeterx.com/human-android-sdk/v4.2.2/index.html)   | [4.3.0](https://github.com/PerimeterX/human-security-ios-sdk/releases/tag/4.3.0) |
| [4.2.3](https://mobile-docs.perimeterx.com/human-android-sdk/v4.2.3/index.html)   | [4.3.1](https://github.com/PerimeterX/human-security-ios-sdk/releases/tag/4.3.1) |
| [4.2.4](https://mobile-docs.perimeterx.com/human-android-sdk/v4.2.4/index.html)   | [4.3.2](https://github.com/PerimeterX/human-security-ios-sdk/releases/tag/4.3.2) |
| [4.2.5](https://mobile-docs.perimeterx.com/human-android-sdk/v4.2.5/index.html)   | [4.3.3](https://github.com/PerimeterX/human-security-ios-sdk/releases/tag/4.3.3) |
| [4.2.6](https://mobile-docs.perimeterx.com/human-android-sdk/v4.2.6/index.html)   | [4.3.4](https://github.com/PerimeterX/human-security-ios-sdk/releases/tag/4.3.4) |
| [4.2.7](https://mobile-docs.perimeterx.com/human-android-sdk/v4.2.7/index.html)   | [4.3.5](https://github.com/PerimeterX/human-security-ios-sdk/releases/tag/4.3.5) |
| [4.2.8](https://mobile-docs.perimeterx.com/human-android-sdk/v4.2.8/index.html)   |                                                                                  |
| [4.2.9](https://mobile-docs.perimeterx.com/human-android-sdk/v4.2.9/index.html)   |                                                                                  |
| [4.2.10](https://mobile-docs.perimeterx.com/human-android-sdk/v4.2.10/index.html) |                                                                                  |
| [4.2.11](https://mobile-docs.perimeterx.com/human-android-sdk/v4.2.11/index.html) |                                                                                  |
| [4.2.12](https://mobile-docs.perimeterx.com/human-android-sdk/v4.2.12/index.html) |                                                                                  |
| [4.2.13](https://mobile-docs.perimeterx.com/human-android-sdk/v4.2.13/index.html) |                                                                                  |
| [4.2.14](https://mobile-docs.perimeterx.com/human-android-sdk/v4.2.14/index.html) |                                                                                  |
| [4.2.15](https://mobile-docs.perimeterx.com/human-android-sdk/v4.2.15/index.html) |                                                                                  |

## Testing practices

To ensure the SDK's performance, quality, and security, HUMAN performs a variety of tests prior to each release.

### General functionality tests

These test the SDK's general functionality, and include:

* Collector testing, which ensures proper data collection and performance
* Header testing, which ensures the SDK accurately and securely adds headers to your application's URLs requests
* Challenge handling testing, which ensures the SDK accurately presents the Challenge on blocked requests

### User journey and customer edge case tests

These test the SDK's performance based on various user journeys and edge cases.

* Major flow testing, which include user journeys in Bot Defender, Account Defender, and Hybrid App
* Edge case testing, which include previous known issues that have been reported by customers

### Technical tests

These are generic technical tests to ensure performance.

* Memory and performance tests
* Unit tests
* Automated run time tests
* Doctor app