Skip to content

Commit 2938077

Browse files
Feat: Bump Up Android SDK to v11.1.1 (#208)
* chore: Update SmileID Android SDK to v11.1.1 and add attestation dependency * fix: Update prepUpload call to include headers in SmileIDPlugin * chore: Update Android Attestation SDK version and increment Flutter SDK version * chore: Refactor prepUpload call formatting in SmileIDPlugin and clean up build.gradle.kts
1 parent 3278f48 commit 2938077

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release Notes
22

3+
## 11.2.1 - September 10, 2025
4+
5+
### Added
6+
* Bump Android SDK to v11.1.1 (https://github.com/smileidentity/android/releases/tag/v11.1.1)
7+
38
## 11.2.0 - August 25, 2025
49

510
### Added

android/build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@ android {
9292
}
9393

9494
dependencies {
95-
implementation("com.smileidentity:android-sdk:11.1.0")
95+
implementation("com.smileidentity:android-sdk:11.1.1") {
96+
exclude(group = "SmileID", module = "attestation")
97+
}
98+
implementation("com.smileidentity:android-attestation:11.1.1")
9699
implementation("androidx.core:core-ktx:1.16.0")
97100
implementation(platform("androidx.compose:compose-bom:2025.07.00"))
98101
implementation("androidx.compose.ui:ui")

android/src/main/kotlin/com/smileidentity/flutter/SmileIDPlugin.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,12 @@ class SmileIDPlugin :
201201
request: FlutterPrepUploadRequest,
202202
callback: (Result<FlutterPrepUploadResponse>) -> Unit,
203203
) = launch(
204-
work = { SmileID.api.prepUpload(request.toRequest()).toResponse() },
204+
work = {
205+
SmileID.api.prepUpload(
206+
headers = mapOf(),
207+
request = request.toRequest(),
208+
).toResponse()
209+
},
205210
callback = callback,
206211
)
207212

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: smile_id
22
description: The Official Smile ID Flutter SDK
3-
version: 11.2.0
3+
version: 11.2.1
44
homepage: "https://usesmileid.com"
55

66
environment:

0 commit comments

Comments
 (0)