How to upgrade from v4
Changes in the SDK’s API
This article covers the major changes in the SDK’s API.
Bot Defender
- Function renaming:
canHandleResponsehas been renamed tocanHandleBlockResponse.handleResponsehas been renamed tohandleBlockResponse.- In Android, a new suspend function called
handleBlockResponsehas been added.
Environment
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.
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.
-