Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
android-gradle-plugin = "8.13.2"
smile-android-sdk = "11.1.5"
smile-android-sdk = "11.1.6"
androidx-activity = "1.11.0"
androidx-core = "1.17.0"
kotlin = "2.3.0"
Expand Down
2 changes: 0 additions & 2 deletions sample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
<!-- Optional for partners: for fraud prevention purposes -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

<uses-sdk tools:overrideLibrary="com.google.android.gms.common"/>

<application
android:name=".SmileIDApplication"
android:icon="@mipmap/ic_launcher"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ import com.smileidentity.compose.SmartSelfieEnrollmentEnhanced
import com.smileidentity.models.ConsentInformation
import com.smileidentity.models.IdInfo
import com.smileidentity.models.JobType
import com.smileidentity.models.SmileSensitivity
import com.smileidentity.results.SmileIDResult
import com.smileidentity.sample.BottomNavigationScreen
import com.smileidentity.sample.ProductScreen
Expand Down Expand Up @@ -184,6 +185,7 @@ fun MainScreen(
jobId = jobId,
allowAgentMode = true,
showInstructions = true,
smileSensitivity = SmileSensitivity.NORMAL,
) { result ->
viewModel.onSmartSelfieEnrollmentResult(userId, jobId, result)
navController.popBackStack()
Expand Down Expand Up @@ -211,6 +213,7 @@ fun MainScreen(
userId = userId,
jobId = jobId,
allowAgentMode = true,
smileSensitivity = SmileSensitivity.NORMAL,
) { result ->
viewModel.onSmartSelfieAuthenticationResult(userId, jobId, result)
navController.popBackStack()
Expand Down Expand Up @@ -327,6 +330,7 @@ fun MainScreen(
captureBothSides = it.arguments?.getString("captureBothSides").toBoolean(),
showInstructions = true,
allowGalleryUpload = true,
smileSensitivity = SmileSensitivity.NORMAL,
) { result ->
viewModel.onDocumentVerificationResult(userId, jobId, result)
if (result is SmileIDResult.Success) {
Expand Down