> 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.

# Changes from v4

> **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.

## Bot Defender

* **Function renaming:**
  * `canHandleResponse` renamed to `canHandleBlockResponse`.
  * `handleResponse` renamed to `handleBlockResponse`.
  * In Android, added a new suspend function called `handleBlockResponse`.

## Environment

#### Android

* **SDK Build Specifications:**
  * The SDK is now built for **API 36** and **Kotlin 2.3.21**.

* **New Dependencies:**

  * The SDK has a new list of dependencies (see below). When fetching the SDK from our Artifactory, these dependencies are automatically included.

> **Note**
>
> If you need to change the version of some dependencies, you may integrate the SDK manually and select the exact versions that work for your app.

```groovy
implementation 'androidx.core:core-ktx:1.18.0' // any version (select 1.10.1 if your app has 'targetSdkVersion 33')
implementation 'androidx.lifecycle:lifecycle-process:2.10.0' // min v2.6.0 (select 2.6.2 if your app has 'targetSdkVersion 33')
implementation 'androidx.datastore:datastore-preferences:1.2.1' // any version (select 1.0.0 if your app targets API 33)
implementation 'com.google.android.material:material:1.13.0' // min v1.6.0 (select 1.9.0 if your app has 'targetSdkVersion 33')
implementation 'com.fasterxml.uuid:java-uuid-generator:5.2.0' // min v3.0.0
implementation 'io.ktor:ktor-client-okhttp:3.4.3' // min v3.0.0
```

```kotlin
implementation("androidx.core:core-ktx:1.18.0") // any version (select 1.10.1 if your app has 'targetSdkVersion 33')
implementation("androidx.lifecycle:lifecycle-process:2.10.0") // min v2.6.0 (select 2.6.2 if your app has 'targetSdkVersion 33')
implementation("androidx.datastore:datastore-preferences:1.2.1") // any version (select 1.0.0 if your app targets API 33)
implementation("com.google.android.material:material:1.13.0") // min v1.6.0 (select 1.9.0 if your app has 'targetSdkVersion 33')
implementation("com.fasterxml.uuid:java-uuid-generator:5.2.0") // min v3.0.0
implementation("io.ktor:ktor-client-okhttp:3.4.3") // min v3.0.0
```

#### iOS

* **SDK Build Specifications:**
  * The SDK is now built for **iOS/iPadOS/visionOS 26** and **Swift 6.0**.
  * The SDK's minimum deployment target is **iOS 13**.